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)
8 process.mix.digitizers.hcal.HcalReLabel.RelabelRules.Eta1 = cms.untracked.vint32(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)
9 process.mix.digitizers.hcal.HcalReLabel.RelabelRules.Eta16 = cms.untracked.vint32(1,1,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3)
10 process.mix.digitizers.hcal.HcalReLabel.RelabelRules.Eta17 = cms.untracked.vint32(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)
11 process.mix.digitizers.hcal.HcalReLabel.RelabelRules.Eta18 = cms.untracked.vint32(1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2)
12 process.mix.digitizers.hcal.HcalReLabel.RelabelRules.Eta19 = cms.untracked.vint32(1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2)
13 process.mix.digitizers.hcal.HcalReLabel.RelabelRules.Eta27 = cms.untracked.vint32(1,1,1,1,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3)
15 process.es_hardcode.HcalReLabel.RelabelHits = cms.untracked.bool(
True)
16 process.es_hardcode.HcalReLabel.RelabelRules.Eta1 = cms.untracked.vint32(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)
17 process.es_hardcode.HcalReLabel.RelabelRules.Eta16 = cms.untracked.vint32(1,1,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3)
18 process.es_hardcode.HcalReLabel.RelabelRules.Eta17 = cms.untracked.vint32(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)
19 process.es_hardcode.HcalReLabel.RelabelRules.Eta18 = cms.untracked.vint32(1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2)
20 process.es_hardcode.HcalReLabel.RelabelRules.Eta19 = cms.untracked.vint32(1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2)
21 process.es_hardcode.HcalReLabel.RelabelRules.Eta27 = cms.untracked.vint32(1,1,1,1,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3)
22 process.es_hardcode.HEreCalibCutoff = cms.double(20.)
24 process.es_hardcode.toGet = cms.untracked.vstring(
30 if hasattr(process,
'g4SimHits'):
32 if hasattr(process,
'validation_step'):
39 process.load(
"CalibCalorimetry/HcalPlugins/Hcal_Conditions_forGlobalTag_cff")
40 process.es_hardcode.toGet = cms.untracked.vstring(
61 process.es_hardcode.hcalTopologyConstants.mode=cms.string(
'HcalTopologyMode::SLHC')
62 process.es_hardcode.hcalTopologyConstants.maxDepthHB=cms.int32(3)
63 process.es_hardcode.hcalTopologyConstants.maxDepthHB=cms.int32(3)
64 process.es_hardcode.hcalTopologyConstants.maxDepthHE=cms.int32(5)
65 process.es_hardcode.HcalReLabel.RelabelHits=cms.untracked.bool(
True)
67 process.es_hardcode.GainWidthsForTrigPrims = cms.bool(
True)
68 process.es_hardcode.HEreCalibCutoff = cms.double(100.)
70 process.hcalTopologyIdeal.hcalTopologyConstants.mode=cms.string(
'HcalTopologyMode::SLHC')
71 process.hcalTopologyIdeal.hcalTopologyConstants.maxDepthHB=cms.int32(3)
72 process.hcalTopologyIdeal.hcalTopologyConstants.maxDepthHE=cms.int32(5)
75 if hasattr(process,
'g4SimHits'):
77 if hasattr(process,
'DigiToRaw'):
79 if hasattr(process,
'RawToDigi'):
81 if hasattr(process,
'digitisation_step'):
83 if hasattr(process,
'reconstruction_step'):
85 if hasattr(process,
'dqmoffline_step'):
87 if hasattr(process,
'dqmHarvesting'):
89 if hasattr(process,
'validation_step'):
96 process.g4SimHits.HCalSD.TestNumberingScheme =
True
101 process.digi2raw_step.remove(process.hcalRawData)
106 process.raw2digi_step.remove(process.hcalDigis)
111 if hasattr(process,
'mix'):
112 process.mix.digitizers.hcal.HBHEUpgradeQIE =
True
113 process.mix.digitizers.hcal.hb.siPMCells = cms.vint32([1])
114 process.mix.digitizers.hcal.hb.photoelectronsToAnalog = cms.vdouble([10.]*16)
115 process.mix.digitizers.hcal.hb.pixels = cms.int32(4500*4*2)
116 process.mix.digitizers.hcal.he.photoelectronsToAnalog = cms.vdouble([10.]*16)
117 process.mix.digitizers.hcal.he.pixels = cms.int32(4500*4*2)
118 process.mix.digitizers.hcal.HFUpgradeQIE =
True
119 process.mix.digitizers.hcal.HcalReLabel.RelabelHits=cms.untracked.bool(
True)
121 if hasattr(process,
'HcalTPGCoderULUT'):
122 process.HcalTPGCoderULUT.hcalTopologyConstants.mode=cms.string(
'HcalTopologyMode::SLHC')
123 process.HcalTPGCoderULUT.hcalTopologyConstants.maxDepthHB=cms.int32(3)
124 process.HcalTPGCoderULUT.hcalTopologyConstants.maxDepthHE=cms.int32(5)
126 if hasattr(process,
'simHcalDigis'):
127 process.simHcalDigis.useConfigZSvalues=cms.int32(1)
128 process.simHcalDigis.HBlevel=cms.int32(16)
129 process.simHcalDigis.HElevel=cms.int32(16)
130 process.simHcalDigis.HOlevel=cms.int32(16)
131 process.simHcalDigis.HFlevel=cms.int32(16)
133 process.digitisation_step.remove(process.simHcalTriggerPrimitiveDigis)
134 process.digitisation_step.remove(process.simHcalTTPDigis)
140 process.towerMaker.hfInput = cms.InputTag(
"hfUpgradeReco")
141 process.towerMaker.hbheInput = cms.InputTag(
"hbheUpgradeReco")
142 process.towerMakerPF.hfInput = cms.InputTag(
"hfUpgradeReco")
143 process.towerMakerPF.hbheInput = cms.InputTag(
"hbheUpgradeReco")
144 process.towerMakerWithHO.hfInput = cms.InputTag(
"hfUpgradeReco")
145 process.towerMakerWithHO.hbheInput = cms.InputTag(
"hbheUpgradeReco")
146 process.particleFlowRecHitHCAL.hcalRecHitsHBHE = cms.InputTag(
"hbheUpgradeReco")
147 process.particleFlowRecHitHCAL.hcalRecHitsHF = cms.InputTag(
"hfUpgradeReco")
148 process.ak4JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
149 process.ak4JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
150 process.ak7JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
151 process.ak7JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
152 process.ca4JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
153 process.ca4JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
154 process.ca6JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
155 process.ca6JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
156 process.gk5JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
157 process.gk5JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
158 process.gk7JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
159 process.gk7JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
160 process.ic5JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
161 process.ic5JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
162 process.ic7JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
163 process.ic7JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
164 process.kt4JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
165 process.kt4JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
166 process.kt6JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
167 process.kt6JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
168 process.sc5JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
169 process.sc5JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
170 process.sc7JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
171 process.sc7JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
172 process.hfEMClusters.hits = cms.InputTag(
"hfUpgradeReco")
173 process.caloRecoTauProducer.TrackAssociatorParameters.HBHERecHitCollectionLabel = cms.InputTag(
"hbheUpgradeReco")
174 process.caloRecoTauProducer.HFRecHitCollection=cms.InputTag(
"hfUpgradeReco")
176 process.muons1stStep.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
177 process.muons1stStep.CaloExtractorPSet.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
178 process.muons1stStep.JetExtractorPSet.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
180 process.muonsFromCosmics.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
181 process.muonsFromCosmics.CaloExtractorPSet.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
182 process.muonsFromCosmics.JetExtractorPSet.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
183 process.muonsFromCosmics1Leg.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
184 process.muonsFromCosmics1Leg.CaloExtractorPSet.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
185 process.muonsFromCosmics1Leg.JetExtractorPSet.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
187 process.interestingTrackEcalDetIds.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
189 process.hcalnoise.recHitCollName=cms.string(
'hbheUpgradeReco')
190 process.reducedHcalRecHits.hfTag=cms.InputTag(
"hfUpgradeReco")
191 process.reducedHcalRecHits.hbheTag=cms.InputTag(
"hbheUpgradeReco")
193 process.caloRecoTauProducer.HBHERecHitCollection=cms.InputTag(
"hbheUpgradeReco")
194 process.caloRecoTauProducer.HFRecHitCollection=cms.InputTag(
"hfUpgradeReco")
196 process.load(
"RecoLocalCalo.HcalRecProducers.HBHEUpgradeReconstructor_cfi")
197 process.load(
"RecoLocalCalo.HcalRecProducers.HFUpgradeReconstructor_cfi")
200 process.reconstruction_step.replace(process.hfreco,process.hfUpgradeReco)
201 process.reconstruction_step.remove(process.hbhereco)
202 process.reconstruction_step.replace(process.hbheprereco,process.hbheUpgradeReco)
204 process.horeco.digiLabel =
"simHcalDigis"
205 process.hbhereco.digiLabel = cms.InputTag(
"simHcalDigis",
"HBHEUpgradeDigiCollection")
206 process.hfreco.digiLabel = cms.InputTag(
"simHcalDigis",
"HBHEUpgradeDigiCollection")
208 process.zdcreco.digiLabel =
"simHcalUnsuppressedDigis"
209 process.hcalnoise.digiCollName=cms.string(
'simHcalDigis')
212 process.reconstruction_step.remove(process.castorreco)
213 process.reconstruction_step.remove(process.CastorTowerReco)
214 process.reconstruction_step.remove(process.ak7BasicJets)
215 process.reconstruction_step.remove(process.ak7CastorJetID)
219 process.dqmoffline_step.remove(process.hcalDigiMonitor)
220 process.dqmoffline_step.remove(process.hcalDeadCellMonitor)
221 process.dqmoffline_step.remove(process.hcalBeamMonitor)
222 process.dqmoffline_step.remove(process.hcalRecHitMonitor)
223 process.dqmoffline_step.remove(process.hcalDetDiagNoiseMonitor)
224 process.dqmoffline_step.remove(process.hcalNoiseMonitor)
225 process.dqmoffline_step.remove(process.RecHitsDQMOffline)
226 process.dqmoffline_step.remove(process.zdcMonitor)
227 process.dqmoffline_step.remove(process.hcalMonitor)
228 process.dqmoffline_step.remove(process.hcalHotCellMonitor)
229 process.dqmoffline_step.remove(process.hcalRawDataMonitor)
230 process.ExoticaDQM.JetIDParams.hbheRecHitsColl=cms.InputTag(
"hbheUpgradeReco")
231 process.ExoticaDQM.JetIDParams.hfRecHitsColl=cms.InputTag(
"hfUpgradeReco")
238 process.validation_step.remove(process.AllHcalDigisValidation)
239 process.validation_step.remove(process.RecHitsValidation)
240 process.validation_step.remove(process.globalhitsanalyze)
def customise_DQM
process.load("RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_ho_cfi")
def customise_condOverRides