示例#1
0
)


process.ProductionFilterSequence = cms.Sequence(process.generator)

# Path and EndPath definitions
process.generation_step = cms.Path(process.pgen)
process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)

# Schedule definition
process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.endjob_step,process.RAWSIMoutput_step)
# filter all path with the production filter sequence
for path in process.paths:
	getattr(process,path)._seq = process.ProductionFilterSequence * getattr(process,path)._seq 

# customisation of the process.

# Automatic addition of the customisation function from TauAnalysis.EmbeddingProducer.customisers
from TauAnalysis.EmbeddingProducer.customisers import customiseGeneratorVertexFromInput,customiseGenerator 

#call to customisation function customiseGeneratorVertexFromInput imported from TauAnalysis.EmbeddingProducer.customisers
process = customiseGeneratorVertexFromInput(process)

#call to customisation function customiseGenerator imported from TauAnalysis.EmbeddingProducer.customisers
process = customiseGenerator(process)

# End of customisation functions

示例#2
0
# Path and EndPath definitions
process.generation_step = cms.Path(process.pgen)
process.simulation_step = cms.Path(process.psim)
process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)

# Schedule definition
process.schedule = cms.Schedule(process.generation_step,
                                process.genfiltersummary_step,
                                process.simulation_step, process.endjob_step,
                                process.RAWSIMoutput_step)
# filter all path with the production filter sequence
for path in process.paths:
    getattr(process, path)._seq = process.ProductionFilterSequence * getattr(
        process, path)._seq

# customisation of the process.

# Automatic addition of the customisation function from TauAnalysis.EmbeddingProducer.customisers
from TauAnalysis.EmbeddingProducer.customisers import customiseGeneratorVertexFromInput, customiseGenerator

#call to customisation function customiseGeneratorVertexFromInput imported from TauAnalysis.EmbeddingProducer.customisers
process = customiseGeneratorVertexFromInput(process)

#call to customisation function customiseGenerator imported from TauAnalysis.EmbeddingProducer.customisers
#process = customiseGenerator(process)

# End of customisation functions