1 from __future__
import print_function
3 import FWCore.ParameterSet.Config
as cms
8 print(
'-------------PF with method I -------------')
9 print(
'Assumes that HCAL reco is tuned to method I ')
10 process.particleFlowRecHitHBHE.navigator = cms.PSet(
11 name = cms.string(
"PFRecHitHCALNavigator")
13 process.pfClusteringHBHEHF.remove(process.particleFlowClusterHBHETimeSelected)
14 process.particleFlowClusterHCAL.clustersSource = cms.InputTag(
"particleFlowClusterHBHE")
18 print(
'-------------PF with method I.5-------------')
19 print(
'Independent of which HCAL reco was used since it reads the time samples from the rechit ')
22 from RecoParticleFlow.PFClusterProducer.particleFlowClusterHBHEMaxSampleTimeSelected_cfi
import particleFlowClusterHBHETimeSelected
as timeSelector
23 process.particleFlowClusterHBHETimeSelected.cuts = timeSelector.cuts
25 from RecoParticleFlow.PFClusterProducer.particleFlowCaloResolution_cfi
import _timeResolutionHCALMaxSample
26 process.particleFlowRecHitHBHE.navigator = cms.PSet(
27 name = cms.string(
"PFRecHitHCALNavigatorWithTime"),
28 sigmaCut = cms.double(4.0),
29 timeResolutionCalc = _timeResolutionHCALMaxSample
32 for p
in process.particleFlowRecHitHBHE.producers:
33 p.name = cms.string(
"PFHBHERecHitCreatorMaxSample")
34 process.particleFlowClusterHBHE.pfClusterBuilder.algoName = cms.string(
"PFlow2DClusterizerWithTime")
def usePFWithMethodOne(process)
def usePFWithMethodOnePointFive(process)
S & print(S &os, JobReport::InputFile const &f)