1 import FWCore.ParameterSet.Config
as cms
6 _spikeAndDoubleSpikeCleaner_HF = cms.PSet(
7 algoName = cms.string(
"SpikeAndDoubleSpikeCleaner"),
8 cleaningByDetector = cms.VPSet(
9 cms.PSet( detector = cms.string(
"HF_EM"),
11 singleSpikeThresh = cms.double(80.0),
12 minS4S1_a = cms.double(0.11),
13 minS4S1_b = cms.double(-0.19),
15 doubleSpikeThresh = cms.double(1e9),
16 doubleSpikeS6S2 = cms.double(-1.0),
17 energyThresholdModifier = cms.double(1.0),
18 fractionThresholdModifier = cms.double(1.0)
20 cms.PSet( detector = cms.string(
"HF_HAD"),
22 singleSpikeThresh = cms.double(120.0),
23 minS4S1_a = cms.double(0.045),
24 minS4S1_b = cms.double(-0.080),
26 doubleSpikeThresh = cms.double(1e9),
27 doubleSpikeS6S2 = cms.double(-1.0),
28 energyThresholdModifier = cms.double(1.0),
29 fractionThresholdModifier = cms.double(1.0)
35 _localMaxSeeds_HF = cms.PSet(
36 algoName = cms.string(
"LocalMaximumSeedFinder"),
37 thresholdsByDetector = cms.VPSet(
38 cms.PSet( detector = cms.string(
"HF_EM"),
39 seedingThreshold = cms.double(1.4),
40 seedingThresholdPt = cms.double(0.0)
42 cms.PSet( detector = cms.string(
"HF_HAD"),
43 seedingThreshold = cms.double(1.4),
44 seedingThresholdPt = cms.double(0.0)
48 nNeighbours = cms.int32(0)
52 _topoClusterizer_HF = cms.PSet(
53 algoName = cms.string(
"Basic2DGenericTopoClusterizer"),
54 thresholdsByDetector = cms.VPSet(
55 cms.PSet( detector = cms.string(
"HF_EM"),
56 gatheringThreshold = cms.double(0.8),
57 gatheringThresholdPt = cms.double(0.0)
59 cms.PSet( detector = cms.string(
"HF_HAD"),
60 gatheringThreshold = cms.double(0.8),
61 gatheringThresholdPt = cms.double(0.0)
65 useCornerCells = cms.bool(
False)
69 _positionCalcHF_cross_nodepth = cms.PSet(
70 algoName = cms.string(
"Basic2DGenericPFlowPositionCalc"),
72 minFractionInCalc = cms.double(1e-9),
73 posCalcNCrystals = cms.int32(5),
74 logWeightDenominator = cms.double(0.8),
75 minAllowedNormalization = cms.double(1e-9)
78 _positionCalcHF_all_nodepth = _positionCalcHF_cross_nodepth.clone(
79 posCalcNCrystals = cms.int32(-1)
83 _pfClusterizer_HF = cms.PSet(
84 algoName = cms.string(
"Basic2DGenericPFlowClusterizer"),
86 minFractionToKeep = cms.double(1e-7),
87 positionCalc = _positionCalcHF_cross_nodepth,
88 allCellsPositionCalc = _positionCalcHF_all_nodepth,
89 showerSigma = cms.double(10.0),
90 stoppingTolerance = cms.double(1e-8),
91 maxIterations = cms.uint32(50),
92 excludeOtherSeeds = cms.bool(
True),
93 minFracTot = cms.double(1e-20),
94 recHitEnergyNorms = cms.VPSet(
95 cms.PSet( detector = cms.string(
"HF_EM"),
96 recHitEnergyNorm = cms.double(0.8)
98 cms.PSet( detector = cms.string(
"HF_HAD"),
99 recHitEnergyNorm = cms.double(0.8)
104 particleFlowClusterHF = cms.EDProducer(
106 recHitsSource = cms.InputTag(
"particleFlowRecHitHF"),
107 recHitCleaners = cms.VPSet(),
108 seedFinder = _localMaxSeeds_HF,
109 initialClusteringStep = _topoClusterizer_HF,
110 pfClusterBuilder = _pfClusterizer_HF,
111 positionReCalc = cms.PSet(),
112 energyCorrector = cms.PSet()