3 from RecoTracker.Configuration.customiseForRunI
import customiseForRunI
8 from L1Trigger.L1TCommon.customsPostLS1
import customiseSimL1EmulatorForStage1
12 from SLHCUpgradeSimulations.Configuration.muonCustoms
import customise_csc_PostLS1
16 from SLHCUpgradeSimulations.Configuration.fastSimCustoms
import customise_fastSimPostLS1
20 if hasattr(process,
'g4SimHits'):
22 if hasattr(process,
'DigiToRaw'):
24 if hasattr(process,
'RawToDigi'):
26 if hasattr(process,
'reconstruction'):
28 if hasattr(process,
'digitisation_step')
or ( hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers')):
30 if hasattr(process,
'HLTSchedule'):
32 if hasattr(process,
'L1simulation_step'):
34 if hasattr(process,
'dqmoffline_step'):
36 if hasattr(process,
'dqmHarvesting'):
38 if hasattr(process,
'validation_step'):
40 if hasattr(process,
'datamixing_step'):
52 if hasattr(process,
'digitisation_step'):
54 if hasattr(process,
'dqmoffline_step'):
66 if hasattr(process,
'digitisation_step'):
78 if hasattr(process,
'digitisation_step'):
90 from L1Trigger.L1TCommon.customsPostLS1
import customiseSimL1EmulatorForPostLS1_Additional_HI
119 alist=[
'RAWDEBUG',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'GENRAW',
'RAWSIMHLT',
'FEVT']
122 if hasattr(process,b):
123 getattr(process,b).outputCommands.append(
'keep *_simMuonCSCDigis_*_*')
124 getattr(process,b).outputCommands.append(
'keep *_simMuonRPCDigis_*_*')
125 getattr(process,b).outputCommands.append(
'keep *_simHcalUnsuppressedDigis_*_*')
133 process.l1tCsctf.gangedME11a = cms.untracked.bool(
False)
135 if hasattr(process,
'HBHENoiseFilterResultProducer'):
136 process.HBHENoiseFilterResultProducer.IgnoreTS4TS5ifJetInLowBVRegion = cms.bool(
False)
142 if hasattr(process,
'HBHENoiseFilterResultProducer'):
143 process.HBHENoiseFilterResultProducer.defaultDecision = cms.string(
"HBHENoiseFilterResultRun2Loose")
157 process.g4SimHits.HFShowerLibrary.FileName =
'SimG4CMS/Calo/data/HFShowerLibrary_npmt_noatt_eta4_16en_v3.root'
161 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers'):
162 if hasattr(process.mix.digitizers,
'hcal'):
163 process.mix.digitizers.hcal.minFCToDelay=5.
164 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf1'):
165 process.mix.digitizers.hcal.hf1.samplingFactor = cms.double(0.67)
166 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf2'):
167 process.mix.digitizers.hcal.hf2.samplingFactor = cms.double(0.67)
169 if hasattr(process,
'mixData'):
172 if hasattr(process.mixData,
'hf1'):
173 process.mixData.hf1.samplingFactor = cms.double(0.67)
174 if hasattr(process.mixData,
'hf2'):
175 process.mixData.hf2.samplingFactor = cms.double(0.67)
177 if hasattr(process,
'hltHbhereco'):
178 process.hltHbhereco.timeSlewPars = cms.vdouble( 12.2999, -2.19142, 0, 12.2999, -2.19142, 0, 12.2999, -2.19142, 0 )
179 process.hltHbhereco.respCorrM3 = cms.double( 0.95 )
186 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers'):
187 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'ho'):
188 process.mix.digitizers.hcal.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
189 process.mix.digitizers.hcal.ho.siPMCode = cms.int32(1)
190 process.mix.digitizers.hcal.ho.pixels = cms.int32(2500)
191 process.mix.digitizers.hcal.ho.doSiPMSmearing = cms.bool(
False)
192 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf1'):
193 process.mix.digitizers.hcal.hf1.samplingFactor = cms.double(0.60)
194 if hasattr(process.mix.digitizers,
'hcal')
and hasattr(process.mix.digitizers.hcal,
'hf2'):
195 process.mix.digitizers.hcal.hf2.samplingFactor = cms.double(0.60)
199 if hasattr(process,
'mixData'):
200 if hasattr(process.mixData,
'ho'):
201 process.mixData.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
202 process.mixData.ho.siPMCode = cms.int32(1)
203 process.mixData.ho.pixels = cms.int32(2500)
204 process.mixData.ho.doSiPMSmearing = cms.bool(
False)
205 if hasattr(process.mixData,
'hf1'):
206 process.mixData.hf1.samplingFactor = cms.double(0.60)
207 if hasattr(process.mixData,
'hf2'):
208 process.mixData.hf2.samplingFactor = cms.double(0.60)
213 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers'):
214 if hasattr(process.mix.digitizers,
'pixel'):
216 process.mix.digitizers.pixel.theInstLumiScaleFactor = cms.double(246.4)
217 process.mix.digitizers.pixel.theLadderEfficiency_BPix1 = cms.vdouble(
239 process.mix.digitizers.pixel.theLadderEfficiency_BPix2 = cms.vdouble(
273 process.mix.digitizers.pixel.theLadderEfficiency_BPix3 = cms.vdouble(
319 if hasattr(process,
'mixData'):
321 process.mixData.theInstLumiScaleFactor = cms.double(246.4)
322 process.mixData.theLadderEfficiency_BPix1 = cms.vdouble(
344 process.mixData.theLadderEfficiency_BPix2 = cms.vdouble(
378 process.mixData.theLadderEfficiency_BPix3 = cms.vdouble(
428 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers'):
429 if hasattr(process.mix.digitizers,
'pixel'):
431 process.mix.digitizers.pixel.theInstLumiScaleFactor = cms.double(364)
432 process.mix.digitizers.pixel.theLadderEfficiency_BPix1 = cms.vdouble(
454 process.mix.digitizers.pixel.theLadderEfficiency_BPix2 = cms.vdouble(
488 process.mix.digitizers.pixel.theLadderEfficiency_BPix3 = cms.vdouble(
534 process.mix.digitizers.pixel.theModuleEfficiency_BPix1 = cms.vdouble(
540 process.mix.digitizers.pixel.theModuleEfficiency_BPix2 = cms.vdouble(
546 process.mix.digitizers.pixel.theModuleEfficiency_BPix3 = cms.vdouble(
552 process.mix.digitizers.pixel.thePUEfficiency_BPix1 = cms.vdouble(
558 process.mix.digitizers.pixel.thePUEfficiency_BPix2 = cms.vdouble(
564 process.mix.digitizers.pixel.thePUEfficiency_BPix3 = cms.vdouble(
570 if hasattr(process,
'mixData'):
572 process.mixData.theInstLumiScaleFactor = cms.double(364)
573 process.mixData.theLadderEfficiency_BPix1 = cms.vdouble(
595 process.mixData.theLadderEfficiency_BPix2 = cms.vdouble(
629 process.mixData.theLadderEfficiency_BPix3 = cms.vdouble(
675 process.mixData.theModuleEfficiency_BPix1 = cms.vdouble(
681 process.mixData.theModuleEfficiency_BPix2 = cms.vdouble(
687 process.mixData.theModuleEfficiency_BPix3 = cms.vdouble(
693 process.mixData.thePUEfficiency_BPix1 = cms.vdouble(
699 process.mixData.thePUEfficiency_BPix2 = cms.vdouble(
705 process.mixData.thePUEfficiency_BPix3 = cms.vdouble(
719 process.RawToDigi.remove(process.gtEvmDigis)
733 if hasattr(process,
'particleFlowRecHitHO'):
734 for prod
in process.particleFlowRecHitHO.producers:
735 prod.qualityTests = cms.VPSet(
737 name = cms.string(
"PFRecHitQTestThreshold"),
738 threshold = cms.double(0.05)
741 name = cms.string(
"PFRecHitQTestHCALChannel"),
742 maxSeverities = cms.vint32(11),
743 cleaningThresholds = cms.vdouble(0.0),
744 flags = cms.vstring(
'Standard')
750 for p
in process.particleFlowClusterHO.seedFinder.thresholdsByDetector:
751 p.seedingThreshold = cms.double(0.08)
753 for p
in process.particleFlowClusterHO.initialClusteringStep.thresholdsByDetector:
754 p.gatheringThreshold = cms.double(0.05)
756 for p
in process.particleFlowClusterHO.pfClusterBuilder.recHitEnergyNorms:
757 p.recHitEnergyNorm = cms.double(0.05)
759 process.particleFlowClusterHO.pfClusterBuilder.positionCalc.logWeightDenominator = cms.double(0.05)
760 process.particleFlowClusterHO.pfClusterBuilder.allCellsPositionCalc.logWeightDenominator = cms.double(0.05)
774 alist=[
'AODSIM',
'RECOSIM',
'FEVTSIM',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'RECODEBUG',
'RAWRECOSIMHLT',
'RAWRECODEBUGHLT']
777 if hasattr(process,b):
778 getattr(process,b).outputCommands.append(
'keep *_simMuonCSCDigis_*_*')
779 getattr(process,b).outputCommands.append(
'keep *_simMuonRPCDigis_*_*')
780 getattr(process,b).outputCommands.append(
'keep *_simHcalUnsuppressedDigis_*_*')
781 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