CMS 3D CMS Logo

Functions
pfClusteringCustoms Namespace Reference

Functions

def usePFWithMethodOne (process)
 
def usePFWithMethodOnePointFive (process)
 

Function Documentation

def pfClusteringCustoms.usePFWithMethodOne (   process)

Definition at line 6 of file pfClusteringCustoms.py.

6 def usePFWithMethodOne(process):
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")
11  )
12  process.pfClusteringHBHEHF.remove(process.particleFlowClusterHBHETimeSelected)
13  process.particleFlowClusterHCAL.clustersSource = cms.InputTag("particleFlowClusterHBHE")
14 
15 
def usePFWithMethodOne(process)
def pfClusteringCustoms.usePFWithMethodOnePointFive (   process)

Definition at line 16 of file pfClusteringCustoms.py.

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 '
19 
20 
21  from RecoParticleFlow.PFClusterProducer.particleFlowClusterHBHEMaxSampleTimeSelected_cfi import particleFlowClusterHBHETimeSelected as timeSelector
22  process.particleFlowClusterHBHETimeSelected.cuts = timeSelector.cuts
23 
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
29  )
30 
31  for p in process.particleFlowRecHitHBHE.producers:
32  p.name = cms.string("PFHBHERecHitCreatorMaxSample")
33  process.particleFlowClusterHBHE.pfClusterBuilder.algoName = cms.string("PFlow2DClusterizerWithTime")
34 
35 
36 
37 
38 
39 
40 
def usePFWithMethodOnePointFive(process)