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'):
41 alist=[
'RAWSIM',
'RAWDEBUG',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'GENRAW',
'RAWSIMHLT',
'FEVT',
'PREMIX',
'PREMIXRAW']
44 if hasattr(process,b):
45 getattr(process,b).outputCommands.append(
'keep *_simMuonCSCDigis_*_*')
46 getattr(process,b).outputCommands.append(
'keep *_simMuonRPCDigis_*_*')
47 getattr(process,b).outputCommands.append(
'keep *_mixData_MuonCSCComparatorDigisDM_*')
48 getattr(process,b).outputCommands.append(
'keep *_mixData_MuonCSCStripDigisDM_*')
49 getattr(process,b).outputCommands.append(
'keep *_mixData_MuonCSCWireDigisDM_*')
50 getattr(process,b).outputCommands.append(
'keep *_simHcalUnsuppressedDigis_*_*')
67 process.g4SimHits.HFShowerLibrary.FileName =
'SimG4CMS/Calo/data/HFShowerLibrary_npmt_noatt_eta4_16en.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)
115 alist=[
'AODSIM',
'RECOSIM',
'FEVTSIM',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'RECODEBUG',
'RAWRECOSIMHLT',
'RAWRECODEBUGHLT']
118 if hasattr(process,b):
119 getattr(process,b).outputCommands.append(
'keep *_simMuonCSCDigis_*_*')
120 getattr(process,b).outputCommands.append(
'keep *_simMuonRPCDigis_*_*')
121 getattr(process,b).outputCommands.append(
'keep *_mixData_MuonCSCComparatorDigisDM_*')
122 getattr(process,b).outputCommands.append(
'keep *_mixData_MuonCSCStripDigisDM_*')
123 getattr(process,b).outputCommands.append(
'keep *_mixData_MuonCSCWireDigisDM_*')
124 getattr(process,b).outputCommands.append(
'keep *_simHcalUnsuppressedDigis_*_*')
125 getattr(process,b).outputCommands.append(
'keep *_rawDataCollector_*_*')
def customise_csc_PostLS1