4 from SLHCUpgradeSimulations.Configuration.muonCustomsPreMixing
import customise_csc_PostLS1,customise_csc_hlt
13 if hasattr(process,
'g4SimHits'):
15 if hasattr(process,
'DigiToRaw'):
17 if hasattr(process,
'RawToDigi'):
19 if hasattr(process,
'reconstruction'):
21 if hasattr(process,
'digitisation_step'):
23 if hasattr(process,
'HLTSchedule'):
25 if hasattr(process,
'L1simulation_step'):
27 if hasattr(process,
'dqmoffline_step'):
29 if hasattr(process,
'dqmHarvesting'):
31 if hasattr(process,
'validation_step'):
40 alist=[
'RAWSIM',
'RAWDEBUG',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'GENRAW',
'RAWSIMHLT',
'FEVT',
'PREMIX',
'PREMIXRAW']
43 if hasattr(process,b):
44 getattr(process,b).outputCommands.append(
'keep *_simMuonCSCDigis_*_*')
45 getattr(process,b).outputCommands.append(
'keep *_simMuonRPCDigis_*_*')
46 getattr(process,b).outputCommands.append(
'keep *_mixData_MuonCSCComparatorDigisDM_*')
47 getattr(process,b).outputCommands.append(
'keep *_mixData_MuonCSCStripDigisDM_*')
48 getattr(process,b).outputCommands.append(
'keep *_mixData_MuonCSCWireDigisDM_*')
49 getattr(process,b).outputCommands.append(
'keep *_simHcalUnsuppressedDigis_*_*')
66 process.g4SimHits.HFShowerLibrary.FileName =
'SimG4CMS/Calo/data/HFShowerLibrary_npmt_noatt_eta4_16en_v3.root'
71 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers'):
72 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'ho'):
73 process.mix.digitizers.hcal.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
74 process.mix.digitizers.hcal.ho.siPMCode = cms.int32(1)
75 process.mix.digitizers.hcal.ho.pixels = cms.int32(2500)
76 process.mix.digitizers.hcal.ho.doSiPMSmearing = cms.bool(
False)
77 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf1'):
78 process.mix.digitizers.hcal.hf1.samplingFactor = cms.double(0.60)
79 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf2'):
80 process.mix.digitizers.hcal.hf2.samplingFactor = cms.double(0.60)
114 alist=[
'AODSIM',
'RECOSIM',
'FEVTSIM',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'RECODEBUG',
'RAWRECOSIMHLT',
'RAWRECODEBUGHLT']
117 if hasattr(process,b):
118 getattr(process,b).outputCommands.append(
'keep *_simMuonCSCDigis_*_*')
119 getattr(process,b).outputCommands.append(
'keep *_simMuonRPCDigis_*_*')
120 getattr(process,b).outputCommands.append(
'keep *_mixData_MuonCSCComparatorDigisDM_*')
121 getattr(process,b).outputCommands.append(
'keep *_mixData_MuonCSCStripDigisDM_*')
122 getattr(process,b).outputCommands.append(
'keep *_mixData_MuonCSCWireDigisDM_*')
123 getattr(process,b).outputCommands.append(
'keep *_simHcalUnsuppressedDigis_*_*')
124 getattr(process,b).outputCommands.append(
'keep *_rawDataCollector_*_*')
def customise_csc_PostLS1