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 hcalLocalRecoSequence = cms.Sequence(hbhereco+hfreco+horeco+zdcreco)
85 _phase1_hcalLocalRecoSequence = hcalLocalRecoSequence.copy()
86 _phase1_hcalLocalRecoSequence.insert(0,hfprereco)
87 run2_HF_2017.toReplaceWith(hcalLocalRecoSequence, _phase1_hcalLocalRecoSequence)
90 _plan1_hcalLocalRecoSequence = _phase1_hcalLocalRecoSequence.copy()
91 hbheprereco = hbhereco.clone()
92 _plan1_hcalLocalRecoSequence.insert(0,hbheprereco)
93 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff
import run2_HEPlan1_2017
94 run2_HEPlan1_2017.toReplaceWith(hbhereco, hbheplan1)
95 run2_HEPlan1_2017.toReplaceWith(hcalLocalRecoSequence, _plan1_hcalLocalRecoSequence)
97 hbhecollapse = hbheplan1.clone()
98 _collapse_hcalLocalRecoSequence = _phase1_hcalLocalRecoSequence.copy()
99 _collapse_hcalLocalRecoSequence.insert(0,hbheprereco)
100 from Configuration.ProcessModifiers.run2_HECollapse_2018_cff
import run2_HECollapse_2018
101 run2_HECollapse_2018.toReplaceWith(hbhereco, hbhecollapse)
102 run2_HECollapse_2018.toReplaceWith(hcalLocalRecoSequence, _collapse_hcalLocalRecoSequence)
104 calolocalrecoCosmics = cms.Sequence(ecalLocalRecoSequenceCosmics+hcalLocalRecoSequence)
110 calolocalrecoCosmicsNZS = cms.Sequence(ecalLocalRecoSequenceCosmics+hcalLocalRecoSequence+hcalLocalRecoSequenceNZS)