1 import FWCore.ParameterSet.Config
as cms
8 _passThruSeeds_HGCal = cms.PSet(
9 algoName = cms.string(
"PassThruSeedFinder"),
10 thresholdsByDetector = cms.VPSet(
12 nNeighbours = cms.int32(8)
16 _simClusterMapper_HGCal = cms.PSet(
17 algoName = cms.string(
"RealisticSimClusterMapper"),
18 exclusiveFraction = cms.double(0.6),
19 invisibleFraction = cms.double(0.6),
20 maxDistanceFilter = cms.bool(
True),
22 maxDistance = cms.double(10.0),
23 useMCFractionsForExclEnergy = cms.bool(
False),
24 thresholdsByDetector = cms.VPSet(
26 hadronCalib = hadronCorrections,
27 egammaCalib = egammaCorrections,
28 calibMinEta = minEtaCorrection,
29 calibMaxEta = maxEtaCorrection,
30 simClusterSrc = cms.InputTag(
"mix:MergedCaloTruth")
35 _positionCalcPCA_HGCal = cms.PSet(
36 algoName = cms.string(
"Cluster3DPCACalculator"),
37 minFractionInCalc = cms.double(1e-9)
40 _hgcalMultiClusterMapper_HGCal = cms.PSet(
41 algoName = cms.string(
"PFClusterFromHGCalMultiCluster"),
42 thresholdsByDetector = cms.VPSet(
44 clusterSrc = cms.InputTag(
"hgcalLayerClusters")
47 particleFlowClusterHGCal = cms.EDProducer(
49 recHitsSource = cms.InputTag(
"particleFlowRecHitHGC"),
50 recHitCleaners = cms.VPSet(),
51 seedFinder = _passThruSeeds_HGCal,
52 initialClusteringStep = _simClusterMapper_HGCal,
53 pfClusterBuilder = cms.PSet(),
54 positionReCalc = _positionCalcPCA_HGCal,
55 energyCorrector = cms.PSet()
58 particleFlowClusterHGCalFromMultiCl = particleFlowClusterHGCal.clone(
59 initialClusteringStep = _hgcalMultiClusterMapper_HGCal