1 import FWCore.ParameterSet.Config
as cms
23 tsFromDB = cms.bool(
False),
24 recoParamsFromDB = cms.bool(
False),
26 useMahi = cms.bool(
False),
27 useM2 = cms.bool(
False),
28 useM3 = cms.bool(
False),
29 firstSampleShift = cms.int32(-1000),
30 samplesToAdd = cms.int32(10),
31 correctForPhaseContainment = cms.bool(
False),
33 sipmQTSShift = cms.int32(-100),
34 sipmQNTStoSum = cms.int32(200),
38 hfreco = _hcalLocalReco_cff._default_hfreco.clone(
41 correctForTimeslew =
False,
42 correctForPhaseContainment =
False,
44 recoParamsFromDB = cms.bool(
False),
45 digiTimeFromDB =
False,
47 horeco = _hcalLocalReco_cff.horeco.clone(
50 correctForTimeslew =
False,
51 correctForPhaseContainment =
False,
53 recoParamsFromDB = cms.bool(
False),
55 zdcreco = _hcalLocalReco_cff.zdcreco.clone(
58 correctForTimeslew =
True,
59 correctForPhaseContainment =
True,
60 correctionPhaseNS = 10.,
64 from Configuration.Eras.Modifier_run2_HF_2017_cff
import run2_HF_2017
66 _phase1_hfreco = _hcalLocalReco_cff._phase1_hfreco.clone(
68 Class = cms.string(
"HFSimpleTimeCheck"),
69 rejectAllFailures = cms.bool(
False),
74 run2_HF_2017.toReplaceWith(hfreco, _phase1_hfreco )
76 hfprereco = _hcalLocalReco_cff.hfprereco.clone(
77 sumAllTimeSlices = cms.bool(
True)
80 from RecoLocalCalo.HcalRecProducers.hbheplan1_cfi
import hbheplan1
83 hcalLocalRecoTask = cms.Task(hbhereco,hfreco,horeco,zdcreco)
84 hcalLocalRecoSequence = cms.Sequence(hcalLocalRecoTask)
86 _phase1_hcalLocalRecoTask = hcalLocalRecoTask.copy()
87 _phase1_hcalLocalRecoTask.add(hfprereco)
88 run2_HF_2017.toReplaceWith(hcalLocalRecoTask, _phase1_hcalLocalRecoTask)
91 _plan1_hcalLocalRecoTask = _phase1_hcalLocalRecoTask.copy()
92 hbheprereco = hbhereco.clone()
93 _plan1_hcalLocalRecoTask.add(hbheprereco)
94 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff
import run2_HEPlan1_2017
95 run2_HEPlan1_2017.toReplaceWith(hbhereco, hbheplan1)
96 run2_HEPlan1_2017.toReplaceWith(hcalLocalRecoTask, _plan1_hcalLocalRecoTask)
98 hbhecollapse = hbheplan1.clone()
99 _collapse_hcalLocalRecoTask = _phase1_hcalLocalRecoTask.copy()
100 _collapse_hcalLocalRecoTask.add(hbheprereco)
101 from Configuration.ProcessModifiers.run2_HECollapse_2018_cff
import run2_HECollapse_2018
102 run2_HECollapse_2018.toReplaceWith(hbhereco, hbhecollapse)
103 run2_HECollapse_2018.toReplaceWith(hcalLocalRecoTask, _collapse_hcalLocalRecoTask)
104 calolocalrecoTaskCosmics = cms.Task(ecalLocalRecoTaskCosmics,hcalLocalRecoTask)
105 calolocalrecoCosmics = cms.Sequence(calolocalrecoTaskCosmics)
110 calolocalrecoTaskCosmicsNZS = cms.Task(ecalLocalRecoTaskCosmics,hcalLocalRecoTask,hcalLocalRecoTaskNZS)
111 calolocalrecoCosmicsNZS = cms.Sequence(calolocalrecoTaskCosmicsNZS)