CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
trackingNtuple_cff Namespace Reference

Functions

def _filterForNtuple
 
def _seedProdToTrackCands
 

Variables

 _includeHits = True
 
 _includeMVA = True
 
 _includeSeeds = True
 
 _includeTrackingParticles = True
 
tuple _phase2_trackingNtupleTask = trackingNtupleTask.copy()
 
tuple _seedProducers = _filterForNtuple(_TrackValidation_cff._seedProducers)
 
tuple _seedProducers_trackingPhase1 = _filterForNtuple(_TrackValidation_cff._seedProducers_trackingPhase1)
 
tuple _seedProducers_trackingPhase2PU140 = _filterForNtuple(_TrackValidation_cff._seedProducers_trackingPhase2PU140)
 
tuple phase2OTSimLink = cms.untracked.InputTag('simSiPixelDigis', "Tracker")
 
tuple pixelDigiSimLink = cms.untracked.InputTag('simSiPixelDigis', "Pixel")
 
tuple stripDigiSimLink = cms.untracked.InputTag('')
 
tuple trackingNtupleSequence = cms.Sequence(trackingNtuple, trackingNtupleTask)
 
tuple trackingNtupleTask = cms.Task()
 
tuple trackingParticlesIntime
 

Function Documentation

def trackingNtuple_cff._filterForNtuple (   lst)
private

Definition at line 47 of file trackingNtuple_cff.py.

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

Definition at line 80 of file trackingNtuple_cff.py.

References python.rootplot.root2matplotlib.replace().

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

Variable Documentation

trackingNtuple_cff._includeHits = True

Definition at line 17 of file trackingNtuple_cff.py.

trackingNtuple_cff._includeMVA = True

Definition at line 23 of file trackingNtuple_cff.py.

trackingNtuple_cff._includeSeeds = True

Definition at line 20 of file trackingNtuple_cff.py.

trackingNtuple_cff._includeTrackingParticles = True

Definition at line 26 of file trackingNtuple_cff.py.

tuple trackingNtuple_cff._phase2_trackingNtupleTask = trackingNtupleTask.copy()

Definition at line 90 of file trackingNtuple_cff.py.

tuple trackingNtuple_cff._seedProducers = _filterForNtuple(_TrackValidation_cff._seedProducers)

Definition at line 64 of file trackingNtuple_cff.py.

tuple trackingNtuple_cff._seedProducers_trackingPhase1 = _filterForNtuple(_TrackValidation_cff._seedProducers_trackingPhase1)

Definition at line 65 of file trackingNtuple_cff.py.

tuple trackingNtuple_cff._seedProducers_trackingPhase2PU140 = _filterForNtuple(_TrackValidation_cff._seedProducers_trackingPhase2PU140)

Definition at line 66 of file trackingNtuple_cff.py.

tuple trackingNtuple_cff.phase2OTSimLink = cms.untracked.InputTag('simSiPixelDigis', "Tracker")

Definition at line 112 of file trackingNtuple_cff.py.

tuple trackingNtuple_cff.pixelDigiSimLink = cms.untracked.InputTag('simSiPixelDigis', "Pixel")

Definition at line 110 of file trackingNtuple_cff.py.

tuple trackingNtuple_cff.stripDigiSimLink = cms.untracked.InputTag('')

Definition at line 111 of file trackingNtuple_cff.py.

tuple trackingNtuple_cff.trackingNtupleSequence = cms.Sequence(trackingNtuple, trackingNtupleTask)

Definition at line 107 of file trackingNtuple_cff.py.

tuple trackingNtuple_cff.trackingNtupleTask = cms.Task()

Definition at line 86 of file trackingNtuple_cff.py.

tuple trackingNtuple_cff.trackingParticlesIntime
Initial value:
1 = _trackingParticleRefSelector.clone(
2  signalOnly = False,
3  intimeOnly = True,
4  chargedOnly = False,
5  tip = 1e5,
6  lip = 1e5,
7  minRapidity = -10,
8  maxRapidity = 10,
9  ptMin = 0,
10 )

Definition at line 30 of file trackingNtuple_cff.py.