CMS 3D CMS Logo

Functions | Variables
RecoParticleFlow_cff Namespace Reference

Functions

def _findIndicesByModule (process, name)
 
def replaceTICLwithSimPF (process)
 

Variables

 _phase2_hgcal_particleFlowRecoTask
 
 _phase2_hgcal_particleFlowTmp
 
 _phase2_hgcal_simPFSequence
 
 _phase2_hgcal_simPFTask
 
 dxy
 
 enable
 
 fixedGridRhoFastjetAllTmp
 
 nChi2_max
 
 particleFlowLinks
 
 particleFlowLinksTask
 
 particleFlowReco
 
 particleFlowRecoTask
 
 particleFlowTmpBarrel
 
 particleFlowTmpSeq
 
 particleFlowTmpTask
 
 pfCandidatesTag
 
 pfNoPileUp
 
 pfNoPileUpIso
 
 pfPileUp
 
 pfPileUpIso
 
 pt_min
 
 pt_min_prim
 
 src
 
 tracksSelectorParameters
 
 vetoEndcap
 

Function Documentation

◆ _findIndicesByModule()

def RecoParticleFlow_cff._findIndicesByModule (   process,
  name 
)
private

Definition at line 110 of file RecoParticleFlow_cff.py.

Referenced by replaceTICLwithSimPF().

110 def _findIndicesByModule(process,name):
111  ret = []
112  if hasattr(process,'particleFlowBlock'):
113  for i, pset in enumerate(process.particleFlowBlock.elementImporters):
114  if pset.importerName.value() == name:
115  ret.append(i)
116  return ret
117 
def _findIndicesByModule(process, name)

◆ replaceTICLwithSimPF()

def RecoParticleFlow_cff.replaceTICLwithSimPF (   process)

Definition at line 119 of file RecoParticleFlow_cff.py.

References _findIndicesByModule().

119 def replaceTICLwithSimPF(process):
120  if hasattr(process,'particleFlowTmp'):
121  process.particleFlowTmp.src = ['particleFlowTmpBarrel', 'simPFProducer']
122 
123  if hasattr(process,'particleFlowTmpBarrel'):
124  process.particleFlowTmpBarrel.vetoEndcap = False
125 
126  _insertTrackImportersWithVeto = {}
127  _trackImporters = ['GeneralTracksImporter','ConvBremTrackImporter',
128  'ConversionTrackImporter','NuclearInteractionTrackImporter']
129  for importer in _trackImporters:
130  for idx in _findIndicesByModule(process,importer):
131  _insertTrackImportersWithVeto[idx] = dict(
132  vetoMode = cms.uint32(0), # HGCal-region PFTrack list for simPF
133  vetoSrc = cms.InputTag('hgcalTrackCollection:TracksInHGCal')
134  )
135  phase2_hgcal.toModify(
136  process.particleFlowBlock,
137  elementImporters = _insertTrackImportersWithVeto
138  )
139 
140  return process
141 
def _findIndicesByModule(process, name)

Variable Documentation

◆ _phase2_hgcal_particleFlowRecoTask

RecoParticleFlow_cff._phase2_hgcal_particleFlowRecoTask
private

Definition at line 80 of file RecoParticleFlow_cff.py.

◆ _phase2_hgcal_particleFlowTmp

RecoParticleFlow_cff._phase2_hgcal_particleFlowTmp
private

Definition at line 48 of file RecoParticleFlow_cff.py.

◆ _phase2_hgcal_simPFSequence

RecoParticleFlow_cff._phase2_hgcal_simPFSequence
private

Definition at line 78 of file RecoParticleFlow_cff.py.

◆ _phase2_hgcal_simPFTask

RecoParticleFlow_cff._phase2_hgcal_simPFTask
private

Definition at line 72 of file RecoParticleFlow_cff.py.

◆ dxy

RecoParticleFlow_cff.dxy

Definition at line 95 of file RecoParticleFlow_cff.py.

◆ enable

RecoParticleFlow_cff.enable

Definition at line 97 of file RecoParticleFlow_cff.py.

◆ fixedGridRhoFastjetAllTmp

RecoParticleFlow_cff.fixedGridRhoFastjetAllTmp

Definition at line 25 of file RecoParticleFlow_cff.py.

◆ nChi2_max

RecoParticleFlow_cff.nChi2_max

Definition at line 93 of file RecoParticleFlow_cff.py.

◆ particleFlowLinks

RecoParticleFlow_cff.particleFlowLinks

Definition at line 43 of file RecoParticleFlow_cff.py.

◆ particleFlowLinksTask

RecoParticleFlow_cff.particleFlowLinksTask

Definition at line 42 of file RecoParticleFlow_cff.py.

◆ particleFlowReco

RecoParticleFlow_cff.particleFlowReco

Definition at line 40 of file RecoParticleFlow_cff.py.

◆ particleFlowRecoTask

RecoParticleFlow_cff.particleFlowRecoTask

Definition at line 30 of file RecoParticleFlow_cff.py.

◆ particleFlowTmpBarrel

RecoParticleFlow_cff.particleFlowTmpBarrel

Definition at line 47 of file RecoParticleFlow_cff.py.

◆ particleFlowTmpSeq

RecoParticleFlow_cff.particleFlowTmpSeq

Definition at line 28 of file RecoParticleFlow_cff.py.

◆ particleFlowTmpTask

RecoParticleFlow_cff.particleFlowTmpTask

Definition at line 27 of file RecoParticleFlow_cff.py.

◆ pfCandidatesTag

RecoParticleFlow_cff.pfCandidatesTag

Definition at line 25 of file RecoParticleFlow_cff.py.

◆ pfNoPileUp

RecoParticleFlow_cff.pfNoPileUp

Definition at line 99 of file RecoParticleFlow_cff.py.

◆ pfNoPileUpIso

RecoParticleFlow_cff.pfNoPileUpIso

Definition at line 97 of file RecoParticleFlow_cff.py.

◆ pfPileUp

RecoParticleFlow_cff.pfPileUp

Definition at line 100 of file RecoParticleFlow_cff.py.

◆ pfPileUpIso

RecoParticleFlow_cff.pfPileUpIso

Definition at line 98 of file RecoParticleFlow_cff.py.

◆ pt_min

RecoParticleFlow_cff.pt_min

Definition at line 92 of file RecoParticleFlow_cff.py.

◆ pt_min_prim

RecoParticleFlow_cff.pt_min_prim

Definition at line 94 of file RecoParticleFlow_cff.py.

◆ src

RecoParticleFlow_cff.src

Definition at line 50 of file RecoParticleFlow_cff.py.

◆ tracksSelectorParameters

RecoParticleFlow_cff.tracksSelectorParameters

Definition at line 92 of file RecoParticleFlow_cff.py.

◆ vetoEndcap

RecoParticleFlow_cff.vetoEndcap

Definition at line 59 of file RecoParticleFlow_cff.py.