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.HcalReLabel.RelabelHits = cms.untracked.bool(
True)
10 process.es_hardcode.HEreCalibCutoff = cms.double(20.)
12 process.es_hardcode.toGet = cms.untracked.vstring(
18 if hasattr(process,
'g4SimHits'):
20 if hasattr(process,
'validation_step'):
27 process.load(
"CalibCalorimetry/HcalPlugins/Hcal_Conditions_forGlobalTag_cff")
28 process.es_hardcode.toGet = cms.untracked.vstring(
50 process.es_hardcode.HcalReLabel.RelabelHits=cms.untracked.bool(
True)
52 process.es_hardcode.GainWidthsForTrigPrims = cms.bool(
True)
53 process.es_hardcode.HEreCalibCutoff = cms.double(100.)
56 if hasattr(process,
'g4SimHits'):
58 if hasattr(process,
'DigiToRaw'):
60 if hasattr(process,
'RawToDigi'):
62 if hasattr(process,
'digitisation_step'):
64 if hasattr(process,
'reconstruction_step'):
66 if hasattr(process,
'dqmoffline_step'):
68 if hasattr(process,
'dqmHarvesting'):
70 if hasattr(process,
'validation_step'):
77 process.g4SimHits.HCalSD.TestNumberingScheme =
True
82 process.digi2raw_step.remove(process.hcalRawData)
87 process.raw2digi_step.remove(process.hcalDigis)
92 if hasattr(process,
'mix'):
93 process.mix.digitizers.hcal.HBHEUpgradeQIE =
True
94 process.mix.digitizers.hcal.hb.siPMCells = cms.vint32([1])
95 process.mix.digitizers.hcal.hb.photoelectronsToAnalog = cms.vdouble([10.]*16)
96 process.mix.digitizers.hcal.hb.pixels = cms.int32(4500*4*2)
97 process.mix.digitizers.hcal.he.photoelectronsToAnalog = cms.vdouble([10.]*16)
98 process.mix.digitizers.hcal.he.pixels = cms.int32(4500*4*2)
99 process.mix.digitizers.hcal.HFUpgradeQIE =
True
100 process.mix.digitizers.hcal.HcalReLabel.RelabelHits=cms.untracked.bool(
True)
102 if hasattr(process,
'simHcalDigis'):
103 process.simHcalDigis.useConfigZSvalues=cms.int32(1)
104 process.simHcalDigis.HBlevel=cms.int32(16)
105 process.simHcalDigis.HElevel=cms.int32(16)
106 process.simHcalDigis.HOlevel=cms.int32(16)
107 process.simHcalDigis.HFlevel=cms.int32(16)
109 process.digitisation_step.remove(process.simHcalTriggerPrimitiveDigis)
110 process.digitisation_step.remove(process.simHcalTTPDigis)
116 process.towerMaker.hfInput = cms.InputTag(
"hfUpgradeReco")
117 process.towerMaker.hbheInput = cms.InputTag(
"hbheUpgradeReco")
118 process.towerMakerPF.hfInput = cms.InputTag(
"hfUpgradeReco")
119 process.towerMakerPF.hbheInput = cms.InputTag(
"hbheUpgradeReco")
120 process.towerMakerWithHO.hfInput = cms.InputTag(
"hfUpgradeReco")
121 process.towerMakerWithHO.hbheInput = cms.InputTag(
"hbheUpgradeReco")
122 process.particleFlowRecHitHCAL.hcalRecHitsHBHE = cms.InputTag(
"hbheUpgradeReco")
123 process.particleFlowRecHitHCAL.hcalRecHitsHF = cms.InputTag(
"hfUpgradeReco")
124 process.ak4JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
125 process.ak4JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
126 process.ak7JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
127 process.ak7JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
128 process.ca4JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
129 process.ca4JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
130 process.ca6JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
131 process.ca6JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
132 process.gk5JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
133 process.gk5JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
134 process.gk7JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
135 process.gk7JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
136 process.ic5JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
137 process.ic5JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
138 process.ic7JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
139 process.ic7JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
140 process.kt4JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
141 process.kt4JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
142 process.kt6JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
143 process.kt6JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
144 process.sc5JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
145 process.sc5JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
146 process.sc7JetID.hfRecHitsColl = cms.InputTag(
"hfUpgradeReco")
147 process.sc7JetID.hbheRecHitsColl = cms.InputTag(
"hbheUpgradeReco")
148 process.hfEMClusters.hits = cms.InputTag(
"hfUpgradeReco")
149 process.caloRecoTauProducer.TrackAssociatorParameters.HBHERecHitCollectionLabel = cms.InputTag(
"hbheUpgradeReco")
150 process.caloRecoTauProducer.HFRecHitCollection=cms.InputTag(
"hfUpgradeReco")
152 process.muons1stStep.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
153 process.muons1stStep.CaloExtractorPSet.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
154 process.muons1stStep.JetExtractorPSet.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
156 process.muonsFromCosmics.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
157 process.muonsFromCosmics.CaloExtractorPSet.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
158 process.muonsFromCosmics.JetExtractorPSet.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
159 process.muonsFromCosmics1Leg.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
160 process.muonsFromCosmics1Leg.CaloExtractorPSet.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
161 process.muonsFromCosmics1Leg.JetExtractorPSet.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
163 process.interestingTrackEcalDetIds.TrackAssociatorParameters.HBHERecHitCollectionLabel=cms.InputTag(
"hbheUpgradeReco")
165 process.hcalnoise.recHitCollName=cms.string(
'hbheUpgradeReco')
166 process.reducedHcalRecHits.hfTag=cms.InputTag(
"hfUpgradeReco")
167 process.reducedHcalRecHits.hbheTag=cms.InputTag(
"hbheUpgradeReco")
169 process.caloRecoTauProducer.HBHERecHitCollection=cms.InputTag(
"hbheUpgradeReco")
170 process.caloRecoTauProducer.HFRecHitCollection=cms.InputTag(
"hfUpgradeReco")
172 process.load(
"RecoLocalCalo.HcalRecProducers.HBHEUpgradeReconstructor_cfi")
173 process.load(
"RecoLocalCalo.HcalRecProducers.HFUpgradeReconstructor_cfi")
176 process.reconstruction_step.replace(process.hfreco,process.hfUpgradeReco)
177 process.reconstruction_step.remove(process.hbhereco)
178 process.reconstruction_step.replace(process.hbheprereco,process.hbheUpgradeReco)
180 process.horeco.digiLabel =
"simHcalDigis"
181 process.hbhereco.digiLabel = cms.InputTag(
"simHcalDigis",
"HBHEUpgradeDigiCollection")
182 process.hfreco.digiLabel = cms.InputTag(
"simHcalDigis",
"HBHEUpgradeDigiCollection")
184 process.zdcreco.digiLabel =
"simHcalUnsuppressedDigis"
185 process.hcalnoise.digiCollName=cms.string(
'simHcalDigis')
188 process.reconstruction_step.remove(process.castorreco)
189 process.reconstruction_step.remove(process.CastorTowerReco)
190 process.reconstruction_step.remove(process.ak7CastorJets)
191 process.reconstruction_step.remove(process.ak7CastorJetID)
195 process.dqmoffline_step.remove(process.hcalDigiMonitor)
196 process.dqmoffline_step.remove(process.hcalDeadCellMonitor)
197 process.dqmoffline_step.remove(process.hcalBeamMonitor)
198 process.dqmoffline_step.remove(process.hcalRecHitMonitor)
199 process.dqmoffline_step.remove(process.hcalDetDiagNoiseMonitor)
200 process.dqmoffline_step.remove(process.hcalNoiseMonitor)
201 process.dqmoffline_step.remove(process.RecHitsDQMOffline)
202 process.dqmoffline_step.remove(process.zdcMonitor)
203 process.dqmoffline_step.remove(process.hcalMonitor)
204 process.dqmoffline_step.remove(process.hcalHotCellMonitor)
205 process.dqmoffline_step.remove(process.hcalRawDataMonitor)
206 process.ExoticaDQM.JetIDParams.hbheRecHitsColl=cms.InputTag(
"hbheUpgradeReco")
207 process.ExoticaDQM.JetIDParams.hfRecHitsColl=cms.InputTag(
"hfUpgradeReco")
214 process.validation_step.remove(process.AllHcalDigisValidation)
215 process.validation_step.remove(process.RecHitsValidation)
216 process.validation_step.remove(process.globalhitsanalyze)
def customise_DQM
process.load("RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_ho_cfi")
def customise_condOverRides