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 hcalLocalRecoTask = cms.Task(hbheprereco,hfreco,horeco,zdcreco)
19 hcalLocalRecoSequence = cms.Sequence(hcalLocalRecoTask)
21 from RecoLocalCalo.HcalRecProducers.hfprereco_cfi
import hfprereco
22 from RecoLocalCalo.HcalRecProducers.HFPhase1Reconstructor_cfi
import hfreco
as _phase1_hfreco
23 from RecoLocalCalo.HcalRecProducers.hbheplan1_cfi
import hbheplan1
26 _default_hfreco = hfreco.clone()
28 _phase1_hcalLocalRecoTask = hcalLocalRecoTask.copy()
29 _phase1_hcalLocalRecoTask.add(hfprereco)
31 from Configuration.Eras.Modifier_run2_HF_2017_cff
import run2_HF_2017
32 run2_HF_2017.toReplaceWith( hcalLocalRecoTask, _phase1_hcalLocalRecoTask )
33 run2_HF_2017.toReplaceWith( hfreco, _phase1_hfreco )
34 from Configuration.Eras.Modifier_run2_HCAL_2017_cff
import run2_HCAL_2017
35 run2_HCAL_2017.toReplaceWith( hbheprereco, _phase1_hbheprereco )
37 _plan1_hcalLocalRecoTask = _phase1_hcalLocalRecoTask.copy()
38 _plan1_hcalLocalRecoTask.add(hbheplan1)
39 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff
import run2_HEPlan1_2017
40 run2_HEPlan1_2017.toReplaceWith(hcalLocalRecoTask, _plan1_hcalLocalRecoTask)
42 hbhecollapse = hbheplan1.clone()
43 _collapse_hcalLocalRecoTask = _phase1_hcalLocalRecoTask.copy()
44 _collapse_hcalLocalRecoTask.add(hbhecollapse)
45 from Configuration.ProcessModifiers.run2_HECollapse_2018_cff
import run2_HECollapse_2018
46 run2_HECollapse_2018.toReplaceWith(hcalLocalRecoTask, _collapse_hcalLocalRecoTask)
48 _phase2_hcalLocalRecoTask = hcalLocalRecoTask.copy()
49 _phase2_hcalLocalRecoTask.remove(hbheprereco)
51 from Configuration.Eras.Modifier_phase2_hcal_cff
import phase2_hcal
52 phase2_hcal.toReplaceWith( hcalLocalRecoTask, _phase2_hcalLocalRecoTask )
55 _fastSim_hcalLocalRecoTask = hcalLocalRecoTask.copyAndExclude([zdcreco])
56 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
57 fastSim.toReplaceWith( hcalLocalRecoTask, _fastSim_hcalLocalRecoTask )