1 import FWCore.ParameterSet.Config
as cms
10 hcalminbiasHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
12 eventSetupPathsKey=
'HcalCalMinBias',
16 import RecoLocalCalo.HcalRecProducers.HBHEPhase1Reconstructor_cfi
17 hbherecoMBNZS = RecoLocalCalo.HcalRecProducers.HBHEPhase1Reconstructor_cfi.hbheprereco.clone(
18 digiLabelQIE8 = cms.InputTag(
"hcalDigiAlCaMB"),
19 digiLabelQIE11 = cms.InputTag(
"hcalDigiAlCaMB"),
21 dropZSmarkedPassed = cms.bool(
False),
23 useMahi = cms.bool(
False),
24 useM2 = cms.bool(
False),
25 useM3 = cms.bool(
False)
27 processQIE11 = cms.bool(
False),
28 setNegativeFlagsQIE8 = cms.bool(
False),
29 setNegativeFlagsQIE11 = cms.bool(
False),
30 setNoiseFlagsQIE8 = cms.bool(
True),
31 setNoiseFlagsQIE11 = cms.bool(
False),
32 setPulseShapeFlagsQIE8 = cms.bool(
False),
33 setPulseShapeFlagsQIE11 = cms.bool(
False),
34 setLegacyFlagsQIE8 = cms.bool(
False),
35 setLegacyFlagsQIE11 = cms.bool(
False),
38 hbherecoMBNZS.algorithm.firstSampleShift = 0
40 import RecoLocalCalo.HcalRecProducers.hosimplereco_cfi
41 horecoMBNZS = RecoLocalCalo.HcalRecProducers.hosimplereco_cfi.hosimplereco.clone()
43 horecoMBNZS.firstSample = 4
44 horecoMBNZS.samplesToAdd = 4
45 horecoMBNZS.digiLabel =
'hcalDigiAlCaMB' 46 horecoMBNZS.tsFromDB = cms.bool(
False)
47 horecoMBNZS.dropZSmarkedPassed = cms.bool(
False)
49 import RecoLocalCalo.HcalRecProducers.hfsimplereco_cfi
50 hfrecoMBNZS = RecoLocalCalo.HcalRecProducers.hfsimplereco_cfi.hfsimplereco.clone()
52 hfrecoMBNZS.firstSample = 2
53 hfrecoMBNZS.samplesToAdd = 2
54 hfrecoMBNZS.digiLabel =
'hcalDigiAlCaMB' 55 hfrecoMBNZS.tsFromDB = cms.bool(
False)
56 hfrecoMBNZS.dropZSmarkedPassed = cms.bool(
False)
58 seqALCARECOHcalCalMinBiasDigi = cms.Sequence(hcalminbiasHLT*hcalDigiAlCaMB*gtDigisAlCaMB)
59 seqALCARECOHcalCalMinBiasDigiNoHLT = cms.Sequence(hcalDigiAlCaMB*gtDigisAlCaMB)
61 seqALCARECOHcalCalMinBias = cms.Sequence(hbherecoMBNZS*horecoMBNZS*hbherecoNoise*hfrecoNoise*hfrecoMBNZS*horecoNoise)
63 import RecoLocalCalo.HcalRecProducers.hfprereco_cfi
64 hfprerecoNoise = RecoLocalCalo.HcalRecProducers.hfprereco_cfi.hfprereco.clone(
65 digiLabel = cms.InputTag(
"hcalDigiAlCaMB"),
66 dropZSmarkedPassed = cms.bool(
False),
67 tsFromDB = cms.bool(
False),
68 sumAllTimeSlices = cms.bool(
False),
69 forceSOI = cms.int32(0)
71 hfprerecoMBNZS = RecoLocalCalo.HcalRecProducers.hfprereco_cfi.hfprereco.clone(
72 digiLabel = cms.InputTag(
"hcalDigiAlCaMB"),
73 dropZSmarkedPassed = cms.bool(
False),
74 tsFromDB = cms.bool(
False),
75 sumAllTimeSlices = cms.bool(
True),
76 forceSOI = cms.int32(1)
79 import RecoLocalCalo.HcalRecProducers.HFPhase1Reconstructor_cfi
80 _phase1_hfrecoNoise = RecoLocalCalo.HcalRecProducers.HFPhase1Reconstructor_cfi.hfreco.clone(
81 inputLabel = cms.InputTag(
"hfprerecoNoise"),
82 setNoiseFlags = cms.bool(
False),
84 Class = cms.string(
"HFSimpleTimeCheck"),
85 rejectAllFailures = cms.bool(
False)
88 _phase1_hfrecoMBNZS = RecoLocalCalo.HcalRecProducers.HFPhase1Reconstructor_cfi.hfreco.clone(
89 inputLabel = cms.InputTag(
"hfprerecoMBNZS"),
90 setNoiseFlags = cms.bool(
False),
92 Class = cms.string(
"HFSimpleTimeCheck"),
93 rejectAllFailures = cms.bool(
False)
97 _phase1_seqALCARECOHcalCalMinBias = seqALCARECOHcalCalMinBias.copy()
98 _phase1_seqALCARECOHcalCalMinBias.insert(0,hfprerecoMBNZS)
99 _phase1_seqALCARECOHcalCalMinBias.insert(0,hfprerecoNoise)
101 from Configuration.Eras.Modifier_run2_HF_2017_cff
import run2_HF_2017
102 run2_HF_2017.toReplaceWith( seqALCARECOHcalCalMinBias, _phase1_seqALCARECOHcalCalMinBias )
103 run2_HF_2017.toReplaceWith( hfrecoNoise, _phase1_hfrecoNoise )
104 run2_HF_2017.toReplaceWith( hfrecoMBNZS, _phase1_hfrecoMBNZS )
106 import RecoLocalCalo.HcalRecProducers.hbheplan1_cfi
107 hbheplan1MBNZS = RecoLocalCalo.HcalRecProducers.hbheplan1_cfi.hbheplan1.clone(
108 hbheInput = cms.InputTag(
"hbheprerecoMBNZS")
110 hbheplan1Noise = RecoLocalCalo.HcalRecProducers.hbheplan1_cfi.hbheplan1.clone(
111 hbheInput = cms.InputTag(
"hbheprerecoNoise")
114 from Configuration.Eras.Modifier_run2_HCAL_2017_cff
import run2_HCAL_2017
115 run2_HCAL_2017.toModify( hbherecoMBNZS,
116 processQIE11 = cms.bool(
True),
120 run2_HCAL_2017.toModify( hbherecoNoise,
121 processQIE11 = cms.bool(
True),
126 _plan1_seqALCARECOHcalCalMinBias = _phase1_seqALCARECOHcalCalMinBias.copy()
127 hbheprerecoMBNZS = hbherecoMBNZS.clone()
128 hbheprerecoNoise = hbherecoNoise.clone()
129 _plan1_seqALCARECOHcalCalMinBias.insert(0,hbheprerecoNoise)
130 _plan1_seqALCARECOHcalCalMinBias.insert(0,hbheprerecoMBNZS)
131 from Configuration.Eras.Modifier_run2_HEPlan1_2017_cff
import run2_HEPlan1_2017
132 run2_HEPlan1_2017.toReplaceWith(hbherecoMBNZS, hbheplan1MBNZS)
133 run2_HEPlan1_2017.toReplaceWith(hbherecoNoise, hbheplan1Noise)
134 run2_HEPlan1_2017.toReplaceWith(seqALCARECOHcalCalMinBias, _plan1_seqALCARECOHcalCalMinBias)