CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
particleFlowClusterHBHE_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from RecoParticleFlow.PFClusterProducer.particleFlowCaloResolution_cfi import _timeResolutionHCALMaxSample
3 
4 #### PF CLUSTER HCAL ####
5 particleFlowClusterHBHE = cms.EDProducer(
6  "PFClusterProducer",
7  recHitsSource = cms.InputTag("particleFlowRecHitHBHE"),
8  recHitCleaners = cms.VPSet(),
9  seedFinder = cms.PSet(
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)
15  ),
16  cms.PSet( detector = cms.string("HCAL_ENDCAP"),
17  seedingThreshold = cms.double(1.1),
18  seedingThresholdPt = cms.double(0.0)
19  )
20  ),
21  nNeighbours = cms.int32(4)
22  ),
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)
29  ),
30  cms.PSet( detector = cms.string("HCAL_ENDCAP"),
31  gatheringThreshold = cms.double(0.8),
32  gatheringThresholdPt = cms.double(0.0)
33  )
34  ),
35  useCornerCells = cms.bool(True)
36  ),
37 
38  pfClusterBuilder = cms.PSet(
39  algoName = cms.string("Basic2DGenericPFlowClusterizer"),
40  #pf clustering parameters
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),#same as gathering threshold
47  minAllowedNormalization = cms.double(1e-9)
48  ),
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),#same as gathering threshold
54  minAllowedNormalization = cms.double(1e-9)
55  ),
56 
57 
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), ## numerical stabilization
70  recHitEnergyNorms = cms.VPSet(
71  cms.PSet( detector = cms.string("HCAL_BARREL1"),
72  recHitEnergyNorm = cms.double(0.8)
73  ),
74  cms.PSet( detector = cms.string("HCAL_ENDCAP"),
75  recHitEnergyNorm = cms.double(0.8)
76  )
77  )
78  ),
79  positionReCalc = cms.PSet(),
80  energyCorrector = cms.PSet()
81 )
82