2 import FWCore.ParameterSet.Config
as cms
7 print '-------------PF with method I -------------' 8 print 'Assumes that HCAL reco is tuned to method I ' 9 process.particleFlowRecHitHBHE.navigator = cms.PSet(
10 name = cms.string(
"PFRecHitHCALNavigator")
12 process.pfClusteringHBHEHF.remove(process.particleFlowClusterHBHETimeSelected)
13 process.particleFlowClusterHCAL.clustersSource = cms.InputTag(
"particleFlowClusterHBHE")
17 print '-------------PF with method I.5-------------' 18 print 'Independent of which HCAL reco was used since it reads the time samples from the rechit ' 21 from RecoParticleFlow.PFClusterProducer.particleFlowClusterHBHEMaxSampleTimeSelected_cfi
import particleFlowClusterHBHETimeSelected
as timeSelector
22 process.particleFlowClusterHBHETimeSelected.cuts = timeSelector.cuts
24 from RecoParticleFlow.PFClusterProducer.particleFlowCaloResolution_cfi
import _timeResolutionHCALMaxSample
25 process.particleFlowRecHitHBHE.navigator = cms.PSet(
26 name = cms.string(
"PFRecHitHCALNavigatorWithTime"),
27 sigmaCut = cms.double(4.0),
28 timeResolutionCalc = _timeResolutionHCALMaxSample
31 for p
in process.particleFlowRecHitHBHE.producers:
32 p.name = cms.string(
"PFHBHERecHitCreatorMaxSample")
33 process.particleFlowClusterHBHE.pfClusterBuilder.algoName = cms.string(
"PFlow2DClusterizerWithTime")
def usePFWithMethodOne(process)
def usePFWithMethodOnePointFive(process)