1 import FWCore.ParameterSet.Config
as cms
4 process.load(
"CalibCalorimetry/HcalPlugins/Hcal_Conditions_forGlobalTag_cff")
6 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers')
and hasattr(process.mix.digitizers,
'hcal'):
7 process.mix.digitizers.hcal.HcalReLabel.RelabelHits=cms.untracked.bool(
True)
9 process.es_hardcode.HEreCalibCutoff = cms.double(20.)
11 process.es_hardcode.toGet = cms.untracked.vstring(
17 if hasattr(process,
'g4SimHits'):
19 if hasattr(process,
'validation_step'):
26 process.load(
"CalibCalorimetry/HcalPlugins/Hcal_Conditions_forGlobalTag_cff")
27 process.es_hardcode.toGet = cms.untracked.vstring(
50 process.es_hardcode.GainWidthsForTrigPrims = cms.bool(
True)
51 process.es_hardcode.HEreCalibCutoff = cms.double(100.)
54 if hasattr(process,
'g4SimHits'):
56 if hasattr(process,
'DigiToRaw'):
58 if hasattr(process,
'RawToDigi'):
60 if hasattr(process,
'digitisation_step'):
62 if hasattr(process,
'reconstruction_step'):
64 if hasattr(process,
'dqmoffline_step'):
66 if hasattr(process,
'dqmHarvesting'):
68 if hasattr(process,
'validation_step'):
75 process.g4SimHits.HCalSD.TestNumberingScheme =
True
80 process.digi2raw_step.remove(process.hcalRawData)
85 process.raw2digi_step.remove(process.hcalDigis)
90 if hasattr(process,
'mix'):
91 process.mix.digitizers.hcal.HBHEUpgradeQIE =
True
92 process.mix.digitizers.hcal.hb.siPMCells = cms.vint32([1])
93 process.mix.digitizers.hcal.hb.photoelectronsToAnalog = cms.vdouble([10.]*16)
94 process.mix.digitizers.hcal.hb.pixels = cms.int32(4500*4*2)
95 process.mix.digitizers.hcal.he.photoelectronsToAnalog = cms.vdouble([10.]*16)
96 process.mix.digitizers.hcal.he.pixels = cms.int32(4500*4*2)
97 process.mix.digitizers.hcal.HFUpgradeQIE =
True
98 process.mix.digitizers.hcal.HcalReLabel.RelabelHits=cms.untracked.bool(
True)
100 if hasattr(process,
'simHcalDigis'):
101 process.simHcalDigis.useConfigZSvalues=cms.int32(1)
102 process.simHcalDigis.HBlevel=cms.int32(16)
103 process.simHcalDigis.HElevel=cms.int32(16)
104 process.simHcalDigis.HOlevel=cms.int32(16)
105 process.simHcalDigis.HFlevel=cms.int32(16)
107 process.digitisation_step.remove(process.simHcalTriggerPrimitiveDigis)
108 process.digitisation_step.remove(process.simHcalTTPDigis)
114 process.towerMaker.hfInput = cms.InputTag(
"hfUpgradeReco")
115 process.towerMaker.hbheInput = cms.InputTag(
"hbheUpgradeReco")
116 process.towerMakerPF.hfInput = cms.InputTag(
"hfUpgradeReco")
117 process.towerMakerPF.hbheInput = cms.InputTag(
"hbheUpgradeReco")
118 process.towerMakerWithHO.hfInput = cms.InputTag(
"hfUpgradeReco")
119 process.towerMakerWithHO.hbheInput = cms.InputTag(
"hbheUpgradeReco")
120 process.particleFlowRecHitHCAL.hcalRecHitsHBHE = cms.InputTag(
"hbheUpgradeReco")
121 process.particleFlowRecHitHCAL.hcalRecHitsHF = cms.InputTag(
"hfUpgradeReco")
122 process.ak4JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
123 process.ak4JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
124 process.ak7JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
125 process.ak7JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
126 process.ca4JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
127 process.ca4JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
128 process.ca6JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
129 process.ca6JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
130 process.gk5JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
131 process.gk5JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
132 process.gk7JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
133 process.gk7JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
134 process.ic5JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
135 process.ic5JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
136 process.ic7JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
137 process.ic7JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
138 process.kt4JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
139 process.kt4JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
140 process.kt6JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
141 process.kt6JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
142 process.sc5JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
143 process.sc5JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
144 process.sc7JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
145 process.sc7JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
146 process.hfEMClusters.hits = cms.InputTag(
"hfUpgradeReco")
147 process.caloRecoTauProducer.TrackAssociatorParameters.HBHERecHitCollectionLabel = cms.InputTag(
"hbheUpgradeReco")
148 process.caloRecoTauProducer.HFRecHitCollection=cms.InputTag(
"hfUpgradeReco")
150 process.muons1stStep.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
151 process.muons1stStep.CaloExtractorPSet.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
152 process.muons1stStep.JetExtractorPSet.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
154 process.muonsFromCosmics.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
155 process.muonsFromCosmics.CaloExtractorPSet.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
156 process.muonsFromCosmics.JetExtractorPSet.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
157 process.muonsFromCosmics1Leg.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
158 process.muonsFromCosmics1Leg.CaloExtractorPSet.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
159 process.muonsFromCosmics1Leg.JetExtractorPSet.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
161 process.interestingTrackEcalDetIds.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
163 process.hcalnoise.recHitCollName=cms.string(
'hbheUpgradeReco')
164 process.reducedHcalRecHits.hfTag=cms.InputTag(
"hfUpgradeReco")
165 process.reducedHcalRecHits.hbheTag=cms.InputTag(
"hbheUpgradeReco")
167 process.caloRecoTauProducer.HBHERecHitCollection=cms.InputTag(
"hbheUpgradeReco")
168 process.caloRecoTauProducer.HFRecHitCollection=cms.InputTag(
"hfUpgradeReco")
170 process.load(
"RecoLocalCalo.HcalRecProducers.HBHEUpgradeReconstructor_cfi")
171 process.load(
"RecoLocalCalo.HcalRecProducers.HFUpgradeReconstructor_cfi")
174 process.reconstruction_step.replace(process.hfreco,process.hfUpgradeReco)
175 process.reconstruction_step.remove(process.hbhereco)
176 process.reconstruction_step.replace(process.hbheprereco,process.hbheUpgradeReco)
178 process.horeco.digiLabel =
"simHcalDigis"
179 process.hbhereco.digiLabel = cms.InputTag(
"simHcalDigis",
"HBHEUpgradeDigiCollection")
180 process.hfreco.digiLabel = cms.InputTag(
"simHcalDigis",
"HBHEUpgradeDigiCollection")
182 process.zdcreco.digiLabel =
"simHcalUnsuppressedDigis"
183 process.hcalnoise.digiCollName=cms.string(
'simHcalDigis')
186 process.reconstruction_step.remove(process.castorreco)
187 process.reconstruction_step.remove(process.CastorTowerReco)
188 process.reconstruction_step.remove(process.ak7CastorJets)
189 process.reconstruction_step.remove(process.ak7CastorJetID)
193 process.dqmoffline_step.remove(process.hcalDigiMonitor)
194 process.dqmoffline_step.remove(process.hcalDeadCellMonitor)
195 process.dqmoffline_step.remove(process.hcalBeamMonitor)
196 process.dqmoffline_step.remove(process.hcalRecHitMonitor)
197 process.dqmoffline_step.remove(process.hcalDetDiagNoiseMonitor)
198 process.dqmoffline_step.remove(process.hcalNoiseMonitor)
199 process.dqmoffline_step.remove(process.RecHitsDQMOffline)
200 process.dqmoffline_step.remove(process.zdcMonitor)
201 process.dqmoffline_step.remove(process.hcalMonitor)
202 process.dqmoffline_step.remove(process.hcalHotCellMonitor)
203 process.dqmoffline_step.remove(process.hcalRawDataMonitor)
204 process.ExoticaDQM.JetIDParams.hbheRecHitsColl=cms.InputTag(
"hbheUpgradeReco")
205 process.ExoticaDQM.JetIDParams.hfRecHitsColl=cms.InputTag(
"hfUpgradeReco")
212 process.validation_step.remove(process.AllHcalDigisValidation)
213 process.validation_step.remove(process.RecHitsValidation)
214 process.validation_step.remove(process.globalhitsanalyze)
def customise_DQM
process.load("RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_ho_cfi")
def customise_condOverRides