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.HBHEPulseShapeFlagSetter_cfi
as pulseShapeFlag
5 import RecoLocalCalo.HcalRecProducers.HBHEStatusBitSetter_cfi
as hbheStatusFlag
7 hbheprereco = cms.EDProducer(
8 "HBHEPhase1Reconstructor",
12 digiLabelQIE8 = cms.InputTag(
"hcalDigis"),
13 processQIE8 = cms.bool(
True),
17 digiLabelQIE11 = cms.InputTag(
"hcalDigis"),
18 processQIE11 = cms.bool(
True),
22 tsFromDB = cms.bool(
False),
26 recoParamsFromDB = cms.bool(
True),
29 dropZSmarkedPassed = cms.bool(
True),
32 makeRecHits = cms.bool(
True),
35 saveInfos = cms.bool(
False),
41 saveDroppedInfos = cms.bool(
False),
49 Class = cms.string(
"SimpleHBHEPhase1Algo"),
52 tdcTimeShift = cms.double(0.0),
55 firstSampleShift = cms.int32(0),
56 samplesToAdd = cms.int32(2),
57 correctForPhaseContainment = cms.bool(
True),
58 correctionPhaseNS = cms.double(6.0),
61 useM2 = cms.bool(
True),
64 useM3 = cms.bool(
True)
68 algoConfigClass = cms.string(
""),
71 setNegativeFlagsQIE8 = cms.bool(
True),
72 setNegativeFlagsQIE11 = cms.bool(
False),
73 setNoiseFlagsQIE8 = cms.bool(
True),
74 setNoiseFlagsQIE11 = cms.bool(
False),
75 setPulseShapeFlagsQIE8 = cms.bool(
True),
76 setPulseShapeFlagsQIE11 = cms.bool(
False),
77 setLegacyFlagsQIE8 = cms.bool(
True),
78 setLegacyFlagsQIE11 = cms.bool(
False),
81 flagParametersQIE8 = cms.PSet(
82 hbheStatusFlag.qie8Config
84 flagParametersQIE11 = cms.PSet(),
86 pulseShapeParametersQIE8 = cms.PSet(
87 pulseShapeFlag.qie8Parameters
89 pulseShapeParametersQIE11 = cms.PSet()
93 hbheprereco.pulseShapeParametersQIE8.TrianglePeakTS = cms.uint32(10000)