1 import FWCore.ParameterSet.Config
as cms
9 _passThruSeeds_HGCal = cms.PSet(
10 algoName = cms.string(
"PassThruSeedFinder"),
11 thresholdsByDetector = cms.VPSet(
13 nNeighbours = cms.int32(8)
17 _simClusterMapper_HGCal = cms.PSet(
18 algoName = cms.string(
"RealisticSimClusterMapper"),
19 exclusiveFraction = cms.double(0.6),
20 invisibleFraction = cms.double(0.6),
21 maxDistanceFilter = cms.bool(
True),
23 maxDistance = cms.double(10.0),
24 maxDforTimingSquared = cms.double(4.0),
25 timeOffset = hgceeDigitizer.tofDelay,
26 minNHitsforTiming = cms.uint32(3),
27 useMCFractionsForExclEnergy = cms.bool(
False),
28 thresholdsByDetector = cms.VPSet(
30 hadronCalib = hadronCorrections,
31 egammaCalib = egammaCorrections,
32 calibMinEta = minEtaCorrection,
33 calibMaxEta = maxEtaCorrection,
34 simClusterSrc = cms.InputTag(
"mix:MergedCaloTruth")
36 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
37 premix_stage2.toModify(_simClusterMapper_HGCal, simClusterSrc =
"mixData:MergedCaloTruth")
41 _positionCalcPCA_HGCal = cms.PSet(
42 algoName = cms.string(
"Cluster3DPCACalculator"),
43 minFractionInCalc = cms.double(1e-9),
44 updateTiming = cms.bool(
False)
47 _hgcalMultiClusterMapper_HGCal = cms.PSet(
48 algoName = cms.string(
"PFClusterFromHGCalMultiCluster"),
49 thresholdsByDetector = cms.VPSet(
51 clusterSrc = cms.InputTag(
"hgcalMultiClusters")
54 particleFlowClusterHGCal = cms.EDProducer(
56 recHitsSource = cms.InputTag(
"particleFlowRecHitHGC"),
57 recHitCleaners = cms.VPSet(),
58 seedFinder = _passThruSeeds_HGCal,
59 initialClusteringStep = _simClusterMapper_HGCal,
60 pfClusterBuilder = cms.PSet(),
61 positionReCalc = _positionCalcPCA_HGCal,
62 energyCorrector = cms.PSet()
65 particleFlowClusterHGCalFromMultiCl = particleFlowClusterHGCal.clone(
66 initialClusteringStep = _hgcalMultiClusterMapper_HGCal