3 from particleFlowClusterECALTimeResolutionParameters_cfi
import _timeResolutionECALBarrel, _timeResolutionECALEndcap
8 _spikeAndDoubleSpikeCleaner_ECAL = cms.PSet(
9 algoName = cms.string(
"SpikeAndDoubleSpikeCleaner"),
10 cleaningByDetector = cms.VPSet(
11 cms.PSet( detector = cms.string(
"ECAL_BARREL"),
13 singleSpikeThresh = cms.double(4.0),
14 minS4S1_a = cms.double(0.04),
15 minS4S1_b = cms.double(-0.024),
17 doubleSpikeThresh = cms.double(10.0),
18 doubleSpikeS6S2 = cms.double(0.04),
19 energyThresholdModifier = cms.double(2.0),
20 fractionThresholdModifier = cms.double(3.0)
22 cms.PSet( detector = cms.string(
"ECAL_ENDCAP"),
24 singleSpikeThresh = cms.double(15.0),
25 minS4S1_a = cms.double(0.02),
26 minS4S1_b = cms.double(-0.0125),
28 doubleSpikeThresh = cms.double(1e9),
29 doubleSpikeS6S2 = cms.double(-1.0),
30 energyThresholdModifier = cms.double(2.0),
31 fractionThresholdModifier = cms.double(3.0)
37 _localMaxSeeds_ECAL = cms.PSet(
38 algoName = cms.string(
"LocalMaximumSeedFinder"),
39 thresholdsByDetector = cms.VPSet(
40 cms.PSet( detector = cms.string(
"ECAL_ENDCAP"),
41 seedingThreshold = cms.double(0.6),
42 seedingThresholdPt = cms.double(0.15)
44 cms.PSet( detector = cms.string(
"ECAL_BARREL"),
45 seedingThreshold = cms.double(0.23),
46 seedingThresholdPt = cms.double(0.0)
49 nNeighbours = cms.int32(8)
53 _topoClusterizer_ECAL = cms.PSet(
54 algoName = cms.string(
"Basic2DGenericTopoClusterizer"),
55 thresholdsByDetector = cms.VPSet(
56 cms.PSet( detector = cms.string(
"ECAL_BARREL"),
57 gatheringThreshold = cms.double(0.08),
58 gatheringThresholdPt = cms.double(0.0)
60 cms.PSet( detector = cms.string(
"ECAL_ENDCAP"),
61 gatheringThreshold = cms.double(0.3),
62 gatheringThresholdPt = cms.double(0.0)
65 useCornerCells = cms.bool(
True)
69 _positionCalcECAL_all_nodepth = cms.PSet(
70 algoName = cms.string(
"Basic2DGenericPFlowPositionCalc"),
72 minFractionInCalc = cms.double(1e-9),
73 posCalcNCrystals = cms.int32(-1),
74 logWeightDenominator = cms.double(0.08),
75 minAllowedNormalization = cms.double(1e-9),
76 timeResolutionCalcBarrel = _timeResolutionECALBarrel,
77 timeResolutionCalcEndcap = _timeResolutionECALEndcap,
79 _positionCalcECAL_3x3_nodepth = _positionCalcECAL_all_nodepth.clone(
80 posCalcNCrystals = cms.int32(9)
82 _positionCalcECAL_all_withdepth = cms.PSet(
83 algoName = cms.string(
"ECAL2DPositionCalcWithDepthCorr"),
85 minFractionInCalc = cms.double(0.0),
86 minAllowedNormalization = cms.double(0.0),
87 T0_EB = cms.double(7.4),
88 T0_EE = cms.double(3.1),
89 T0_ES = cms.double(1.2),
95 _pfClusterizerWithTime_ECAL = cms.PSet(
96 algoName = cms.string(
"PFlow2DClusterizerWithTime"),
98 minFractionToKeep = cms.double(1e-7),
99 positionCalc = _positionCalcECAL_3x3_nodepth,
100 allCellsPositionCalc = _positionCalcECAL_all_nodepth,
101 positionCalcForConvergence = _positionCalcECAL_all_withdepth,
102 showerSigma = cms.double(1.5),
105 timeSigmaEB = cms.double(10),
106 timeSigmaEE = cms.double(10),
107 stoppingTolerance = cms.double(1e-8),
108 maxIterations = cms.uint32(50),
109 excludeOtherSeeds = cms.bool(
True),
110 minFracTot = cms.double(1e-20),
111 maxNSigmaTime = cms.double(10.),
112 minChi2Prob = cms.double(0.),
113 clusterTimeResFromSeed = cms.bool(
False),
114 recHitEnergyNorms = cms.VPSet(
115 cms.PSet( detector = cms.string(
"ECAL_BARREL"),
116 recHitEnergyNorm = cms.double(0.08)
118 cms.PSet( detector = cms.string(
"ECAL_ENDCAP"),
119 recHitEnergyNorm = cms.double(0.3)
122 timeResolutionCalcBarrel = _timeResolutionECALBarrel,
123 timeResolutionCalcEndcap = _timeResolutionECALEndcap,
127 _emEnergyCorrector = cms.PSet(
128 algoName = cms.string(
"PFClusterEMEnergyCorrector"),
129 applyCrackCorrections = cms.bool(
False)
132 particleFlowClusterECALWithTimeUncorrected = cms.EDProducer(
134 recHitsSource = cms.InputTag(
"particleFlowRecHitECALWithTime"),
135 recHitCleaners = cms.VPSet(),
136 seedFinder = _localMaxSeeds_ECAL,
137 initialClusteringStep = _topoClusterizer_ECAL,
138 pfClusterBuilder = _pfClusterizerWithTime_ECAL,
139 positionReCalc = _positionCalcECAL_all_withdepth,
140 energyCorrector = cms.PSet()