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),
50 sipmQTSShift = cms.int32(0),
51 sipmQNTStoSum = cms.int32(3),
60 Class = cms.string(
"SimpleHBHEPhase1Algo"),
63 tdcTimeShift = cms.double(0.0),
66 firstSampleShift = cms.int32(0),
69 useM2 = cms.bool(
True),
72 useM3 = cms.bool(
True)
76 algoConfigClass = cms.string(
""),
79 setNegativeFlagsQIE8 = cms.bool(
True),
80 setNegativeFlagsQIE11 = cms.bool(
False),
81 setNoiseFlagsQIE8 = cms.bool(
True),
82 setNoiseFlagsQIE11 = cms.bool(
False),
83 setPulseShapeFlagsQIE8 = cms.bool(
True),
84 setPulseShapeFlagsQIE11 = cms.bool(
False),
85 setLegacyFlagsQIE8 = cms.bool(
True),
86 setLegacyFlagsQIE11 = cms.bool(
False),
89 flagParametersQIE8 = cms.PSet(
90 hbheStatusFlag.qie8Config
92 flagParametersQIE11 = cms.PSet(),
94 pulseShapeParametersQIE8 = cms.PSet(
95 pulseShapeFlag.qie8Parameters
97 pulseShapeParametersQIE11 = cms.PSet()
101 hbheprereco.pulseShapeParametersQIE8.TrianglePeakTS = cms.uint32(10000)
103 from Configuration.Eras.Modifier_phase2_hcal_cff
import phase2_hcal
104 phase2_hcal.toModify(hbheprereco, saveEffectivePedestal = cms.bool(
True))