1 import FWCore.ParameterSet.Config
as cms
23 tsFromDB = cms.bool(
False),
24 recoParamsFromDB = cms.bool(
False),
26 useM2 = cms.bool(
False),
27 useM3 = cms.bool(
False),
28 firstSampleShift = cms.int32(-1000),
29 samplesToAdd = cms.int32(10),
30 correctForPhaseContainment = cms.bool(
False),
32 sipmQTSShift = cms.int32(-100),
33 sipmQNTStoSum = cms.int32(200),
37 hfreco = _hcalLocalReco_cff._default_hfreco.clone(
40 correctForTimeslew =
False,
41 correctForPhaseContainment =
False,
43 recoParamsFromDB = cms.bool(
False),
44 digiTimeFromDB =
False,
46 horeco = _hcalLocalReco_cff.horeco.clone(
49 correctForTimeslew =
False,
50 correctForPhaseContainment =
False,
52 recoParamsFromDB = cms.bool(
False),
54 zdcreco = _hcalLocalReco_cff.zdcreco.clone(
57 correctForTimeslew =
True,
58 correctForPhaseContainment =
True,
59 correctionPhaseNS = 10.,
63 from Configuration.Eras.Modifier_run2_HF_2017_cff
import run2_HF_2017
65 _phase1_hfreco = _hcalLocalReco_cff._phase1_hfreco.clone(
67 Class = cms.string(
"HFSimpleTimeCheck"),
68 rejectAllFailures = cms.bool(
False),
73 run2_HF_2017.toReplaceWith(hfreco, _phase1_hfreco )
75 hfprereco = _hcalLocalReco_cff.hfprereco.clone(
76 sumAllTimeSlices = cms.bool(
True)
79 from RecoLocalCalo.HcalRecProducers.hbheplan1_cfi
import hbheplan1
82 hcalLocalRecoSequence = cms.Sequence(hbhereco+hfreco+horeco+zdcreco)
84 _phase1_hcalLocalRecoSequence = hcalLocalRecoSequence.copy()
85 _phase1_hcalLocalRecoSequence.insert(0,hfprereco)
86 run2_HF_2017.toReplaceWith(hcalLocalRecoSequence, _phase1_hcalLocalRecoSequence)
89 _plan1_hcalLocalRecoSequence = _phase1_hcalLocalRecoSequence.copy()
90 hbheprereco = hbhereco.clone()
91 _plan1_hcalLocalRecoSequence.insert(0,hbheprereco)
92 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff
import run2_HEPlan1_2017
93 run2_HEPlan1_2017.toReplaceWith(hbhereco, hbheplan1)
94 run2_HEPlan1_2017.toReplaceWith(hcalLocalRecoSequence, _plan1_hcalLocalRecoSequence)
96 hbhecollapse = hbheplan1.clone()
97 _collapse_hcalLocalRecoSequence = _phase1_hcalLocalRecoSequence.copy()
98 _collapse_hcalLocalRecoSequence.insert(0,hbheprereco)
99 from Configuration.ProcessModifiers.run2_HECollapse_2018_cff
import run2_HECollapse_2018
100 run2_HECollapse_2018.toReplaceWith(hbhereco, hbhecollapse)
101 run2_HECollapse_2018.toReplaceWith(hcalLocalRecoSequence, _collapse_hcalLocalRecoSequence)
103 calolocalrecoCosmics = cms.Sequence(ecalLocalRecoSequenceCosmics+hcalLocalRecoSequence)
109 calolocalrecoCosmicsNZS = cms.Sequence(ecalLocalRecoSequenceCosmics+hcalLocalRecoSequence+hcalLocalRecoSequenceNZS)