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.HCalSD.UseShowerLibrary =
True
67 process.g4SimHits.HCalSD.UseParametrize =
False
68 process.g4SimHits.HCalSD.UsePMTHits =
False
69 process.g4SimHits.HCalSD.UseFibreBundleHits =
False
70 process.g4SimHits.HFShowerLibrary.FileName =
'SimG4CMS/Calo/data/HFShowerLibrary_npmt_eta4_16en.root'
71 process.g4SimHits.HFShowerLibrary.BranchPost=
''
72 process.g4SimHits.HFShowerLibrary.BranchPre =
''
73 process.g4SimHits.HFShowerLibrary.BranchEvt =
''
79 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers'):
80 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'ho'):
81 process.mix.digitizers.hcal.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
82 process.mix.digitizers.hcal.ho.siPMCode = cms.int32(1)
83 process.mix.digitizers.hcal.ho.pixels = cms.int32(2500)
84 process.mix.digitizers.hcal.ho.doSiPMSmearing = cms.bool(
False)
85 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf1'):
86 process.mix.digitizers.hcal.hf1.samplingFactor = cms.double(0.60)
87 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf2'):
88 process.mix.digitizers.hcal.hf2.samplingFactor = cms.double(0.60)
121 alist=[
'AODSIM',
'RECOSIM',
'FEVTSIM',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'RECODEBUG',
'RAWRECOSIMHLT',
'RAWRECODEBUGHLT']
124 if hasattr(process,b):
125 getattr(process,b).outputCommands.append(
'keep *_simMuonCSCDigis_*_*')
126 getattr(process,b).outputCommands.append(
'keep *_simMuonRPCDigis_*_*')
127 getattr(process,b).outputCommands.append(
'keep *_simHcalUnsuppressedDigis_*_*')
128 getattr(process,b).outputCommands.append(
'keep *_rawDataCollector_*_*')
def customise_csc_PostLS1