Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-02-20 03:45:09

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def PFMultiDepthClusterProducer(*args, **kwargs):
0004   mod = cms.EDProducer('PFMultiDepthClusterProducer',
0005     clustersSource = cms.InputTag(''),
0006     energyCorrector = cms.PSet(),
0007     pfClusterBuilder = cms.PSet(
0008       algoName = cms.string('PFMultiDepthClusterizer'),
0009       allCellsPositionCalc = cms.PSet(
0010         algoName = cms.string('Basic2DGenericPFlowPositionCalc'),
0011         logWeightDenominatorByDetector = cms.VPSet(
0012           template = cms.PSetTemplate(
0013             depths = cms.vint32(),
0014             detector = cms.string(''),
0015             logWeightDenominator = cms.vdouble()
0016           )
0017         ),
0018         minAllowedNormalization = cms.double(1e-09),
0019         minFractionInCalc = cms.double(1e-09),
0020         posCalcNCrystals = cms.int32(-1),
0021         timeResolutionCalcBarrel = cms.PSet(),
0022         timeResolutionCalcEndcap = cms.PSet()
0023       ),
0024       positionCalc = cms.PSet(),
0025       minFractionToKeep = cms.double(1e-07),
0026       nSigmaEta = cms.double(2),
0027       nSigmaPhi = cms.double(2)
0028     ),
0029     positionReCalc = cms.PSet(),
0030     usePFThresholdsFromDB = cms.bool(False),
0031     mightGet = cms.optional.untracked.vstring
0032   )
0033   for a in args:
0034     mod.update_(a)
0035   mod.update_(kwargs)
0036   return mod