CMS 3D CMS Logo

Functions | Variables
trackingNtuple_cff Namespace Reference

Functions

def _filterForNtuple (lst)
 
def _seedProdToTrackCands (name)
 

Variables

 _includeHits
 
 _includeSeeds
 
 _phase2_trackingNtupleSequence
 
 _seedProducers
 
 _seedProducers_trackingPhase1
 
 _seedProducers_trackingPhase1QuadProp
 
 _seedProducers_trackingPhase2PU140
 
 _seedSelectors
 
 _seedSelectors_trackingPhase1
 
 _seedSelectors_trackingPhase1QuadProp
 
 _seedSelectors_trackingPhase2PU140
 
 _trackingNtupleSeedSelectors_trackingPhase1
 
 _trackingNtupleSeedSelectors_trackingPhase1QuadProp
 
 _trackingNtupleSeedSelectors_trackingPhase2PU140
 
 chargedOnly
 
 includeAllHits
 
 includeSeeds
 
 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 39 of file trackingNtuple_cff.py.

40  ret = []
41  for item in lst:
42  if "PreSplitting" in item:
43  continue
44  if "SeedsA" in item and item.replace("SeedsA", "SeedsB") in lst:
45  ret.append(item.replace("SeedsA", "Seeds"))
46  continue
47  if "SeedsB" in item:
48  continue
49  if "SeedsPair" in item and item.replace("SeedsPair", "SeedsTripl") in lst:
50  ret.append(item.replace("SeedsPair", "Seeds"))
51  continue
52  if "SeedsTripl" in item:
53  continue
54  ret.append(item)
55  return ret
def trackingNtuple_cff._seedProdToTrackCands (   name)
private

Definition at line 77 of file trackingNtuple_cff.py.

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

78  return name.replace("seedTracks", "").replace("Seeds", "TrackCandidates")
79 trackingNtuple.trackCandidates = map(_seedProdToTrackCands, _seedProducers)
80 trackingPhase1.toModify(trackingNtuple, trackCandidates=map(_seedProdToTrackCands, _seedProducers_trackingPhase1))
81 trackingPhase1QuadProp.toModify(trackingNtuple, trackCandidates=map(_seedProdToTrackCands, _seedProducers_trackingPhase1QuadProp))
82 trackingPhase2PU140.toModify(trackingNtuple, trackCandidates=map(_seedProdToTrackCands, _seedProducers_trackingPhase2PU140))
83 
def _seedProdToTrackCands(name)
def replace(string, replacements)

Variable Documentation

trackingNtuple_cff._includeHits
private

Definition at line 17 of file trackingNtuple_cff.py.

trackingNtuple_cff._includeSeeds
private

Definition at line 20 of file trackingNtuple_cff.py.

trackingNtuple_cff._phase2_trackingNtupleSequence
private

Definition at line 91 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedProducers
private

Definition at line 56 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedProducers_trackingPhase1
private

Definition at line 57 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedProducers_trackingPhase1QuadProp
private

Definition at line 58 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedProducers_trackingPhase2PU140
private

Definition at line 59 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedSelectors
private

Definition at line 61 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedSelectors_trackingPhase1
private

Definition at line 62 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedSelectors_trackingPhase1QuadProp
private

Definition at line 63 of file trackingNtuple_cff.py.

trackingNtuple_cff._seedSelectors_trackingPhase2PU140
private

Definition at line 64 of file trackingNtuple_cff.py.

trackingNtuple_cff._trackingNtupleSeedSelectors_trackingPhase1
private

Definition at line 62 of file trackingNtuple_cff.py.

trackingNtuple_cff._trackingNtupleSeedSelectors_trackingPhase1QuadProp
private

Definition at line 63 of file trackingNtuple_cff.py.

trackingNtuple_cff._trackingNtupleSeedSelectors_trackingPhase2PU140
private

Definition at line 64 of file trackingNtuple_cff.py.

trackingNtuple_cff.chargedOnly

Definition at line 27 of file trackingNtuple_cff.py.

trackingNtuple_cff.includeAllHits

Definition at line 36 of file trackingNtuple_cff.py.

trackingNtuple_cff.includeSeeds

Definition at line 37 of file trackingNtuple_cff.py.

trackingNtuple_cff.intimeOnly

Definition at line 26 of file trackingNtuple_cff.py.

trackingNtuple_cff.lip

Definition at line 29 of file trackingNtuple_cff.py.

trackingNtuple_cff.maxRapidity

Definition at line 31 of file trackingNtuple_cff.py.

trackingNtuple_cff.minRapidity

Definition at line 30 of file trackingNtuple_cff.py.

trackingNtuple_cff.phase2OTSimLink

Definition at line 113 of file trackingNtuple_cff.py.

trackingNtuple_cff.pixelDigiSimLink

Definition at line 111 of file trackingNtuple_cff.py.

trackingNtuple_cff.ptMin

Definition at line 32 of file trackingNtuple_cff.py.

trackingNtuple_cff.seedTracks

Definition at line 72 of file trackingNtuple_cff.py.

Referenced by TrackingNtuple.fillSeeds().

trackingNtuple_cff.signalOnly

Definition at line 25 of file trackingNtuple_cff.py.

trackingNtuple_cff.stripDigiSimLink

Definition at line 112 of file trackingNtuple_cff.py.

trackingNtuple_cff.tip

Definition at line 28 of file trackingNtuple_cff.py.

trackingNtuple_cff.trackingNtuple

Definition at line 73 of file trackingNtuple_cff.py.

trackingNtuple_cff.trackingNtupleSeedSelectors

Definition at line 61 of file trackingNtuple_cff.py.

trackingNtuple_cff.trackingNtupleSequence

Definition at line 84 of file trackingNtuple_cff.py.

trackingNtuple_cff.trackingParticles

Definition at line 34 of file trackingNtuple_cff.py.

trackingNtuple_cff.trackingParticlesIntime

Definition at line 24 of file trackingNtuple_cff.py.

trackingNtuple_cff.trackingParticlesRef

Definition at line 35 of file trackingNtuple_cff.py.