1 import FWCore.ParameterSet.Config
as cms
2 import RecoLocalCalo.HcalRecProducers.HBHEMethod3Parameters_cfi
as method3
3 import RecoLocalCalo.HcalRecProducers.HBHEMethod2Parameters_cfi
as method2
4 import RecoLocalCalo.HcalRecProducers.HBHEMethod0Parameters_cfi
as method0
5 import RecoLocalCalo.HcalRecProducers.HBHEPulseShapeFlagSetter_cfi
as pulseShapeFlag
6 import RecoLocalCalo.HcalRecProducers.HBHEStatusBitSetter_cfi
as hbheStatusFlag
8 hbheprereco = cms.EDProducer(
9 "HBHEPhase1Reconstructor",
13 digiLabelQIE8 = cms.InputTag(
"hcalDigis"),
14 processQIE8 = cms.bool(
True),
18 digiLabelQIE11 = cms.InputTag(
"hcalDigis"),
19 processQIE11 = cms.bool(
True),
23 tsFromDB = cms.bool(
False),
27 recoParamsFromDB = cms.bool(
True),
30 saveEffectivePedestal = cms.bool(
False),
33 dropZSmarkedPassed = cms.bool(
True),
36 makeRecHits = cms.bool(
True),
39 saveInfos = cms.bool(
False),
45 saveDroppedInfos = cms.bool(
False),
54 Class = cms.string(
"SimpleHBHEPhase1Algo"),
57 tdcTimeShift = cms.double(0.0),
60 firstSampleShift = cms.int32(0),
63 useM2 = cms.bool(
True),
66 useM3 = cms.bool(
True)
70 algoConfigClass = cms.string(
""),
73 setNegativeFlagsQIE8 = cms.bool(
True),
74 setNegativeFlagsQIE11 = cms.bool(
False),
75 setNoiseFlagsQIE8 = cms.bool(
True),
76 setNoiseFlagsQIE11 = cms.bool(
False),
77 setPulseShapeFlagsQIE8 = cms.bool(
True),
78 setPulseShapeFlagsQIE11 = cms.bool(
False),
79 setLegacyFlagsQIE8 = cms.bool(
True),
80 setLegacyFlagsQIE11 = cms.bool(
False),
83 flagParametersQIE8 = cms.PSet(
84 hbheStatusFlag.qie8Config
86 flagParametersQIE11 = cms.PSet(),
88 pulseShapeParametersQIE8 = cms.PSet(
89 pulseShapeFlag.qie8Parameters
91 pulseShapeParametersQIE11 = cms.PSet()
95 hbheprereco.pulseShapeParametersQIE8.TrianglePeakTS = cms.uint32(10000)
97 from Configuration.Eras.Modifier_phase2_hcal_cff
import phase2_hcal
98 phase2_hcal.toModify(hbheprereco, saveEffectivePedestal = cms.bool(
True))