Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-11-21 00:28:54

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 particleFlowClusterHF = cms.EDProducer("PFClusterProducer",
0004     energyCorrector = cms.PSet(
0005 
0006     ),
0007     initialClusteringStep = cms.PSet(
0008         algoName = cms.string('Basic2DGenericTopoClusterizer'),
0009         thresholdsByDetector = cms.VPSet(
0010             cms.PSet(
0011                 detector = cms.string('HF_EM'),
0012                 gatheringThreshold = cms.double(0.8),
0013                 gatheringThresholdPt = cms.double(0.0)
0014             ),
0015             cms.PSet(
0016                 detector = cms.string('HF_HAD'),
0017                 gatheringThreshold = cms.double(0.8),
0018                 gatheringThresholdPt = cms.double(0.0)
0019             )
0020         ),
0021         useCornerCells = cms.bool(False)
0022     ),
0023     pfClusterBuilder = cms.PSet(
0024         algoName = cms.string('Basic2DGenericPFlowClusterizer'),
0025         allCellsPositionCalc = cms.PSet(
0026             algoName = cms.string('Basic2DGenericPFlowPositionCalc'),
0027             logWeightDenominator = cms.double(0.8),
0028             minAllowedNormalization = cms.double(1e-09),
0029             minFractionInCalc = cms.double(1e-09),
0030             posCalcNCrystals = cms.int32(-1)
0031         ),
0032         excludeOtherSeeds = cms.bool(True),
0033         maxIterations = cms.uint32(50),
0034         minFracTot = cms.double(1e-20),
0035         minFractionToKeep = cms.double(1e-07),
0036         positionCalc = cms.PSet(
0037             algoName = cms.string('Basic2DGenericPFlowPositionCalc'),
0038             logWeightDenominator = cms.double(0.8),
0039             minAllowedNormalization = cms.double(1e-09),
0040             minFractionInCalc = cms.double(1e-09),
0041             posCalcNCrystals = cms.int32(5)
0042         ),
0043         recHitEnergyNorms = cms.VPSet(
0044             cms.PSet(
0045                 detector = cms.string('HF_EM'),
0046                 recHitEnergyNorm = cms.double(0.8)
0047             ),
0048             cms.PSet(
0049                 detector = cms.string('HF_HAD'),
0050                 recHitEnergyNorm = cms.double(0.8)
0051             )
0052         ),
0053         showerSigma = cms.double(10.0),
0054         stoppingTolerance = cms.double(1e-08)
0055     ),
0056     positionReCalc = cms.PSet(
0057 
0058     ),
0059     recHitCleaners = cms.VPSet(),
0060     recHitsSource = cms.InputTag("particleFlowRecHitHF"),
0061     usePFThresholdsFromDB = cms.bool(False), # this needs to be True only for HBHE
0062     seedCleaners = cms.VPSet(),
0063     seedFinder = cms.PSet(
0064         algoName = cms.string('LocalMaximumSeedFinder'),
0065         nNeighbours = cms.int32(0),
0066         thresholdsByDetector = cms.VPSet(
0067             cms.PSet(
0068                 detector = cms.string('HF_EM'),
0069                 seedingThreshold = cms.double(1.4),
0070                 seedingThresholdPt = cms.double(0.0)
0071             ),
0072             cms.PSet(
0073                 detector = cms.string('HF_HAD'),
0074                 seedingThreshold = cms.double(1.4),
0075                 seedingThresholdPt = cms.double(0.0)
0076             )
0077         )
0078     )
0079 )