1 import FWCore.ParameterSet.Config
as cms
8 _localMaxSeeds_PS = cms.PSet(
9 algoName = cms.string(
"LocalMaximumSeedFinder"),
11 thresholdsByDetector = cms.VPSet(
12 cms.PSet( detector = cms.string(
"PS1"),
13 seedingThreshold = cms.double(1.2e-4),
14 seedingThresholdPt = cms.double(0.0)
16 cms.PSet( detector = cms.string(
"PS2"),
17 seedingThreshold = cms.double(1.2e-4),
18 seedingThresholdPt = cms.double(0.0)
21 nNeighbours = cms.int32(4),
25 _topoClusterizer_PS = cms.PSet(
26 algoName = cms.string(
"Basic2DGenericTopoClusterizer"),
27 thresholdsByDetector = cms.VPSet(
28 cms.PSet( detector = cms.string(
"PS1"),
29 gatheringThreshold = cms.double(6e-5),
30 gatheringThresholdPt = cms.double(0.0)
32 cms.PSet( detector = cms.string(
"PS2"),
33 gatheringThreshold = cms.double(6e-5),
34 gatheringThresholdPt = cms.double(0.0)
37 useCornerCells = cms.bool(
False)
41 _positionCalcPS_all_nodepth = cms.PSet(
42 algoName = cms.string(
"Basic2DGenericPFlowPositionCalc"),
44 minFractionInCalc = cms.double(1e-9),
45 posCalcNCrystals = cms.int32(-1),
46 logWeightDenominator = cms.double(6e-5),
47 minAllowedNormalization = cms.double(1e-9)
51 _pfClusterizer_PS = cms.PSet(
52 algoName = cms.string(
"Basic2DGenericPFlowClusterizer"),
54 minFractionToKeep = cms.double(1e-7),
55 positionCalc = _positionCalcPS_all_nodepth,
56 showerSigma = cms.double(0.3),
57 stoppingTolerance = cms.double(1e-8),
58 maxIterations = cms.uint32(50),
59 excludeOtherSeeds = cms.bool(
True),
60 minFracTot = cms.double(1e-20),
61 recHitEnergyNorms = cms.VPSet(
62 cms.PSet( detector = cms.string(
"PS1"),
63 recHitEnergyNorm = cms.double(6e-5)
65 cms.PSet( detector = cms.string(
"PS2"),
66 recHitEnergyNorm = cms.double(6e-5)
71 particleFlowClusterPS = cms.EDProducer(
73 recHitsSource = cms.InputTag(
"particleFlowRecHitPS"),
74 usePFThresholdsFromDB = cms.bool(
False),
75 recHitCleaners = cms.VPSet(),
76 seedCleaners = cms.VPSet(),
77 seedFinder = _localMaxSeeds_PS,
78 initialClusteringStep = _topoClusterizer_PS,
79 pfClusterBuilder = _pfClusterizer_PS,
80 positionReCalc = cms.PSet(),
81 energyCorrector = cms.PSet()