1 import FWCore.ParameterSet.Config
as cms
4 _slopes_S9S1_run1 = [-99999,0.0164905,0.0238698,0.0321383,
5 0.041296,0.0513428,0.0622789,0.0741041,
6 0.0868186,0.100422,0.135313,0.136289,0.0589927]
8 _coeffs = [1.0, 2.5, 2.2, 2.0, 1.8, 1.6, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
10 _slopes_S9S1_run2 = [s*c
for s, c
in zip(_slopes_S9S1_run1, _coeffs)]
13 hfreco = cms.EDProducer(
"HFPhase1Reconstructor",
15 inputLabel = cms.InputTag(
"hfprereco"),
19 useChannelQualityFromDB = cms.bool(
True),
25 checkChannelQualityForDepth3and4 = cms.bool(
True),
29 Class = cms.string(
"HFFlexibleTimeCheck"),
32 tlimits = cms.vdouble(-1000.0, 1000.0,
37 energyWeights = cms.vdouble(
55 soiPhase = cms.uint32(1),
58 timeShift = cms.double(0.0),
62 triseIfNoTDC = cms.double(-100.0),
63 tfallIfNoTDC = cms.double(-101.0),
70 minChargeForUndershoot = cms.double(1.0e10),
71 minChargeForOvershoot = cms.double(1.0e10),
74 rejectAllFailures = cms.bool(
True),
78 alwaysCalculateQAsymmetry = cms.bool(
False)
82 algoConfigClass = cms.string(
"HFPhase1PMTParams"),
85 setNoiseFlags = cms.bool(
True),
89 runHFStripFilter = cms.bool(
True),
101 short_optimumSlope = cms.vdouble(_slopes_S9S1_run2),
104 shortEnergyParams = cms.vdouble([35.1773, 35.37, 35.7933, 36.4472,
105 37.3317, 38.4468, 39.7925, 41.3688,
106 43.1757, 45.2132, 47.4813, 49.98,
108 shortETParams = cms.vdouble([0,0,0,0,
112 long_optimumSlope = cms.vdouble(_slopes_S9S1_run2),
115 longEnergyParams = cms.vdouble([43.5, 45.7, 48.32, 51.36,
116 54.82, 58.7, 63.0, 67.72,
117 72.86, 78.42, 84.4, 90.8,
119 longETParams = cms.vdouble([0,0,0,0,
123 HcalAcceptSeverityLevel = cms.int32(9),
124 isS8S1 = cms.bool(
False),
133 short_optimumSlope = cms.vdouble([0.30,
134 0.10, 0.10, 0.10, 0.10,
135 0.10, 0.10, 0.10, 0.10,
136 0.10, 0.10, 0.10, 0.10]),
139 shortEnergyParams = cms.vdouble([40,
143 shortETParams = cms.vdouble([0,0,0,0,
147 long_optimumSlope = cms.vdouble([0.30,
148 0.10, 0.10, 0.10, 0.10,
149 0.10, 0.10, 0.10, 0.10,
150 0.10, 0.10, 0.10, 0.10]),
153 longEnergyParams = cms.vdouble([40,
157 longETParams = cms.vdouble([0,0,0,0,
161 HcalAcceptSeverityLevel = cms.int32(9),
162 isS8S1 = cms.bool(
True),
176 short_R = cms.vdouble([0.8]),
179 shortEnergyParams = cms.vdouble([35.1773, 35.37, 35.7933, 36.4472,
180 37.3317, 38.4468, 39.7925, 41.3688,
181 43.1757, 45.2132, 47.4813, 49.98,
183 shortETParams = cms.vdouble([0,0,0,0,
187 long_R = cms.vdouble([0.98]),
190 longEnergyParams = cms.vdouble([43.5, 45.7, 48.32, 51.36,
191 54.82, 58.7, 63.0, 67.72,
192 72.86, 78.42, 84.4, 90.8,
194 longETParams = cms.vdouble([0,0,0,0,
198 short_R_29 = cms.vdouble([0.8]),
199 long_R_29 = cms.vdouble([0.8]),
200 HcalAcceptSeverityLevel = cms.int32(9),
204 HFStripFilter = cms.PSet(
205 stripThreshold = cms.double(40.0),
206 maxThreshold = cms.double(100.0),
207 timeMax = cms.double(6.0),
208 maxStripTime = cms.double(10.0),
209 wedgeCut = cms.double(0.05),
210 seedHitIetaMax = cms.int32(35),
212 lstrips = cms.int32(2),
213 verboseLevel = cms.untracked.int32(10)
ALPAKA_FN_HOST_ACC ALPAKA_FN_INLINE constexpr float zip(ConstView const &tracks, int32_t i)