CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
pfClusteringCustoms Namespace Reference

Functions

def usePFWithMethodOne (process)
 
def usePFWithMethodOnePointFive (process)
 

Function Documentation

def pfClusteringCustoms.usePFWithMethodOne (   process)

Definition at line 7 of file pfClusteringCustoms.py.

References edm.print().

7 def usePFWithMethodOne(process):
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")
12  )
13  process.pfClusteringHBHEHF.remove(process.particleFlowClusterHBHETimeSelected)
14  process.particleFlowClusterHCAL.clustersSource = cms.InputTag("particleFlowClusterHBHE")
15 
16 
def usePFWithMethodOne(process)
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:66
def pfClusteringCustoms.usePFWithMethodOnePointFive (   process)

Definition at line 17 of file pfClusteringCustoms.py.

References edm.print().

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 ')
20 
21 
22  from RecoParticleFlow.PFClusterProducer.particleFlowClusterHBHEMaxSampleTimeSelected_cfi import particleFlowClusterHBHETimeSelected as timeSelector
23  process.particleFlowClusterHBHETimeSelected.cuts = timeSelector.cuts
24 
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
30  )
31 
32  for p in process.particleFlowRecHitHBHE.producers:
33  p.name = cms.string("PFHBHERecHitCreatorMaxSample")
34  process.particleFlowClusterHBHE.pfClusterBuilder.algoName = cms.string("PFlow2DClusterizerWithTime")
35 
36 
37 
38 
39 
40 
41 
def usePFWithMethodOnePointFive(process)
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:66