Public Member Functions | |
def | __getattr__ |
def | __init__ |
def | trackingParticle |
Public Member Functions inherited from ntuple._Object | |
def | __getattr__ |
def | __init__ |
def | index |
def | isValid |
Private Attributes | |
_tpindex | |
Class representing a match to a TrackingParticle. The point of this class is to provide, in addition to the matched TrackingParticle, also other information about the match (e.g. shared hit fraction for tracks/seeds or SimHit information for hits.
def ntuple.TrackingParticleMatchInfo.__init__ | ( | self, | |
tree, | |||
index, | |||
tpindex, | |||
prefix | |||
) |
Constructor. Arguments: tree -- TTree object index -- Index of the object (track/seed/hit) matched to TrackingParticle tpindex -- Index of the TrackingParticle match (second index in _simTrkIdx branch) prefix -- String for prefix of the object (track/seed/hit) matched to TrackingParticle
Definition at line 410 of file ntuple.py.
def ntuple.TrackingParticleMatchInfo.__getattr__ | ( | self, | |
attr | |||
) |
Custom __getattr__ because of the second index needed to access the branch.
Definition at line 422 of file ntuple.py.
References ntuple.TrackingParticleMatchInfo._tpindex.
def ntuple.TrackingParticleMatchInfo.trackingParticle | ( | self | ) |
Returns matched TrackingParticle.
Definition at line 426 of file ntuple.py.
References ntuple._Object._checkIsValid(), SeedingNode< DATA >._index, Vispa.Share.FindAlgorithm.FindAlgorithm._index, RPCMuonExtraStruct._index, python.cmstools.EventTree._index, ntuple._Object._index, python.cmstools.EventBranch._index, html.HtmlReport._index, CommonAnalyzer._prefix, ntuple._Object._prefix, html.PageSet._prefix, ntuple.TrackingParticleMatchInfo._tpindex, ntuple._Collection._tree, python.cmstools.EventTree._tree, and ntuple._Object._tree.
|
private |
Definition at line 420 of file ntuple.py.
Referenced by ntuple.TrackingParticleMatchInfo.__getattr__(), and ntuple.TrackingParticleMatchInfo.trackingParticle().