# Path and EndPath definitions
process.generation_step = cms.Path(process.pgen)
process.simulation_step = cms.Path(process.psim)
process.digitisation_step = cms.Path(process.pdigi_valid)
process.L1simulation_step = cms.Path(process.SimL1Emulator)
process.digi2raw_step = cms.Path(process.DigiToRaw)
process.raw2digi_step = cms.Path(process.RawToDigi)
process.l1extra_step = cms.Path(process.L1Extra)
process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)

###################
from SLHCUpgradeSimulations.Configuration.combinedCustoms import cust_2023Muon
#call to customisation function cust_2023Muon imported from SLHCUpgradeSimulations.Configuration.combinedCustoms
process = cust_2023Muon(process)
#### fix
process.raw2digi_step.replace(process.muonDTDigis,process.hcalDigis*process.muonCSCDigis*process.muonDTDigis) 


####
##################
# Schedule definition
process.schedule = cms.Schedule(
	process.generation_step,
	process.genfiltersummary_step,
	process.simulation_step,
	process.digitisation_step,
	process.L1simulation_step,
	process.digi2raw_step,
	process.raw2digi_step,
예제 #2
0
process.out_step = cms.EndPath(process.output)

## Schedule definition
process.schedule = cms.Schedule(process.L1simulation_step, process.endjob_step,
                                process.out_step)

## customization
if scenario is 1:
    from SLHCUpgradeSimulations.Configuration.combinedCustoms import cust_2019
    process = cust_2019(process)
elif scenario is 2:
    from SLHCUpgradeSimulations.Configuration.combinedCustoms import cust_2019WithGem
    process = cust_2019WithGem(process)
elif scenario is 3:
    from SLHCUpgradeSimulations.Configuration.combinedCustoms import cust_2023Muon
    process = cust_2023Muon(process)

## some extra L1 customs
process.l1extraParticles.centralBxOnly = cms.bool(True)
process.l1extraParticles.produceMuonParticles = cms.bool(True)
process.l1extraParticles.produceCaloParticles = cms.bool(False)
process.l1extraParticles.ignoreHtMiss = cms.bool(False)

## messages
print
print 'Input files:'
print '----------------------------------------'
print process.source.fileNames
print
print 'Output file:'
print '----------------------------------------'