1 import FWCore.ParameterSet.Config
as cms
25 recoParamsFromDB =
False,
30 firstSampleShift = -1000,
32 correctForPhaseContainment =
False,
39 hfreco = _hcalLocalReco_cff._default_hfreco.clone(
42 correctForTimeslew =
False,
43 correctForPhaseContainment =
False,
45 recoParamsFromDB =
False,
46 digiTimeFromDB =
False,
48 horeco = _hcalLocalReco_cff.horeco.clone(
51 correctForTimeslew =
False,
52 correctForPhaseContainment =
False,
54 recoParamsFromDB =
False,
56 zdcreco = _hcalLocalReco_cff.zdcreco.clone(
59 correctForTimeslew =
True,
60 correctForPhaseContainment =
True,
61 correctionPhaseNS = 10.,
65 from Configuration.Eras.Modifier_run2_HF_2017_cff
import run2_HF_2017
67 _phase1_hfreco = _hcalLocalReco_cff._phase1_hfreco.clone(
69 Class =
"HFSimpleTimeCheck",
70 rejectAllFailures =
False,
75 run2_HF_2017.toReplaceWith(hfreco, _phase1_hfreco )
77 hfprereco = _hcalLocalReco_cff.hfprereco.clone(
78 sumAllTimeSlices =
True
81 from RecoLocalCalo.HcalRecProducers.hbheplan1_cfi
import hbheplan1
84 hcalLocalRecoTask = cms.Task(hbhereco,hfreco,horeco,zdcreco)
85 hcalLocalRecoSequence = cms.Sequence(hcalLocalRecoTask)
87 _phase1_hcalLocalRecoTask = hcalLocalRecoTask.copy()
88 _phase1_hcalLocalRecoTask.add(hfprereco)
89 run2_HF_2017.toReplaceWith(hcalLocalRecoTask, _phase1_hcalLocalRecoTask)
92 _plan1_hcalLocalRecoTask = _phase1_hcalLocalRecoTask.copy()
93 hbheprereco = hbhereco.clone()
94 _plan1_hcalLocalRecoTask.add(hbheprereco)
95 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff
import run2_HEPlan1_2017
96 run2_HEPlan1_2017.toReplaceWith(hbhereco, hbheplan1)
97 run2_HEPlan1_2017.toReplaceWith(hcalLocalRecoTask, _plan1_hcalLocalRecoTask)
99 hbhecollapse = hbheplan1.clone()
100 _collapse_hcalLocalRecoTask = _phase1_hcalLocalRecoTask.copy()
101 _collapse_hcalLocalRecoTask.add(hbheprereco)
102 from Configuration.ProcessModifiers.run2_HECollapse_2018_cff
import run2_HECollapse_2018
103 run2_HECollapse_2018.toReplaceWith(hbhereco, hbhecollapse)
104 run2_HECollapse_2018.toReplaceWith(hcalLocalRecoTask, _collapse_hcalLocalRecoTask)
105 calolocalrecoTaskCosmics = cms.Task(ecalLocalRecoTaskCosmics,hcalLocalRecoTask)
106 calolocalrecoCosmics = cms.Sequence(calolocalrecoTaskCosmics)
111 calolocalrecoTaskCosmicsNZS = cms.Task(ecalLocalRecoTaskCosmics,hcalLocalRecoTask,hcalLocalRecoTaskNZS)
112 calolocalrecoCosmicsNZS = cms.Sequence(calolocalrecoTaskCosmicsNZS)