4 from SLHCUpgradeSimulations.Configuration.muonCustomsPreMixing
import customise_csc_PostLS1,customise_csc_hlt
13 if hasattr(process,
'DigiToRaw'):
15 if hasattr(process,
'RawToDigi'):
17 if hasattr(process,
'reconstruction'):
19 if hasattr(process,
'digitisation_step'):
21 if hasattr(process,
'HLTSchedule'):
23 if hasattr(process,
'L1simulation_step'):
25 if hasattr(process,
'dqmoffline_step'):
27 if hasattr(process,
'dqmHarvesting'):
29 if hasattr(process,
'validation_step'):
38 alist=[
'RAWSIM',
'RAWDEBUG',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'GENRAW',
'RAWSIMHLT',
'FEVT',
'PREMIX',
'PREMIXRAW']
41 if hasattr(process,b):
42 getattr(process,b).outputCommands.append(
'keep *_simMuonCSCDigis_*_*')
43 getattr(process,b).outputCommands.append(
'keep *_simMuonRPCDigis_*_*')
44 getattr(process,b).outputCommands.append(
'keep *_mixData_MuonCSCComparatorDigisDM_*')
45 getattr(process,b).outputCommands.append(
'keep *_mixData_MuonCSCStripDigisDM_*')
46 getattr(process,b).outputCommands.append(
'keep *_mixData_MuonCSCWireDigisDM_*')
47 getattr(process,b).outputCommands.append(
'keep *_simHcalUnsuppressedDigis_*_*')
65 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers'):
66 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'ho'):
67 process.mix.digitizers.hcal.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
68 process.mix.digitizers.hcal.ho.siPMCode = cms.int32(1)
69 process.mix.digitizers.hcal.ho.pixels = cms.int32(2500)
70 process.mix.digitizers.hcal.ho.doSiPMSmearing = cms.bool(
False)
71 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf1'):
72 process.mix.digitizers.hcal.hf1.samplingFactor = cms.double(0.60)
73 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf2'):
74 process.mix.digitizers.hcal.hf2.samplingFactor = cms.double(0.60)
108 alist=[
'AODSIM',
'RECOSIM',
'FEVTSIM',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'RECODEBUG',
'RAWRECOSIMHLT',
'RAWRECODEBUGHLT']
111 if hasattr(process,b):
112 getattr(process,b).outputCommands.append(
'keep *_simMuonCSCDigis_*_*')
113 getattr(process,b).outputCommands.append(
'keep *_simMuonRPCDigis_*_*')
114 getattr(process,b).outputCommands.append(
'keep *_mixData_MuonCSCComparatorDigisDM_*')
115 getattr(process,b).outputCommands.append(
'keep *_mixData_MuonCSCStripDigisDM_*')
116 getattr(process,b).outputCommands.append(
'keep *_mixData_MuonCSCWireDigisDM_*')
117 getattr(process,b).outputCommands.append(
'keep *_simHcalUnsuppressedDigis_*_*')
118 getattr(process,b).outputCommands.append(
'keep *_rawDataCollector_*_*')
def customise_csc_PostLS1