6 from SLHCUpgradeSimulations.Configuration.muonCustoms
import customise_csc_PostLS1
10 from SLHCUpgradeSimulations.Configuration.fastSimCustoms
import customise_fastSimPostLS1
14 if hasattr(process,
'g4SimHits'):
16 if hasattr(process,
'DigiToRaw'):
18 if hasattr(process,
'RawToDigi'):
20 if hasattr(process,
'reconstruction'):
22 if hasattr(process,
'digitisation_step')
or ( hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers')):
24 if hasattr(process,
'HLTSchedule'):
26 if hasattr(process,
'L1simulation_step'):
28 if hasattr(process,
'dqmoffline_step'):
30 if hasattr(process,
'dqmHarvesting'):
32 if hasattr(process,
'validation_step'):
34 if hasattr(process,
'datamixing_step'):
43 from L1Trigger.L1TCommon.customsPostLS1
import customiseSimL1EmulatorForPostLS1_25ns
50 if hasattr(process,
'digitisation_step'):
52 if hasattr(process,
'dqmoffline_step'):
61 from L1Trigger.L1TCommon.customsPostLS1
import customiseSimL1EmulatorForPostLS1_50ns
68 if hasattr(process,
'digitisation_step'):
77 from L1Trigger.L1TCommon.customsPostLS1
import customiseSimL1EmulatorForPostLS1_HI
89 alist=[
'RAWSIM',
'RAWDEBUG',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'GENRAW',
'RAWSIMHLT',
'FEVT',
'PREMIX',
'PREMIXRAW']
92 if hasattr(process,b):
93 getattr(process,b).outputCommands.append(
'keep *_simMuonCSCDigis_*_*')
94 getattr(process,b).outputCommands.append(
'keep *_simMuonRPCDigis_*_*')
95 getattr(process,b).outputCommands.append(
'keep *_simHcalUnsuppressedDigis_*_*')
103 process.l1tCsctf.gangedME11a = cms.untracked.bool(
False)
105 if hasattr(process,
'HBHENoiseFilterResultProducer'):
106 process.HBHENoiseFilterResultProducer.IgnoreTS4TS5ifJetInLowBVRegion = cms.bool(
False)
112 if hasattr(process,
'HBHENoiseFilterResultProducer'):
113 process.HBHENoiseFilterResultProducer.defaultDecision = cms.string(
"HBHENoiseFilterResultRun2Loose")
127 process.g4SimHits.HFShowerLibrary.FileName =
'SimG4CMS/Calo/data/HFShowerLibrary_npmt_noatt_eta4_16en_v3.root'
133 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers'):
134 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'ho'):
135 process.mix.digitizers.hcal.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
136 process.mix.digitizers.hcal.ho.siPMCode = cms.int32(1)
137 process.mix.digitizers.hcal.ho.pixels = cms.int32(2500)
138 process.mix.digitizers.hcal.ho.doSiPMSmearing = cms.bool(
False)
139 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf1'):
140 process.mix.digitizers.hcal.hf1.samplingFactor = cms.double(0.60)
141 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf2'):
142 process.mix.digitizers.hcal.hf2.samplingFactor = cms.double(0.60)
146 if hasattr(process,
'mixData'):
147 if hasattr(process.mixData,
'ho'):
148 process.mixData.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
149 process.mixData.ho.siPMCode = cms.int32(1)
150 process.mixData.ho.pixels = cms.int32(2500)
151 process.mixData.ho.doSiPMSmearing = cms.bool(
False)
152 if hasattr(process.mixData,
'hf1'):
153 process.mixData.hf1.samplingFactor = cms.double(0.60)
154 if hasattr(process.mixData,
'hf2'):
155 process.mixData.hf2.samplingFactor = cms.double(0.60)
160 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers'):
161 if hasattr(process.mix.digitizers,
'pixel'):
163 process.mix.digitizers.pixel.theInstLumiScaleFactor = cms.double(246.4)
164 process.mix.digitizers.pixel.theLadderEfficiency_BPix1 = cms.vdouble(
186 process.mix.digitizers.pixel.theLadderEfficiency_BPix2 = cms.vdouble(
220 process.mix.digitizers.pixel.theLadderEfficiency_BPix3 = cms.vdouble(
266 if hasattr(process,
'mixData'):
268 process.mixData.theInstLumiScaleFactor = cms.double(246.4)
269 process.mixData.theLadderEfficiency_BPix1 = cms.vdouble(
291 process.mixData.theLadderEfficiency_BPix2 = cms.vdouble(
325 process.mixData.theLadderEfficiency_BPix3 = cms.vdouble(
375 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers'):
376 if hasattr(process.mix.digitizers,
'pixel'):
378 process.mix.digitizers.pixel.theInstLumiScaleFactor = cms.double(364)
379 process.mix.digitizers.pixel.theLadderEfficiency_BPix1 = cms.vdouble(
401 process.mix.digitizers.pixel.theLadderEfficiency_BPix2 = cms.vdouble(
435 process.mix.digitizers.pixel.theLadderEfficiency_BPix3 = cms.vdouble(
481 process.mix.digitizers.pixel.theModuleEfficiency_BPix1 = cms.vdouble(
487 process.mix.digitizers.pixel.theModuleEfficiency_BPix2 = cms.vdouble(
493 process.mix.digitizers.pixel.theModuleEfficiency_BPix3 = cms.vdouble(
499 process.mix.digitizers.pixel.thePUEfficiency_BPix1 = cms.vdouble(
505 process.mix.digitizers.pixel.thePUEfficiency_BPix2 = cms.vdouble(
511 process.mix.digitizers.pixel.thePUEfficiency_BPix3 = cms.vdouble(
517 if hasattr(process,
'mixData'):
519 process.mixData.theInstLumiScaleFactor = cms.double(364)
520 process.mixData.theLadderEfficiency_BPix1 = cms.vdouble(
542 process.mixData.theLadderEfficiency_BPix2 = cms.vdouble(
576 process.mixData.theLadderEfficiency_BPix3 = cms.vdouble(
622 process.mixData.theModuleEfficiency_BPix1 = cms.vdouble(
628 process.mixData.theModuleEfficiency_BPix2 = cms.vdouble(
634 process.mixData.theModuleEfficiency_BPix3 = cms.vdouble(
640 process.mixData.thePUEfficiency_BPix1 = cms.vdouble(
646 process.mixData.thePUEfficiency_BPix2 = cms.vdouble(
652 process.mixData.thePUEfficiency_BPix3 = cms.vdouble(
666 process.RawToDigi.remove(process.gtEvmDigis)
680 if hasattr(process,
'particleFlowRecHitHO'):
681 for prod
in process.particleFlowRecHitHO.producers:
682 prod.qualityTests = cms.VPSet(
684 name = cms.string(
"PFRecHitQTestThreshold"),
685 threshold = cms.double(0.05)
688 name = cms.string(
"PFRecHitQTestHCALChannel"),
689 maxSeverities = cms.vint32(11),
690 cleaningThresholds = cms.vdouble(0.0),
691 flags = cms.vstring(
'Standard')
697 for p
in process.particleFlowClusterHO.seedFinder.thresholdsByDetector:
698 p.seedingThreshold = cms.double(0.08)
700 for p
in process.particleFlowClusterHO.initialClusteringStep.thresholdsByDetector:
701 p.gatheringThreshold = cms.double(0.05)
703 for p
in process.particleFlowClusterHO.pfClusterBuilder.recHitEnergyNorms:
704 p.recHitEnergyNorm = cms.double(0.05)
706 process.particleFlowClusterHO.pfClusterBuilder.positionCalc.logWeightDenominator = cms.double(0.05)
707 process.particleFlowClusterHO.pfClusterBuilder.allCellsPositionCalc.logWeightDenominator = cms.double(0.05)
721 alist=[
'AODSIM',
'RECOSIM',
'FEVTSIM',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'RECODEBUG',
'RAWRECOSIMHLT',
'RAWRECODEBUGHLT']
724 if hasattr(process,b):
725 getattr(process,b).outputCommands.append(
'keep *_simMuonCSCDigis_*_*')
726 getattr(process,b).outputCommands.append(
'keep *_simMuonRPCDigis_*_*')
727 getattr(process,b).outputCommands.append(
'keep *_simHcalUnsuppressedDigis_*_*')
728 getattr(process,b).outputCommands.append(
'keep *_rawDataCollector_*_*')
def customiseSimL1EmulatorForPostLS1_HI
def customise_Digi_Common
def customiseSimL1EmulatorForPostLS1_50ns
def customisePostLS1_Common
def customisePostLS1_50ns
def customise_csc_PostLS1
def customise_fastSimPostLS1
def customiseSimL1EmulatorForPostLS1_25ns