3 from RecoTracker.Configuration.customiseForRunI
import customiseForRunI
8 from SLHCUpgradeSimulations.Configuration.muonCustoms
import customise_csc_PostLS1
12 from SLHCUpgradeSimulations.Configuration.fastSimCustoms
import customise_fastSimPostLS1
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')
or ( hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers')):
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'):
36 if hasattr(process,
'datamixing_step'):
45 from L1Trigger.L1TCommon.customsPostLS1
import customiseSimL1EmulatorForStage1
52 if hasattr(process,
'digitisation_step'):
54 if hasattr(process,
'dqmoffline_step'):
67 if hasattr(process,
'digitisation_step'):
79 if hasattr(process,
'digitisation_step'):
88 from L1Trigger.L1TCommon.customsPostLS1
import customiseSimL1EmulatorForStage1
95 from L1Trigger.L1TCommon.customsPostLS1
import customiseSimL1EmulatorForPostLS1_Additional_HI
124 alist=[
'RAWSIM',
'RAWDEBUG',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'GENRAW',
'RAWSIMHLT',
'FEVT',
'PREMIX',
'PREMIXRAW']
127 if hasattr(process,b):
128 getattr(process,b).outputCommands.append(
'keep *_simMuonCSCDigis_*_*')
129 getattr(process,b).outputCommands.append(
'keep *_simMuonRPCDigis_*_*')
130 getattr(process,b).outputCommands.append(
'keep *_simHcalUnsuppressedDigis_*_*')
138 process.l1tCsctf.gangedME11a = cms.untracked.bool(
False)
140 if hasattr(process,
'HBHENoiseFilterResultProducer'):
141 process.HBHENoiseFilterResultProducer.IgnoreTS4TS5ifJetInLowBVRegion = cms.bool(
False)
147 if hasattr(process,
'HBHENoiseFilterResultProducer'):
148 process.HBHENoiseFilterResultProducer.defaultDecision = cms.string(
"HBHENoiseFilterResultRun2Loose")
162 process.g4SimHits.HFShowerLibrary.FileName =
'SimG4CMS/Calo/data/HFShowerLibrary_npmt_noatt_eta4_16en_v3.root'
168 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers'):
169 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'ho'):
170 process.mix.digitizers.hcal.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
171 process.mix.digitizers.hcal.ho.siPMCode = cms.int32(1)
172 process.mix.digitizers.hcal.ho.pixels = cms.int32(2500)
173 process.mix.digitizers.hcal.ho.doSiPMSmearing = cms.bool(
False)
174 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf1'):
175 process.mix.digitizers.hcal.hf1.samplingFactor = cms.double(0.60)
176 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf2'):
177 process.mix.digitizers.hcal.hf2.samplingFactor = cms.double(0.60)
181 if hasattr(process,
'mixData'):
182 if hasattr(process.mixData,
'ho'):
183 process.mixData.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
184 process.mixData.ho.siPMCode = cms.int32(1)
185 process.mixData.ho.pixels = cms.int32(2500)
186 process.mixData.ho.doSiPMSmearing = cms.bool(
False)
187 if hasattr(process.mixData,
'hf1'):
188 process.mixData.hf1.samplingFactor = cms.double(0.60)
189 if hasattr(process.mixData,
'hf2'):
190 process.mixData.hf2.samplingFactor = cms.double(0.60)
195 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers'):
196 if hasattr(process.mix.digitizers,
'pixel'):
198 process.mix.digitizers.pixel.theInstLumiScaleFactor = cms.double(246.4)
199 process.mix.digitizers.pixel.theLadderEfficiency_BPix1 = cms.vdouble(
221 process.mix.digitizers.pixel.theLadderEfficiency_BPix2 = cms.vdouble(
255 process.mix.digitizers.pixel.theLadderEfficiency_BPix3 = cms.vdouble(
301 if hasattr(process,
'mixData'):
303 process.mixData.theInstLumiScaleFactor = cms.double(246.4)
304 process.mixData.theLadderEfficiency_BPix1 = cms.vdouble(
326 process.mixData.theLadderEfficiency_BPix2 = cms.vdouble(
360 process.mixData.theLadderEfficiency_BPix3 = cms.vdouble(
410 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers'):
411 if hasattr(process.mix.digitizers,
'pixel'):
413 process.mix.digitizers.pixel.theInstLumiScaleFactor = cms.double(364)
414 process.mix.digitizers.pixel.theLadderEfficiency_BPix1 = cms.vdouble(
436 process.mix.digitizers.pixel.theLadderEfficiency_BPix2 = cms.vdouble(
470 process.mix.digitizers.pixel.theLadderEfficiency_BPix3 = cms.vdouble(
516 process.mix.digitizers.pixel.theModuleEfficiency_BPix1 = cms.vdouble(
522 process.mix.digitizers.pixel.theModuleEfficiency_BPix2 = cms.vdouble(
528 process.mix.digitizers.pixel.theModuleEfficiency_BPix3 = cms.vdouble(
534 process.mix.digitizers.pixel.thePUEfficiency_BPix1 = cms.vdouble(
540 process.mix.digitizers.pixel.thePUEfficiency_BPix2 = cms.vdouble(
546 process.mix.digitizers.pixel.thePUEfficiency_BPix3 = cms.vdouble(
552 if hasattr(process,
'mixData'):
554 process.mixData.theInstLumiScaleFactor = cms.double(364)
555 process.mixData.theLadderEfficiency_BPix1 = cms.vdouble(
577 process.mixData.theLadderEfficiency_BPix2 = cms.vdouble(
611 process.mixData.theLadderEfficiency_BPix3 = cms.vdouble(
657 process.mixData.theModuleEfficiency_BPix1 = cms.vdouble(
663 process.mixData.theModuleEfficiency_BPix2 = cms.vdouble(
669 process.mixData.theModuleEfficiency_BPix3 = cms.vdouble(
675 process.mixData.thePUEfficiency_BPix1 = cms.vdouble(
681 process.mixData.thePUEfficiency_BPix2 = cms.vdouble(
687 process.mixData.thePUEfficiency_BPix3 = cms.vdouble(
701 process.RawToDigi.remove(process.gtEvmDigis)
715 if hasattr(process,
'particleFlowRecHitHO'):
716 for prod
in process.particleFlowRecHitHO.producers:
717 prod.qualityTests = cms.VPSet(
719 name = cms.string(
"PFRecHitQTestThreshold"),
720 threshold = cms.double(0.05)
723 name = cms.string(
"PFRecHitQTestHCALChannel"),
724 maxSeverities = cms.vint32(11),
725 cleaningThresholds = cms.vdouble(0.0),
726 flags = cms.vstring(
'Standard')
732 for p
in process.particleFlowClusterHO.seedFinder.thresholdsByDetector:
733 p.seedingThreshold = cms.double(0.08)
735 for p
in process.particleFlowClusterHO.initialClusteringStep.thresholdsByDetector:
736 p.gatheringThreshold = cms.double(0.05)
738 for p
in process.particleFlowClusterHO.pfClusterBuilder.recHitEnergyNorms:
739 p.recHitEnergyNorm = cms.double(0.05)
741 process.particleFlowClusterHO.pfClusterBuilder.positionCalc.logWeightDenominator = cms.double(0.05)
742 process.particleFlowClusterHO.pfClusterBuilder.allCellsPositionCalc.logWeightDenominator = cms.double(0.05)
756 alist=[
'AODSIM',
'RECOSIM',
'FEVTSIM',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'RECODEBUG',
'RAWRECOSIMHLT',
'RAWRECODEBUGHLT']
759 if hasattr(process,b):
760 getattr(process,b).outputCommands.append(
'keep *_simMuonCSCDigis_*_*')
761 getattr(process,b).outputCommands.append(
'keep *_simMuonRPCDigis_*_*')
762 getattr(process,b).outputCommands.append(
'keep *_simHcalUnsuppressedDigis_*_*')
763 getattr(process,b).outputCommands.append(
'keep *_rawDataCollector_*_*')
def customise_Digi_Common
def customisePostLS1_lowPU
def customisePostLS1_Common
def customiseSimL1EmulatorForPostLS1_Additional_HI
def customiseSimL1EmulatorForStage1
def customisePostLS1_50ns
def customise_csc_PostLS1
def customise_fastSimPostLS1
def customisePostLS1_B0T_lowPU