4 from SLHCUpgradeSimulations.Configuration.muonCustoms
import customise_csc_PostLS1,customise_csc_hlt
5 from L1Trigger.L1TCommon.customsPostLS1
import customiseSimL1EmulatorForPostLS1
16 if hasattr(process,
'g4SimHits'):
18 if hasattr(process,
'DigiToRaw'):
20 if hasattr(process,
'RawToDigi'):
22 if hasattr(process,
'reconstruction'):
24 if hasattr(process,
'digitisation_step'):
26 if hasattr(process,
'HLTSchedule'):
28 if hasattr(process,
'L1simulation_step'):
30 if hasattr(process,
'dqmoffline_step'):
32 if hasattr(process,
'dqmHarvesting'):
34 if hasattr(process,
'validation_step'):
43 alist=[
'RAWSIM',
'RAWDEBUG',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'GENRAW',
'RAWSIMHLT',
'FEVT']
46 if hasattr(process,b):
47 getattr(process,b).outputCommands.append(
'keep *_simMuonCSCDigis_*_*')
48 getattr(process,b).outputCommands.append(
'keep *_simMuonRPCDigis_*_*')
49 getattr(process,b).outputCommands.append(
'keep *_simHcalUnsuppressedDigis_*_*')
57 process.l1tCsctf.gangedME11a = cms.untracked.bool(
False)
71 process.g4SimHits.HFShowerLibrary.FileName =
'SimG4CMS/Calo/data/HFShowerLibrary_npmt_noatt_eta4_16en.root'
77 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers'):
78 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'ho'):
79 process.mix.digitizers.hcal.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
80 process.mix.digitizers.hcal.ho.siPMCode = cms.int32(1)
81 process.mix.digitizers.hcal.ho.pixels = cms.int32(2500)
82 process.mix.digitizers.hcal.ho.doSiPMSmearing = cms.bool(
False)
83 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf1'):
84 process.mix.digitizers.hcal.hf1.samplingFactor = cms.double(0.60)
85 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf2'):
86 process.mix.digitizers.hcal.hf2.samplingFactor = cms.double(0.60)
87 if hasattr(process.mix.digitizers,
'pixel'):
89 if process.mix.bunchspace == 50:
90 process.mix.digitizers.pixel.theInstLumiScaleFactor = cms.double(246.4)
91 process.mix.digitizers.pixel.theLadderEfficiency_BPix1 = cms.vdouble(
113 process.mix.digitizers.pixel.theLadderEfficiency_BPix2 = cms.vdouble(
147 process.mix.digitizers.pixel.theLadderEfficiency_BPix3 = cms.vdouble(
194 if process.mix.bunchspace == 25:
195 process.mix.digitizers.pixel.theInstLumiScaleFactor = cms.double(364)
196 process.mix.digitizers.pixel.theLadderEfficiency_BPix1 = cms.vdouble(
218 process.mix.digitizers.pixel.theLadderEfficiency_BPix2 = cms.vdouble(
252 process.mix.digitizers.pixel.theLadderEfficiency_BPix3 = cms.vdouble(
298 process.mix.digitizers.pixel.theModuleEfficiency_BPix1 = cms.vdouble(
304 process.mix.digitizers.pixel.theModuleEfficiency_BPix2 = cms.vdouble(
310 process.mix.digitizers.pixel.theModuleEfficiency_BPix3 = cms.vdouble(
316 process.mix.digitizers.pixel.thePUEfficiency_BPix1 = cms.vdouble(
322 process.mix.digitizers.pixel.thePUEfficiency_BPix2 = cms.vdouble(
328 process.mix.digitizers.pixel.thePUEfficiency_BPix3 = cms.vdouble(
342 process.RawToDigi.remove(process.gtEvmDigis)
357 if hasattr(process,
'particleFlowRecHitHO'):
358 for prod
in process.particleFlowRecHitHO.producers:
359 prod.qualityTests = cms.VPSet(
361 name = cms.string(
"PFRecHitQTestThreshold"),
362 threshold = cms.double(0.05)
365 name = cms.string(
"PFRecHitQTestHCALChannel"),
366 maxSeverities = cms.vint32(11),
367 cleaningThresholds = cms.vdouble(0.0),
368 flags = cms.vstring(
'Standard')
383 alist=[
'AODSIM',
'RECOSIM',
'FEVTSIM',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'RECODEBUG',
'RAWRECOSIMHLT',
'RAWRECODEBUGHLT']
386 if hasattr(process,b):
387 getattr(process,b).outputCommands.append(
'keep *_simMuonCSCDigis_*_*')
388 getattr(process,b).outputCommands.append(
'keep *_simMuonRPCDigis_*_*')
389 getattr(process,b).outputCommands.append(
'keep *_simHcalUnsuppressedDigis_*_*')
390 getattr(process,b).outputCommands.append(
'keep *_rawDataCollector_*_*')
def customiseSimL1EmulatorForPostLS1
def customise_csc_PostLS1