CMS 3D CMS Logo

Functions | Variables
trackingNtuple_cff Namespace Reference

Functions

def _filterForNtuple (lst)
 
def _seedProdToTrackCands (name)
 

Variables

 _includeHits
 
 _includeMVA
 
 _includeSeeds
 
 _includeTrackingParticles
 
 _phase2_trackingNtupleTask
 
 _seedProducers
 
 _seedProducers_trackingPhase1
 
 _seedProducers_trackingPhase2PU140
 
 _seedSelectors
 
 _seedSelectors_trackingPhase1
 
 _seedSelectors_trackingPhase2PU140
 
 _trackingNtupleSeedSelectors_trackingPhase1
 
 _trackingNtupleSeedSelectors_trackingPhase2PU140
 
 chargedOnly
 
 includeAllHits
 
 includeMVA
 
 includeSeeds
 
 includeTrackingParticles
 
 intimeOnly
 
 lip
 
 maxRapidity
 
 minRapidity
 
 phase2OTSimLink
 
 pixelDigiSimLink
 
 ptMin
 
 seedTracks
 
 signalOnly
 
 stripDigiSimLink
 
 tip
 
 trackingNtuple
 
 trackingNtupleSeedSelectors
 
 trackingNtupleSequence
 
 trackingNtupleTask
 
 trackingParticles
 
 trackingParticlesIntime
 
 trackingParticlesRef
 

Function Documentation

◆ _filterForNtuple()

def trackingNtuple_cff._filterForNtuple (   lst)
private

Definition at line 47 of file trackingNtuple_cff.py.

47 def _filterForNtuple(lst):
48  ret = []
49  for item in lst:
50  if "PreSplitting" in item:
51  continue
52  if "SeedsA" in item and item.replace("SeedsA", "SeedsB") in lst:
53  ret.append(item.replace("SeedsA", "Seeds"))
54  continue
55  if "SeedsB" in item:
56  continue
57  if "SeedsPair" in item and item.replace("SeedsPair", "SeedsTripl") in lst:
58  ret.append(item.replace("SeedsPair", "Seeds"))
59  continue
60  if "SeedsTripl" in item:
61  continue
62  ret.append(item)
63  return ret

◆ _seedProdToTrackCands()

def trackingNtuple_cff._seedProdToTrackCands (   name)
private

Definition at line 80 of file trackingNtuple_cff.py.

80 def _seedProdToTrackCands(name):
81  return name.replace("seedTracks", "").replace("Seeds", "TrackCandidates")
82 trackingNtuple.trackCandidates = [_seedProdToTrackCands(i) for i in _seedProducers]
83 trackingPhase1.toModify(trackingNtuple, trackCandidates=[_seedProdToTrackCands(i) for i in _seedProducers_trackingPhase1])
84 trackingPhase2PU140.toModify(trackingNtuple, trackCandidates=[_seedProdToTrackCands(i) for i in _seedProducers_trackingPhase2PU140])
85 

References python.rootplot.root2matplotlib.replace().

Variable Documentation

◆ _includeHits

trackingNtuple_cff._includeHits
private

Definition at line 17 of file trackingNtuple_cff.py.

◆ _includeMVA

trackingNtuple_cff._includeMVA
private

Definition at line 23 of file trackingNtuple_cff.py.

◆ _includeSeeds

trackingNtuple_cff._includeSeeds
private

Definition at line 20 of file trackingNtuple_cff.py.

◆ _includeTrackingParticles

trackingNtuple_cff._includeTrackingParticles
private

Definition at line 26 of file trackingNtuple_cff.py.

◆ _phase2_trackingNtupleTask

trackingNtuple_cff._phase2_trackingNtupleTask
private

Definition at line 90 of file trackingNtuple_cff.py.

◆ _seedProducers

trackingNtuple_cff._seedProducers
private

Definition at line 64 of file trackingNtuple_cff.py.

◆ _seedProducers_trackingPhase1

trackingNtuple_cff._seedProducers_trackingPhase1
private

Definition at line 65 of file trackingNtuple_cff.py.

◆ _seedProducers_trackingPhase2PU140

trackingNtuple_cff._seedProducers_trackingPhase2PU140
private

Definition at line 66 of file trackingNtuple_cff.py.

◆ _seedSelectors

trackingNtuple_cff._seedSelectors
private

Definition at line 68 of file trackingNtuple_cff.py.

