CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
particleFlowClusterHGC_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #### PF CLUSTER HGCal ####
4 
5 #cleaning (none for now)
6 
7 #seeding
8 _passThruSeeds_HGCal = cms.PSet(
9  algoName = cms.string("PassThruSeedFinder"),
10  thresholdsByDetector = cms.VPSet(
11  ),
12  nNeighbours = cms.int32(8)
13 )
14 
15 # initial step clusterizer
16 _simClusterMapper_HGCal = cms.PSet(
17  algoName = cms.string("GenericSimClusterMapper"),
18  thresholdsByDetector = cms.VPSet(
19  ),
20  simClusterSrc = cms.InputTag("mix:MergedCaloTruth")
21 )
22 
23 #position calculations
24 _positionCalcPCA_HGCal = cms.PSet(
25  algoName = cms.string("Cluster3DPCACalculator"),
26  minFractionInCalc = cms.double(1e-9)
27 )
28 
29 particleFlowClusterHGCal = cms.EDProducer(
30  "PFClusterProducer",
31  recHitsSource = cms.InputTag("particleFlowRecHitHGC"),
32  recHitCleaners = cms.VPSet(),
33  seedFinder = _passThruSeeds_HGCal,
34  initialClusteringStep = _simClusterMapper_HGCal,
35  pfClusterBuilder = cms.PSet(),
36  positionReCalc = _positionCalcPCA_HGCal,
37  energyCorrector = cms.PSet()
38  )