1 import FWCore.ParameterSet.Config
as cms
4 hcalOOTPileupESProducer = cms.ESProducer(
'OOTPileupDBCompatibilityESProducer')
6 from RecoLocalCalo.HcalRecProducers.HBHEPhase1Reconstructor_cfi
import hbheprereco
as _phase1_hbheprereco
7 hbheprereco = _phase1_hbheprereco.clone(
8 processQIE11 = cms.bool(
False),
9 tsFromDB = cms.bool(
True),
10 pulseShapeParametersQIE8 =
dict(
11 TrianglePeakTS = cms.uint32(4),
18 hcalLocalRecoSequence = cms.Sequence(hbheprereco+hfreco+horeco+zdcreco)
20 from RecoLocalCalo.HcalRecProducers.hfprereco_cfi
import hfprereco
21 from RecoLocalCalo.HcalRecProducers.HFPhase1Reconstructor_cfi
import hfreco
as _phase1_hfreco
22 from RecoLocalCalo.HcalRecProducers.hbheplan1_cfi
import hbheplan1
25 _default_hfreco = hfreco.clone()
27 _phase1_hcalLocalRecoSequence = hcalLocalRecoSequence.copy()
28 _phase1_hcalLocalRecoSequence.insert(0,hfprereco)
30 from Configuration.Eras.Modifier_run2_HF_2017_cff
import run2_HF_2017
31 run2_HF_2017.toReplaceWith( hcalLocalRecoSequence, _phase1_hcalLocalRecoSequence )
32 run2_HF_2017.toReplaceWith( hfreco, _phase1_hfreco )
33 from Configuration.Eras.Modifier_run2_HCAL_2017_cff
import run2_HCAL_2017
34 run2_HCAL_2017.toReplaceWith( hbheprereco, _phase1_hbheprereco )
36 _plan1_hcalLocalRecoSequence = _phase1_hcalLocalRecoSequence.copy()
37 _plan1_hcalLocalRecoSequence += hbheplan1
38 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff
import run2_HEPlan1_2017
39 run2_HEPlan1_2017.toReplaceWith(hcalLocalRecoSequence, _plan1_hcalLocalRecoSequence)
41 _phase2_hcalLocalRecoSequence = hcalLocalRecoSequence.copy()
42 _phase2_hcalLocalRecoSequence.remove(hbheprereco)
44 from Configuration.Eras.Modifier_phase2_hcal_cff
import phase2_hcal
45 phase2_hcal.toModify( horeco, digiLabel = cms.InputTag(
'simHcalDigis') )
46 phase2_hcal.toModify( hfprereco, digiLabel = cms.InputTag(
'simHcalDigis',
'HFQIE10DigiCollection') )
47 phase2_hcal.toModify( zdcreco, digiLabel = cms.InputTag(
'simHcalUnsuppressedDigis'), digiLabelhcal = cms.InputTag(
'simHcalUnsuppressedDigis') )
48 phase2_hcal.toReplaceWith( hcalLocalRecoSequence, _phase2_hcalLocalRecoSequence )