CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
particleFlowClusterHO_cfi Namespace Reference

Functions

def _modifyParticleFlowClusterHOForRun2
 

Variables

tuple _localMaxSeeds_HO
 PF CLUSTER HO ####. More...
 
tuple _pfClusterizer_HO
 
tuple _positionCalcHO_all_nodepth
 
tuple _positionCalcHO_cross_nodepth
 
tuple _topoClusterizer_HO
 
tuple particleFlowClusterHO
 

Function Documentation

def particleFlowClusterHO_cfi._modifyParticleFlowClusterHOForRun2 (   object)
private
Customises PFClusterProducer for Run 2.

Definition at line 92 of file particleFlowClusterHO_cfi.py.

92 
94  """
95  Customises PFClusterProducer for Run 2.
96  """
97  for p in object.seedFinder.thresholdsByDetector:
98  p.seedingThreshold = cms.double(0.08)
99 
100  for p in object.initialClusteringStep.thresholdsByDetector:
101  p.gatheringThreshold = cms.double(0.05)
102 
103  for p in object.pfClusterBuilder.recHitEnergyNorms:
104  p.recHitEnergyNorm = cms.double(0.05)
105 
106  object.pfClusterBuilder.positionCalc.logWeightDenominator = cms.double(0.05)
107  object.pfClusterBuilder.allCellsPositionCalc.logWeightDenominator = cms.double(0.05)
108 
109 # Call the function above to modify particleFlowClusterHO only if the run2 era is active
110 eras.run2_common.toModify( particleFlowClusterHO, func=_modifyParticleFlowClusterHOForRun2 )

Variable Documentation

tuple particleFlowClusterHO_cfi._localMaxSeeds_HO
Initial value:
1 = cms.PSet(
2  algoName = cms.string("LocalMaximumSeedFinder"),
3  thresholdsByDetector = cms.VPSet(
4  cms.PSet( detector = cms.string("HCAL_BARREL2_RING0"),
5  seedingThreshold = cms.double(1.0),
6  seedingThresholdPt = cms.double(0.0)
7  ),
8  cms.PSet( detector = cms.string("HCAL_BARREL2_RING1"),
9  seedingThreshold = cms.double(3.1),
10  seedingThresholdPt = cms.double(0.0)
11  )
12  ),
13  nNeighbours = cms.int32(4)
14 )

PF CLUSTER HO ####.

Definition at line 11 of file particleFlowClusterHO_cfi.py.

tuple particleFlowClusterHO_cfi._pfClusterizer_HO
Initial value:
1 = cms.PSet(
2  algoName = cms.string("Basic2DGenericPFlowClusterizer"),
3  #pf clustering parameters
4  minFractionToKeep = cms.double(1e-7),
5  positionCalc = _positionCalcHO_cross_nodepth,
6  allCellsPositionCalc = _positionCalcHO_all_nodepth,
7  showerSigma = cms.double(10.0),
8  stoppingTolerance = cms.double(1e-8),
9  maxIterations = cms.uint32(50),
10  excludeOtherSeeds = cms.bool(True),
11  minFracTot = cms.double(1e-20), ## numerical stabilization
12  recHitEnergyNorms = cms.VPSet(
13  cms.PSet( detector = cms.string("HCAL_BARREL2_RING0"),
14  recHitEnergyNorm = cms.double(0.5)
15  ),
16  cms.PSet( detector = cms.string("HCAL_BARREL2_RING1"),
17  recHitEnergyNorm = cms.double(1.0)
18  )
19  )
20 )

Definition at line 57 of file particleFlowClusterHO_cfi.py.

tuple particleFlowClusterHO_cfi._positionCalcHO_all_nodepth
Initial value:
1 = _positionCalcHO_cross_nodepth.clone(
2  posCalcNCrystals = cms.int32(-1)
3 )

Definition at line 52 of file particleFlowClusterHO_cfi.py.

tuple particleFlowClusterHO_cfi._positionCalcHO_cross_nodepth
Initial value:
1 = cms.PSet(
2  algoName = cms.string("Basic2DGenericPFlowPositionCalc"),
3  ##
4  minFractionInCalc = cms.double(1e-9),
5  posCalcNCrystals = cms.int32(5),
6  logWeightDenominator = cms.double(0.5), # same as gathering threshold
7  minAllowedNormalization = cms.double(1e-9)
8 )

Definition at line 43 of file particleFlowClusterHO_cfi.py.

tuple particleFlowClusterHO_cfi._topoClusterizer_HO
Initial value:
1 = cms.PSet(
2  algoName = cms.string("Basic2DGenericTopoClusterizer"),
3  thresholdsByDetector = cms.VPSet(
4  cms.PSet( detector = cms.string("HCAL_BARREL2_RING0"),
5  gatheringThreshold = cms.double(0.5),
6  gatheringThresholdPt = cms.double(0.0)
7  ),
8  cms.PSet( detector = cms.string("HCAL_BARREL2_RING1"),
9  gatheringThreshold = cms.double(1.0),
10  gatheringThresholdPt = cms.double(0.0)
11  )
12  ),
13  useCornerCells = cms.bool(True)
14 )

Definition at line 27 of file particleFlowClusterHO_cfi.py.

tuple particleFlowClusterHO_cfi.particleFlowClusterHO
Initial value:
1 = cms.EDProducer(
2  "PFClusterProducer",
3  recHitsSource = cms.InputTag("particleFlowRecHitHO"),
4  recHitCleaners = cms.VPSet(),
5  seedFinder = _localMaxSeeds_HO,
6  initialClusteringStep = _topoClusterizer_HO,
7  pfClusterBuilder = _pfClusterizer_HO,
8  positionReCalc = cms.PSet(),
9  energyCorrector = cms.PSet()
10 )

Definition at line 78 of file particleFlowClusterHO_cfi.py.