1 import FWCore.ParameterSet.Config
as cms
5 hcalOOTPileupESProducer = cms.ESProducer(
'OOTPileupDBCompatibilityESProducer')
7 from RecoLocalCalo.HcalRecProducers.HBHEPhase1Reconstructor_cfi
import hbheprereco
as _phase1_hbheprereco
8 hbheprereco = _phase1_hbheprereco.clone(
11 pulseShapeParametersQIE8 = dict(
19 hcalLocalRecoTask = cms.Task(hbheprereco,hfreco,horeco,zdcreco)
20 hcalLocalRecoSequence = cms.Sequence(hcalLocalRecoTask)
22 from RecoLocalCalo.HcalRecProducers.hfprereco_cfi
import hfprereco
23 from RecoLocalCalo.HcalRecProducers.HFPhase1Reconstructor_cfi
import hfreco
as _phase1_hfreco
24 from RecoLocalCalo.HcalRecProducers.hbheplan1_cfi
import hbheplan1
27 hcalOnlyLocalRecoTask = cms.Task(hbheprereco,hfprereco,hfreco,horeco)
30 _default_hfreco = hfreco.clone()
33 _phase1_hcalLocalRecoTask = hcalLocalRecoTask.copy()
34 _phase1_hcalLocalRecoTask.add(hfprereco)
36 from Configuration.Eras.Modifier_run2_HF_2017_cff
import run2_HF_2017
37 run2_HF_2017.toReplaceWith( hcalLocalRecoTask, _phase1_hcalLocalRecoTask )
38 run2_HF_2017.toReplaceWith( hfreco, _phase1_hfreco )
39 from Configuration.Eras.Modifier_run2_HCAL_2017_cff
import run2_HCAL_2017
40 run2_HCAL_2017.toReplaceWith( hbheprereco, _phase1_hbheprereco )
42 _plan1_hcalLocalRecoTask = _phase1_hcalLocalRecoTask.copy()
43 _plan1_hcalLocalRecoTask.add(hbheplan1)
44 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff
import run2_HEPlan1_2017
45 run2_HEPlan1_2017.toReplaceWith(hcalLocalRecoTask, _plan1_hcalLocalRecoTask)
47 hbhecollapse = hbheplan1.clone()
48 _collapse_hcalLocalRecoTask = _phase1_hcalLocalRecoTask.copy()
49 _collapse_hcalLocalRecoTask.add(hbhecollapse)
50 from Configuration.ProcessModifiers.run2_HECollapse_2018_cff
import run2_HECollapse_2018
51 run2_HECollapse_2018.toReplaceWith(hcalLocalRecoTask, _collapse_hcalLocalRecoTask)
54 _run3_hcalLocalRecoTask = _phase1_hcalLocalRecoTask.copy()
55 _run3_hcalLocalRecoTask.remove(hbheprereco)
56 from Configuration.Eras.Modifier_run3_HB_cff
import run3_HB
57 run3_HB.toReplaceWith( hcalLocalRecoTask, _run3_hcalLocalRecoTask )
59 _fastSim_hcalLocalRecoTask = hcalLocalRecoTask.copyAndExclude([zdcreco])
60 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
61 fastSim.toReplaceWith( hcalLocalRecoTask, _fastSim_hcalLocalRecoTask )