1 import FWCore.ParameterSet.Config
as cms
2 from RecoParticleFlow.PFClusterProducer.particleFlowCaloResolution_cfi
import _timeResolutionHCALMaxSample
5 particleFlowClusterHBHE = cms.EDProducer(
7 recHitsSource = cms.InputTag(
"particleFlowRecHitHBHE"),
8 recHitCleaners = cms.VPSet(),
10 algoName = cms.string(
"LocalMaximumSeedFinder"),
11 thresholdsByDetector = cms.VPSet(
12 cms.PSet( detector = cms.string(
"HCAL_BARREL1"),
13 seedingThreshold = cms.double(1.0),
14 seedingThresholdPt = cms.double(0.0)
16 cms.PSet( detector = cms.string(
"HCAL_ENDCAP"),
17 seedingThreshold = cms.double(1.1),
18 seedingThresholdPt = cms.double(0.0)
21 nNeighbours = cms.int32(4)
23 initialClusteringStep = cms.PSet(
24 algoName = cms.string(
"Basic2DGenericTopoClusterizer"),
25 thresholdsByDetector = cms.VPSet(
26 cms.PSet( detector = cms.string(
"HCAL_BARREL1"),
27 gatheringThreshold = cms.double(0.8),
28 gatheringThresholdPt = cms.double(0.0)
30 cms.PSet( detector = cms.string(
"HCAL_ENDCAP"),
31 gatheringThreshold = cms.double(0.8),
32 gatheringThresholdPt = cms.double(0.0)
35 useCornerCells = cms.bool(
True)
38 pfClusterBuilder = cms.PSet(
39 algoName = cms.string(
"Basic2DGenericPFlowClusterizer"),
41 minFractionToKeep = cms.double(1e-7),
42 positionCalc = cms.PSet(
43 algoName = cms.string(
"Basic2DGenericPFlowPositionCalc"),
44 minFractionInCalc = cms.double(1e-9),
45 posCalcNCrystals = cms.int32(5),
46 logWeightDenominator = cms.double(0.8),
47 minAllowedNormalization = cms.double(1e-9)
49 allCellsPositionCalc =cms.PSet(
50 algoName = cms.string(
"Basic2DGenericPFlowPositionCalc"),
51 minFractionInCalc = cms.double(1e-9),
52 posCalcNCrystals = cms.int32(-1),
53 logWeightDenominator = cms.double(0.8),
54 minAllowedNormalization = cms.double(1e-9)
58 timeSigmaEB = cms.double(10.),
59 timeSigmaEE = cms.double(10.),
60 maxNSigmaTime = cms.double(10.),
61 minChi2Prob = cms.double(0.),
62 clusterTimeResFromSeed = cms.bool(
False),
63 timeResolutionCalcBarrel = _timeResolutionHCALMaxSample,
64 timeResolutionCalcEndcap = _timeResolutionHCALMaxSample,
65 showerSigma = cms.double(10.0),
66 stoppingTolerance = cms.double(1e-8),
67 maxIterations = cms.uint32(50),
68 excludeOtherSeeds = cms.bool(
True),
69 minFracTot = cms.double(1e-20),
70 recHitEnergyNorms = cms.VPSet(
71 cms.PSet( detector = cms.string(
"HCAL_BARREL1"),
72 recHitEnergyNorm = cms.double(0.8)
74 cms.PSet( detector = cms.string(
"HCAL_ENDCAP"),
75 recHitEnergyNorm = cms.double(0.8)
79 positionReCalc = cms.PSet(),
80 energyCorrector = cms.PSet()