1 import FWCore.ParameterSet.Config
as cms
3 import RecoLocalCalo.HcalRecProducers.HBHEPhase1Reconstructor_cfi
4 hbherecoMB = RecoLocalCalo.HcalRecProducers.HBHEPhase1Reconstructor_cfi.hbheprereco.clone(
5 dropZSmarkedPassed = cms.bool(
False),
7 useM2 = cms.bool(
False),
8 useM3 = cms.bool(
False)
10 processQIE11 = cms.bool(
False),
11 setNegativeFlagsQIE8 = cms.bool(
False),
12 setNegativeFlagsQIE11 = cms.bool(
False),
13 setNoiseFlagsQIE8 = cms.bool(
True),
14 setNoiseFlagsQIE11 = cms.bool(
False),
15 setPulseShapeFlagsQIE8 = cms.bool(
False),
16 setPulseShapeFlagsQIE11 = cms.bool(
False),
17 setLegacyFlagsQIE8 = cms.bool(
False),
18 setLegacyFlagsQIE11 = cms.bool(
False),
21 import RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hf_cfi
22 hfrecoMB = RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_hf_cfi.hfreco.clone()
24 import RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_ho_cfi
25 horecoMB = RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_ho_cfi.horeco.clone()
28 hfrecoMB.dropZSmarkedPassed = cms.bool(
False)
29 horecoMB.dropZSmarkedPassed = cms.bool(
False)
31 hcalLocalRecoSequenceNZS = cms.Sequence(hbherecoMB*hfrecoMB*horecoMB)
33 import RecoLocalCalo.HcalRecProducers.hfprereco_cfi
34 import RecoLocalCalo.HcalRecProducers.HFPhase1Reconstructor_cfi
36 hfprerecoMB = RecoLocalCalo.HcalRecProducers.hfprereco_cfi.hfprereco.clone(
37 dropZSmarkedPassed = cms.bool(
False)
39 _phase1_hfrecoMB = RecoLocalCalo.HcalRecProducers.HFPhase1Reconstructor_cfi.hfreco.clone(
40 inputLabel = cms.InputTag(
"hfprerecoMB"),
41 setNoiseFlags = cms.bool(
False),
43 Class = cms.string(
"HFSimpleTimeCheck"),
44 rejectAllFailures = cms.bool(
False)
47 import RecoLocalCalo.HcalRecProducers.hbheplan1_cfi
48 hbheplan1MB = RecoLocalCalo.HcalRecProducers.hbheplan1_cfi.hbheplan1.clone(
49 hbheInput = cms.InputTag(
"hbheprerecoMB")
52 _phase1_hcalLocalRecoSequenceNZS = hcalLocalRecoSequenceNZS.copy()
53 _phase1_hcalLocalRecoSequenceNZS.insert(0,hfprerecoMB)
55 from Configuration.Eras.Modifier_run2_HF_2017_cff
import run2_HF_2017
56 run2_HF_2017.toReplaceWith( hcalLocalRecoSequenceNZS, _phase1_hcalLocalRecoSequenceNZS )
57 run2_HF_2017.toReplaceWith( hfrecoMB, _phase1_hfrecoMB )
58 from Configuration.Eras.Modifier_run2_HCAL_2017_cff
import run2_HCAL_2017
59 run2_HCAL_2017.toModify( hbherecoMB,
60 processQIE11 = cms.bool(
True),
65 _plan1_hcalLocalRecoSequenceNZS = _phase1_hcalLocalRecoSequenceNZS.copy()
66 hbheprerecoMB = hbherecoMB.clone()
67 _plan1_hcalLocalRecoSequenceNZS.insert(0,hbheprerecoMB)
68 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff
import run2_HEPlan1_2017
69 run2_HEPlan1_2017.toReplaceWith(hbherecoMB, hbheplan1MB)
70 run2_HEPlan1_2017.toReplaceWith(hcalLocalRecoSequenceNZS, _plan1_hcalLocalRecoSequenceNZS)