4 from SLHCUpgradeSimulations.Configuration.muonCustoms
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']
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 *_simHcalUnsuppressedDigis_*_*')
66 process.g4SimHits.HFShowerLibrary.FileName =
'SimG4CMS/Calo/data/HFShowerLibrary_npmt_noatt_eta4_16en_v3.root'
72 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers'):
73 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'ho'):
74 process.mix.digitizers.hcal.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
75 process.mix.digitizers.hcal.ho.siPMCode = cms.int32(1)
76 process.mix.digitizers.hcal.ho.pixels = cms.int32(2500)
77 process.mix.digitizers.hcal.ho.doSiPMSmearing = cms.bool(
False)
78 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf1'):
79 process.mix.digitizers.hcal.hf1.samplingFactor = cms.double(0.60)
80 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf2'):
81 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 *_simHcalUnsuppressedDigis_*_*')
121 getattr(process,b).outputCommands.append(
'keep *_rawDataCollector_*_*')
def customise_csc_PostLS1