◆ _seedSelectors_trackingPhase1

trackingNtuple_cff._seedSelectors_trackingPhase1
private

Definition at line 69 of file trackingNtuple_cff.py.

◆ _seedSelectors_trackingPhase2PU140

trackingNtuple_cff._seedSelectors_trackingPhase2PU140
private

Definition at line 70 of file trackingNtuple_cff.py.

◆ _trackingNtupleSeedSelectors_trackingPhase1

trackingNtuple_cff._trackingNtupleSeedSelectors_trackingPhase1
private

Definition at line 69 of file trackingNtuple_cff.py.

◆ _trackingNtupleSeedSelectors_trackingPhase2PU140

trackingNtuple_cff._trackingNtupleSeedSelectors_trackingPhase2PU140
private

Definition at line 70 of file trackingNtuple_cff.py.

◆ chargedOnly

trackingNtuple_cff.chargedOnly

Definition at line 33 of file trackingNtuple_cff.py.

◆ includeAllHits

trackingNtuple_cff.includeAllHits

Definition at line 42 of file trackingNtuple_cff.py.

◆ includeMVA

trackingNtuple_cff.includeMVA

Definition at line 44 of file trackingNtuple_cff.py.

◆ includeSeeds

trackingNtuple_cff.includeSeeds

Definition at line 43 of file trackingNtuple_cff.py.

◆ includeTrackingParticles

trackingNtuple_cff.includeTrackingParticles

Definition at line 45 of file trackingNtuple_cff.py.

◆ intimeOnly

trackingNtuple_cff.intimeOnly

Definition at line 32 of file trackingNtuple_cff.py.

◆ lip

trackingNtuple_cff.lip

Definition at line 35 of file trackingNtuple_cff.py.

◆ maxRapidity

trackingNtuple_cff.maxRapidity

Definition at line 37 of file trackingNtuple_cff.py.

◆ minRapidity

trackingNtuple_cff.minRapidity

Definition at line 36 of file trackingNtuple_cff.py.

◆ phase2OTSimLink

trackingNtuple_cff.phase2OTSimLink

Definition at line 112 of file trackingNtuple_cff.py.

◆ pixelDigiSimLink

trackingNtuple_cff.pixelDigiSimLink

Definition at line 110 of file trackingNtuple_cff.py.

◆ ptMin

trackingNtuple_cff.ptMin

Definition at line 38 of file trackingNtuple_cff.py.

◆ seedTracks

trackingNtuple_cff.seedTracks

Definition at line 76 of file trackingNtuple_cff.py.

Referenced by TrackingNtuple.fillSeeds().

◆ signalOnly

trackingNtuple_cff.signalOnly

Definition at line 31 of file trackingNtuple_cff.py.

◆ stripDigiSimLink

trackingNtuple_cff.stripDigiSimLink

Definition at line 111 of file trackingNtuple_cff.py.

◆ tip

trackingNtuple_cff.tip

Definition at line 34 of file trackingNtuple_cff.py.

◆ trackingNtuple

trackingNtuple_cff.trackingNtuple

Definition at line 77 of file trackingNtuple_cff.py.

◆ trackingNtupleSeedSelectors

trackingNtuple_cff.trackingNtupleSeedSelectors

Definition at line 68 of file trackingNtuple_cff.py.

◆ trackingNtupleSequence

trackingNtuple_cff.trackingNtupleSequence

Definition at line 107 of file trackingNtuple_cff.py.

◆ trackingNtupleTask

trackingNtuple_cff.trackingNtupleTask

Definition at line 86 of file trackingNtuple_cff.py.

◆ trackingParticles

trackingNtuple_cff.trackingParticles

Definition at line 40 of file trackingNtuple_cff.py.

◆ trackingParticlesIntime

trackingNtuple_cff.trackingParticlesIntime

Definition at line 30 of file trackingNtuple_cff.py.

◆ trackingParticlesRef

trackingNtuple_cff.trackingParticlesRef

Definition at line 41 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedProdToTrackCands
def _seedProdToTrackCands(name)
Definition: trackingNtuple_cff.py:80
trackingNtuple_cff._filterForNtuple
def _filterForNtuple(lst)
Definition: trackingNtuple_cff.py:47
python.rootplot.root2matplotlib.replace
def replace(string, replacements)
Definition: root2matplotlib.py:444