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 customiseSimL1EmulatorForPostLS1_25ns
52 if hasattr(process,
'digitisation_step'):
54 if hasattr(process,
'dqmoffline_step'):
63 from L1Trigger.L1TCommon.customsPostLS1
import customiseSimL1EmulatorForPostLS1_lowPU
70 if hasattr(process,
'digitisation_step'):
78 from L1Trigger.L1TCommon.customsPostLS1
import customiseSimL1EmulatorForPostLS1_50ns
85 if hasattr(process,
'digitisation_step'):
94 from L1Trigger.L1TCommon.customsPostLS1
import customiseSimL1EmulatorForPostLS1_HI
122 alist=[
'RAWSIM',
'RAWDEBUG',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'GENRAW',
'RAWSIMHLT',
'FEVT',
'PREMIX',
'PREMIXRAW']
125 if hasattr(process,b):
126 getattr(process,b).outputCommands.append(
'keep *_simMuonCSCDigis_*_*')
127 getattr(process,b).outputCommands.append(
'keep *_simMuonRPCDigis_*_*')
128 getattr(process,b).outputCommands.append(
'keep *_simHcalUnsuppressedDigis_*_*')
136 process.l1tCsctf.gangedME11a = cms.untracked.bool(
False)
138 if hasattr(process,
'HBHENoiseFilterResultProducer'):
139 process.HBHENoiseFilterResultProducer.IgnoreTS4TS5ifJetInLowBVRegion = cms.bool(
False)
145 if hasattr(process,
'HBHENoiseFilterResultProducer'):
146 process.HBHENoiseFilterResultProducer.defaultDecision = cms.string(
"HBHENoiseFilterResultRun2Loose")
160 process.g4SimHits.HFShowerLibrary.FileName =
'SimG4CMS/Calo/data/HFShowerLibrary_npmt_noatt_eta4_16en_v3.root'
166 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers'):
167 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'ho'):
168 process.mix.digitizers.hcal.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
169 process.mix.digitizers.hcal.ho.siPMCode = cms.int32(1)
170 process.mix.digitizers.hcal.ho.pixels = cms.int32(2500)
171 process.mix.digitizers.hcal.ho.doSiPMSmearing = cms.bool(
False)
172 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf1'):
173 process.mix.digitizers.hcal.hf1.samplingFactor = cms.double(0.60)
174 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf2'):
175 process.mix.digitizers.hcal.hf2.samplingFactor = cms.double(0.60)
179 if hasattr(process,
'mixData'):
180 if hasattr(process.mixData,
'ho'):
181 process.mixData.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
182 process.mixData.ho.siPMCode = cms.int32(1)
183 process.mixData.ho.pixels = cms.int32(2500)
184 process.mixData.ho.doSiPMSmearing = cms.bool(
False)
185 if hasattr(process.mixData,
'hf1'):
186 process.mixData.hf1.samplingFactor = cms.double(0.60)
187 if hasattr(process.mixData,
'hf2'):
188 process.mixData.hf2.samplingFactor = cms.double(0.60)
193 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers'):
194 if hasattr(process.mix.digitizers,
'pixel'):
196 process.mix.digitizers.pixel.theInstLumiScaleFactor = cms.double(246.4)
197 process.mix.digitizers.pixel.theLadderEfficiency_BPix1 = cms.vdouble(
219 process.mix.digitizers.pixel.theLadderEfficiency_BPix2 = cms.vdouble(
253 process.mix.digitizers.pixel.theLadderEfficiency_BPix3 = cms.vdouble(
299 if hasattr(process,
'mixData'):
301 process.mixData.theInstLumiScaleFactor = cms.double(246.4)
302 process.mixData.theLadderEfficiency_BPix1 = cms.vdouble(
324 process.mixData.theLadderEfficiency_BPix2 = cms.vdouble(
358 process.mixData.theLadderEfficiency_BPix3 = cms.vdouble(
408 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers'):
409 if hasattr(process.mix.digitizers,
'pixel'):
411 process.mix.digitizers.pixel.theInstLumiScaleFactor = cms.double(364)
412 process.mix.digitizers.pixel.theLadderEfficiency_BPix1 = cms.vdouble(
434 process.mix.digitizers.pixel.theLadderEfficiency_BPix2 = cms.vdouble(
468 process.mix.digitizers.pixel.theLadderEfficiency_BPix3 = cms.vdouble(
514 process.mix.digitizers.pixel.theModuleEfficiency_BPix1 = cms.vdouble(
520 process.mix.digitizers.pixel.theModuleEfficiency_BPix2 = cms.vdouble(
526 process.mix.digitizers.pixel.theModuleEfficiency_BPix3 = cms.vdouble(
532 process.mix.digitizers.pixel.thePUEfficiency_BPix1 = cms.vdouble(
538 process.mix.digitizers.pixel.thePUEfficiency_BPix2 = cms.vdouble(
544 process.mix.digitizers.pixel.thePUEfficiency_BPix3 = cms.vdouble(
550 if hasattr(process,
'mixData'):
552 process.mixData.theInstLumiScaleFactor = cms.double(364)
553 process.mixData.theLadderEfficiency_BPix1 = cms.vdouble(
575 process.mixData.theLadderEfficiency_BPix2 = cms.vdouble(
609 process.mixData.theLadderEfficiency_BPix3 = cms.vdouble(
655 process.mixData.theModuleEfficiency_BPix1 = cms.vdouble(
661 process.mixData.theModuleEfficiency_BPix2 = cms.vdouble(
667 process.mixData.theModuleEfficiency_BPix3 = cms.vdouble(
673 process.mixData.thePUEfficiency_BPix1 = cms.vdouble(
679 process.mixData.thePUEfficiency_BPix2 = cms.vdouble(
685 process.mixData.thePUEfficiency_BPix3 = cms.vdouble(
699 process.RawToDigi.remove(process.gtEvmDigis)
713 if hasattr(process,
'particleFlowRecHitHO'):
714 for prod
in process.particleFlowRecHitHO.producers:
715 prod.qualityTests = cms.VPSet(
717 name = cms.string(
"PFRecHitQTestThreshold"),
718 threshold = cms.double(0.05)
721 name = cms.string(
"PFRecHitQTestHCALChannel"),
722 maxSeverities = cms.vint32(11),
723 cleaningThresholds = cms.vdouble(0.0),
724 flags = cms.vstring(
'Standard')
730 for p
in process.particleFlowClusterHO.seedFinder.thresholdsByDetector:
731 p.seedingThreshold = cms.double(0.08)
733 for p
in process.particleFlowClusterHO.initialClusteringStep.thresholdsByDetector:
734 p.gatheringThreshold = cms.double(0.05)
736 for p
in process.particleFlowClusterHO.pfClusterBuilder.recHitEnergyNorms:
737 p.recHitEnergyNorm = cms.double(0.05)
739 process.particleFlowClusterHO.pfClusterBuilder.positionCalc.logWeightDenominator = cms.double(0.05)
740 process.particleFlowClusterHO.pfClusterBuilder.allCellsPositionCalc.logWeightDenominator = cms.double(0.05)
754 alist=[
'AODSIM',
'RECOSIM',
'FEVTSIM',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'RECODEBUG',
'RAWRECOSIMHLT',
'RAWRECODEBUGHLT']
757 if hasattr(process,b):
758 getattr(process,b).outputCommands.append(
'keep *_simMuonCSCDigis_*_*')
759 getattr(process,b).outputCommands.append(
'keep *_simMuonRPCDigis_*_*')
760 getattr(process,b).outputCommands.append(
'keep *_simHcalUnsuppressedDigis_*_*')
761 getattr(process,b).outputCommands.append(
'keep *_rawDataCollector_*_*')
def customiseSimL1EmulatorForPostLS1_HI
def customise_Digi_Common
def customisePostLS1_lowPU
def customiseSimL1EmulatorForPostLS1_50ns
def customisePostLS1_Common
def customiseSimL1EmulatorForPostLS1_lowPU
def customisePostLS1_50ns
def customise_csc_PostLS1
def customise_fastSimPostLS1
def customiseSimL1EmulatorForPostLS1_25ns
def customisePostLS1_B0T_lowPU