1 import FWCore.ParameterSet.Config
as cms
6 _spikeAndDoubleSpikeCleaner_HFEM = 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)
24 _localMaxSeeds_HFEM = cms.PSet(
25 algoName = cms.string(
"LocalMaximumSeedFinder"),
26 thresholdsByDetector = cms.VPSet(
27 cms.PSet( detector = cms.string(
"HF_EM"),
28 seedingThreshold = cms.double(1.4),
29 seedingThresholdPt = cms.double(0.0)
32 nNeighbours = cms.int32(0)
36 _topoClusterizer_HFEM = cms.PSet(
37 algoName = cms.string(
"Basic2DGenericTopoClusterizer"),
38 thresholdsByDetector = cms.VPSet(
39 cms.PSet( detector = cms.string(
"HF_EM"),
40 gatheringThreshold = cms.double(0.8),
41 gatheringThresholdPt = cms.double(0.0)
44 useCornerCells = cms.bool(
False)
48 _positionCalcHFEM_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 _positionCalcHFEM_all_nodepth = _positionCalcHFEM_cross_nodepth.clone(
58 posCalcNCrystals = cms.int32(-1)
62 _pfClusterizer_HFEM = cms.PSet(
63 algoName = cms.string(
"Basic2DGenericPFlowClusterizer"),
65 minFractionToKeep = cms.double(1e-7),
66 positionCalc = _positionCalcHFEM_cross_nodepth,
67 allCellsPositionCalc = _positionCalcHFEM_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_EM"),
75 recHitEnergyNorm = cms.double(0.8)
80 particleFlowClusterHFEM = cms.EDProducer(
82 recHitsSource = cms.InputTag(
"particleFlowRecHitHCAL:HFEM"),
83 recHitCleaners = cms.VPSet(_spikeAndDoubleSpikeCleaner_HFEM),
84 seedFinder = _localMaxSeeds_HFEM,
85 initialClusteringStep = _topoClusterizer_HFEM,
86 pfClusterBuilder = _pfClusterizer_HFEM,
87 positionReCalc = cms.PSet(),
88 energyCorrector = cms.PSet()