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

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 80 of file trackingNtuple_cff.py.

References python.rootplot.root2matplotlib.replace().

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 
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_trackingNtupleTask
private

Definition at line 90 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_trackingPhase2PU140
private

Definition at line 66 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedSelectors
private

Definition at line 68 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedSelectors_trackingPhase1
private

Definition at line 69 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedSelectors_trackingPhase2PU140
private

Definition at line 70 of file trackingNtuple_cff.py.

trackingNtuple_cff._trackingNtupleSeedSelectors_trackingPhase1
private

Definition at line 69 of file trackingNtuple_cff.py.

trackingNtuple_cff._trackingNtupleSeedSelectors_trackingPhase2PU140
private

Definition at line 70 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 112 of file trackingNtuple_cff.py.

trackingNtuple_cff.pixelDigiSimLink

Definition at line 110 of file trackingNtuple_cff.py.

trackingNtuple_cff.ptMin

Definition at line 38 of file trackingNtuple_cff.py.

trackingNtuple_cff.seedTracks

Definition at line 76 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 111 of file trackingNtuple_cff.py.

trackingNtuple_cff.tip

Definition at line 34 of file trackingNtuple_cff.py.

trackingNtuple_cff.trackingNtuple

Definition at line 77 of file trackingNtuple_cff.py.

trackingNtuple_cff.trackingNtupleSeedSelectors

Definition at line 68 of file trackingNtuple_cff.py.

trackingNtuple_cff.trackingNtupleSequence

Definition at line 107 of file trackingNtuple_cff.py.

trackingNtuple_cff.trackingNtupleTask

Definition at line 86 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.