File indexing completed on 2025-02-20 03:45:09
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PFClusterProducer(*args, **kwargs):
0004 mod = cms.EDProducer('PFClusterProducer',
0005 recHitsSource = cms.InputTag(''),
0006 usePFThresholdsFromDB = cms.bool(False),
0007 recHitCleaners = cms.VPSet(
0008 template = cms.PSetTemplate(
0009 algoName = cms.string('')
0010 )
0011 ),
0012 seedCleaners = cms.VPSet(
0013 template = cms.PSetTemplate(
0014 algoName = cms.string(''),
0015 RecHitFlagsToBeExcluded = cms.vstring()
0016 )
0017 ),
0018 seedFinder = cms.PSet(
0019 algoName = cms.string(''),
0020 nNeighbours = cms.int32(0),
0021 thresholdsByDetector = cms.VPSet(
0022 template = cms.PSetTemplate(
0023 detector = cms.string(''),
0024 seedingThreshold = cms.double(0),
0025 seedingThresholdPt = cms.double(0)
0026 )
0027 )
0028 ),
0029 initialClusteringStep = cms.PSet(
0030 algoName = cms.string(''),
0031 thresholdsByDetector = cms.VPSet(
0032 template = cms.PSetTemplate(
0033 detector = cms.string(''),
0034 gatheringThreshold = cms.double(0),
0035 gatheringThresholdPt = cms.double(0)
0036 )
0037 ),
0038 useCornerCells = cms.bool(False),
0039 clusterSrc = cms.InputTag(''),
0040 filterByTracksterIteration = cms.bool(False),
0041 filterByTracksterPID = cms.bool(False),
0042 filter_on_categories = cms.vint32(),
0043 filter_on_iterations = cms.vint32(),
0044 pid_threshold = cms.double(0),
0045 tracksterSrc = cms.InputTag(''),
0046 exclusiveFraction = cms.double(0),
0047 invisibleFraction = cms.double(0),
0048 maxDistanceFilter = cms.bool(False),
0049 maxDistance = cms.double(0),
0050 maxDforTimingSquared = cms.double(0),
0051 timeOffset = cms.double(0),
0052 minNHitsforTiming = cms.uint32(0),
0053 useMCFractionsForExclEnergy = cms.bool(False),
0054 hadronCalib = cms.vdouble(),
0055 egammaCalib = cms.vdouble(),
0056 calibMinEta = cms.double(0),
0057 calibMaxEta = cms.double(0),
0058 simClusterSrc = cms.InputTag('')
0059 ),
0060 pfClusterBuilder = cms.PSet(
0061 algoName = cms.string(''),
0062 allCellsPositionCalc = cms.PSet(
0063 algoName = cms.string(''),
0064 minFractionInCalc = cms.double(0),
0065 posCalcNCrystals = cms.int32(-1),
0066 logWeightDenominatorByDetector = cms.VPSet(
0067 template = cms.PSetTemplate(
0068 detector = cms.string(''),
0069 depths = cms.vint32(),
0070 logWeightDenominator = cms.vdouble()
0071 )
0072 ),
0073 logWeightDenominator = cms.double(0),
0074 minAllowedNormalization = cms.double(0),
0075 timeResolutionCalcBarrel = cms.PSet(
0076 constantTerm = cms.double(0),
0077 constantTermLowE = cms.double(0),
0078 corrTermLowE = cms.double(0),
0079 noiseTerm = cms.double(0),
0080 noiseTermLowE = cms.double(0),
0081 threshHighE = cms.double(-1),
0082 threshLowE = cms.double(-1)
0083 ),
0084 timeResolutionCalcEndcap = cms.PSet(
0085 constantTerm = cms.double(0),
0086 constantTermLowE = cms.double(0),
0087 corrTermLowE = cms.double(0),
0088 noiseTerm = cms.double(0),
0089 noiseTermLowE = cms.double(0),
0090 threshHighE = cms.double(-1),
0091 threshLowE = cms.double(-1)
0092 )
0093 ),
0094 positionCalc = cms.PSet(
0095 algoName = cms.string(''),
0096 minFractionInCalc = cms.double(0),
0097 posCalcNCrystals = cms.int32(-1),
0098 logWeightDenominatorByDetector = cms.VPSet(
0099 template = cms.PSetTemplate(
0100 detector = cms.string(''),
0101 depths = cms.vint32(),
0102 logWeightDenominator = cms.vdouble()
0103 )
0104 ),
0105 logWeightDenominator = cms.double(0),
0106 minAllowedNormalization = cms.double(0),
0107 timeResolutionCalcBarrel = cms.PSet(
0108 constantTerm = cms.double(0),
0109 constantTermLowE = cms.double(0),
0110 corrTermLowE = cms.double(0),
0111 noiseTerm = cms.double(0),
0112 noiseTermLowE = cms.double(0),
0113 threshHighE = cms.double(-1),
0114 threshLowE = cms.double(-1)
0115 ),
0116 timeResolutionCalcEndcap = cms.PSet(
0117 constantTerm = cms.double(0),
0118 constantTermLowE = cms.double(0),
0119 corrTermLowE = cms.double(0),
0120 noiseTerm = cms.double(0),
0121 noiseTermLowE = cms.double(0),
0122 threshHighE = cms.double(-1),
0123 threshLowE = cms.double(-1)
0124 )
0125 ),
0126 minFractionToKeep = cms.double(0),
0127 nSigmaEta = cms.double(0),
0128 nSigmaPhi = cms.double(0),
0129 excludeOtherSeeds = cms.bool(False),
0130 maxIterations = cms.uint32(0),
0131 minFracTot = cms.double(0),
0132 positionCalcForConvergence = cms.PSet(
0133 algoName = cms.string(''),
0134 minFractionInCalc = cms.double(0),
0135 T0_EB = cms.double(0),
0136 T0_EE = cms.double(0),
0137 T0_ES = cms.double(0),
0138 W0 = cms.double(0),
0139 X0 = cms.double(0),
0140 minAllowedNormalization = cms.double(0),
0141 timeResolutionCalc = cms.PSet()
0142 ),
0143 recHitEnergyNorms = cms.VPSet(
0144 template = cms.PSetTemplate(
0145 detector = cms.string(''),
0146 recHitEnergyNorm = cms.double(0)
0147 )
0148 ),
0149 showerSigma = cms.double(1.5),
0150 stoppingTolerance = cms.double(1e-08),
0151 clusterTimeResFromSeed = cms.bool(False),
0152 maxNSigmaTime = cms.double(10),
0153 minChi2Prob = cms.double(0),
0154 timeResolutionCalcBarrel = cms.PSet(
0155 constantTerm = cms.double(0),
0156 constantTermLowE = cms.double(0),
0157 corrTermLowE = cms.double(0),
0158 noiseTerm = cms.double(0),
0159 noiseTermLowE = cms.double(0),
0160 threshHighE = cms.double(-1),
0161 threshLowE = cms.double(-1)
0162 ),
0163 timeResolutionCalcEndcap = cms.PSet(
0164 constantTerm = cms.double(0),
0165 constantTermLowE = cms.double(0),
0166 corrTermLowE = cms.double(0),
0167 noiseTerm = cms.double(0),
0168 noiseTermLowE = cms.double(0),
0169 threshHighE = cms.double(-1),
0170 threshLowE = cms.double(-1)
0171 ),
0172 timeSigmaEB = cms.double(10),
0173 timeSigmaEE = cms.double(10)
0174 ),
0175 positionReCalc = cms.PSet(
0176 algoName = cms.string(''),
0177 minFractionInCalc = cms.double(0),
0178 updateTiming = cms.bool(False),
0179 T0_EB = cms.double(0),
0180 T0_EE = cms.double(0),
0181 T0_ES = cms.double(0),
0182 W0 = cms.double(0),
0183 X0 = cms.double(0),
0184 minAllowedNormalization = cms.double(0),
0185 timeResolutionCalc = cms.PSet()
0186 ),
0187 energyCorrector = cms.PSet(),
0188 mightGet = cms.optional.untracked.vstring
0189 )
0190 for a in args:
0191 mod.update_(a)
0192 mod.update_(kwargs)
0193 return mod