1 import FWCore.ParameterSet.Config
as cms
6 _spikeAndDoubleSpikeCleaner_HFHAD = cms.PSet(
7 algoName = cms.string(
"SpikeAndDoubleSpikeCleaner"),
8 cleaningByDetector = cms.VPSet(
9 cms.PSet( detector = cms.string(
"HF_HAD"),
11 singleSpikeThresh = cms.double(120.0),
12 minS4S1_a = cms.double(0.045),
13 minS4S1_b = cms.double(-0.080),
15 doubleSpikeThresh = cms.double(1e9),
16 doubleSpikeS6S2 = cms.double(-1.0),
17 energyThresholdModifier = cms.double(1.0),
18 fractionThresholdModifier = cms.double(1.0)
24 _localMaxSeeds_HFHAD = cms.PSet(
25 algoName = cms.string(
"LocalMaximumSeedFinder"),
26 thresholdsByDetector = cms.VPSet(
27 cms.PSet( detector = cms.string(
"HF_HAD"),
28 seedingThreshold = cms.double(1.4),
29 seedingThresholdPt = cms.double(0.0)
32 nNeighbours = cms.int32(0)
36 _topoClusterizer_HFHAD = cms.PSet(
37 algoName = cms.string(
"Basic2DGenericTopoClusterizer"),
38 thresholdsByDetector = cms.VPSet(
39 cms.PSet( detector = cms.string(
"HF_HAD"),
40 gatheringThreshold = cms.double(0.8),
41 gatheringThresholdPt = cms.double(0.0)
44 useCornerCells = cms.bool(
False)
48 _positionCalcHFHAD_cross_nodepth = cms.PSet(
49 algoName = cms.string(
"Basic2DGenericPFlowPositionCalc"),
51 minFractionInCalc = cms.double(1e-9),
52 posCalcNCrystals = cms.int32(5),
53 logWeightDenominator = cms.double(0.8),
54 minAllowedNormalization = cms.double(1e-9)
57 _positionCalcHFHAD_all_nodepth = _positionCalcHFHAD_cross_nodepth.clone(
58 posCalcNCrystals = cms.int32(-1)
62 _pfClusterizer_HFHAD = cms.PSet(
63 algoName = cms.string(
"Basic2DGenericPFlowClusterizer"),
65 minFractionToKeep = cms.double(1e-7),
66 positionCalc = _positionCalcHFHAD_cross_nodepth,
67 allCellsPositionCalc = _positionCalcHFHAD_all_nodepth,
68 showerSigma = cms.double(10.0),
69 stoppingTolerance = cms.double(1e-8),
70 maxIterations = cms.uint32(50),
71 excludeOtherSeeds = cms.bool(
True),
72 minFracTot = cms.double(1e-20),
73 recHitEnergyNorms = cms.VPSet(
74 cms.PSet( detector = cms.string(
"HF_HAD"),
75 recHitEnergyNorm = cms.double(0.8)
80 particleFlowClusterHFHAD = cms.EDProducer(
82 recHitsSource = cms.InputTag(
"particleFlowRecHitHCAL:HFHAD"),
83 recHitCleaners = cms.VPSet(_spikeAndDoubleSpikeCleaner_HFHAD),
84 seedFinder = _localMaxSeeds_HFHAD,
85 initialClusteringStep = _topoClusterizer_HFHAD,
86 pfClusterBuilder = _pfClusterizer_HFHAD,
87 positionReCalc = cms.PSet(),
88 energyCorrector = cms.PSet()