File indexing completed on 2024-08-27 22:59:26
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def HFPhase1Reconstructor(**kwargs):
0004 mod = cms.EDProducer('HFPhase1Reconstructor',
0005 inputLabel = cms.required.InputTag,
0006 algoConfigClass = cms.required.string,
0007 setNoiseFlags = cms.required.bool,
0008 runHFStripFilter = cms.bool(False),
0009 useChannelQualityFromDB = cms.required.bool,
0010 checkChannelQualityForDepth3and4 = cms.required.bool,
0011 algorithm = cms.PSet(
0012 tlimits = cms.vdouble(
0013 -10000,
0014 10000,
0015 -10000,
0016 10000
0017 ),
0018 energyWeights = cms.required.vdouble,
0019 soiPhase = cms.uint32(1),
0020 timeShift = cms.double(0),
0021 triseIfNoTDC = cms.double(-100),
0022 tfallIfNoTDC = cms.double(-101),
0023 minChargeForUndershoot = cms.double(10000000000),
0024 minChargeForOvershoot = cms.double(10000000000),
0025 alwaysCalculateQAsymmetry = cms.bool(True),
0026 Class = cms.string('HFSimpleTimeCheck'),
0027 rejectAllFailures = cms.bool(False)
0028 ),
0029 HFStripFilter = cms.PSet(
0030 stripThreshold = cms.double(40),
0031 maxThreshold = cms.double(100),
0032 timeMax = cms.double(6),
0033 maxStripTime = cms.double(10),
0034 wedgeCut = cms.double(0.05),
0035 seedHitIetaMax = cms.int32(35),
0036 gap = cms.int32(2),
0037 lstrips = cms.int32(2),
0038 verboseLevel = cms.untracked.int32(0)
0039 ),
0040 S9S1stat = cms.PSet(),
0041 S8S1stat = cms.PSet(),
0042 PETstat = cms.PSet(),
0043 mightGet = cms.optional.untracked.vstring
0044 )
0045 for k,v in kwargs.items():
0046 setattr(mod, k, v)
0047 return mod