CMS 3D CMS Logo

Functions | Variables
trackingNtuple_cff Namespace Reference

Functions

def _filterForNtuple (lst)
 
def _seedProdToTrackCands (name)
 

Variables

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

Function Documentation

def trackingNtuple_cff._filterForNtuple (   lst)
private

Definition at line 47 of file trackingNtuple_cff.py.

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
def trackingNtuple_cff._seedProdToTrackCands (   name)
private

Definition at line 85 of file trackingNtuple_cff.py.

References genParticles_cff.map, and python.rootplot.root2matplotlib.replace().

86  return name.replace("seedTracks", "").replace("Seeds", "TrackCandidates")
87 trackingNtuple.trackCandidates = map(_seedProdToTrackCands, _seedProducers)
88 trackingPhase1.toModify(trackingNtuple, trackCandidates=map(_seedProdToTrackCands, _seedProducers_trackingPhase1))
89 trackingPhase1QuadProp.toModify(trackingNtuple, trackCandidates=map(_seedProdToTrackCands, _seedProducers_trackingPhase1QuadProp))
90 trackingPhase2PU140.toModify(trackingNtuple, trackCandidates=map(_seedProdToTrackCands, _seedProducers_trackingPhase2PU140))
91 
def _seedProdToTrackCands(name)
def replace(string, replacements)

Variable Documentation

trackingNtuple_cff._includeHits
private

Definition at line 17 of file trackingNtuple_cff.py.

trackingNtuple_cff._includeMVA
private

Definition at line 23 of file trackingNtuple_cff.py.

trackingNtuple_cff._includeSeeds
private

Definition at line 20 of file trackingNtuple_cff.py.

trackingNtuple_cff._includeTrackingParticles
private

Definition at line 26 of file trackingNtuple_cff.py.

trackingNtuple_cff._phase2_trackingNtupleSequence
private

Definition at line 99 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedProducers
private

Definition at line 64 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedProducers_trackingPhase1
private

Definition at line 65 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedProducers_trackingPhase1QuadProp
private

Definition at line 66 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedProducers_trackingPhase2PU140
private

Definition at line 67 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedSelectors
private

Definition at line 69 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedSelectors_trackingPhase1
private

Definition at line 70 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedSelectors_trackingPhase1QuadProp
private

Definition at line 71 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedSelectors_trackingPhase2PU140
private

Definition at line 72 of file trackingNtuple_cff.py.

trackingNtuple_cff._trackingNtupleSeedSelectors_trackingPhase1
private

Definition at line 70 of file trackingNtuple_cff.py.

trackingNtuple_cff._trackingNtupleSeedSelectors_trackingPhase1QuadProp
private

Definition at line 71 of file trackingNtuple_cff.py.

trackingNtuple_cff._trackingNtupleSeedSelectors_trackingPhase2PU140
private

Definition at line 72 of file trackingNtuple_cff.py.

trackingNtuple_cff.chargedOnly

Definition at line 33 of file trackingNtuple_cff.py.

trackingNtuple_cff.includeAllHits

Definition at line 42 of file trackingNtuple_cff.py.

trackingNtuple_cff.includeMVA

Definition at line 44 of file trackingNtuple_cff.py.

trackingNtuple_cff.includeSeeds

Definition at line 43 of file trackingNtuple_cff.py.

trackingNtuple_cff.includeTrackingParticles

Definition at line 45 of file trackingNtuple_cff.py.

trackingNtuple_cff.intimeOnly

Definition at line 32 of file trackingNtuple_cff.py.

trackingNtuple_cff.lip

Definition at line 35 of file trackingNtuple_cff.py.

trackingNtuple_cff.maxRapidity

Definition at line 37 of file trackingNtuple_cff.py.

trackingNtuple_cff.minRapidity

Definition at line 36 of file trackingNtuple_cff.py.

trackingNtuple_cff.phase2OTSimLink

Definition at line 121 of file trackingNtuple_cff.py.

trackingNtuple_cff.pixelDigiSimLink

Definition at line 119 of file trackingNtuple_cff.py.

trackingNtuple_cff.ptMin

Definition at line 38 of file trackingNtuple_cff.py.

trackingNtuple_cff.seedTracks

Definition at line 80 of file trackingNtuple_cff.py.

Referenced by TrackingNtuple.fillSeeds().

trackingNtuple_cff.signalOnly

Definition at line 31 of file trackingNtuple_cff.py.

trackingNtuple_cff.stripDigiSimLink

Definition at line 120 of file trackingNtuple_cff.py.

trackingNtuple_cff.tip

Definition at line 34 of file trackingNtuple_cff.py.

trackingNtuple_cff.trackingNtuple

Definition at line 81 of file trackingNtuple_cff.py.

trackingNtuple_cff.trackingNtupleSeedSelectors

Definition at line 69 of file trackingNtuple_cff.py.

trackingNtuple_cff.trackingNtupleSequence

Definition at line 92 of file trackingNtuple_cff.py.

trackingNtuple_cff.trackingParticles

Definition at line 40 of file trackingNtuple_cff.py.

trackingNtuple_cff.trackingParticlesIntime

Definition at line 30 of file trackingNtuple_cff.py.

trackingNtuple_cff.trackingParticlesRef

Definition at line 41 of file trackingNtuple_cff.py.