![]() |
![]() |
Public Member Functions | |
def | __init__ |
def | __iter__ |
def | hasHits |
def | hasSeeds |
def | nevents |
def | tree |
Private Attributes | |
_entries | |
_file | |
_tree | |
Class abstracting the whole ntuple/TTree. Main benefit is to provide nice interface for - iterating over events - querying whether hit/seed information exists
def ntuple.TrackingNtuple.__iter__ | ( | self | ) |
Returns generator for iterating over TTree entries (events) Generator returns Event objects.
Definition at line 298 of file ntuple.py.
References ntuple.TrackingNtuple._entries, ntuple._Collection._tree, python.cmstools.EventTree._tree, ntuple._Object._tree, and ntuple.TrackingNtuple._tree.
def ntuple.TrackingNtuple.hasHits | ( | self | ) |
Returns true if the ntuple has hit information.
Definition at line 290 of file ntuple.py.
References ntuple._Collection._tree, python.cmstools.EventTree._tree, ntuple._Object._tree, and ntuple.TrackingNtuple._tree.
def ntuple.TrackingNtuple.hasSeeds | ( | self | ) |
Returns true if the ntuple has seed information.
Definition at line 294 of file ntuple.py.
References ntuple._Collection._tree, python.cmstools.EventTree._tree, ntuple._Object._tree, and ntuple.TrackingNtuple._tree.
def ntuple.TrackingNtuple.nevents | ( | self | ) |
Definition at line 287 of file ntuple.py.
References ntuple.TrackingNtuple._entries.
def ntuple.TrackingNtuple.tree | ( | self | ) |
Definition at line 284 of file ntuple.py.
References ntuple._Collection._tree, python.cmstools.EventTree._tree, ntuple._Object._tree, and ntuple.TrackingNtuple._tree.
Referenced by ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.beginLoop(), MetTreeProducer.MetTreeProducer.declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer.declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer.fillTree(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), and MetTreeProducer.MetTreeProducer.process().
|
private |
Definition at line 282 of file ntuple.py.
Referenced by ntuple.TrackingNtuple.__iter__(), and ntuple.TrackingNtuple.nevents().
|
private |
Definition at line 281 of file ntuple.py.
Referenced by ntuple.BeamSpot.__getattr__(), ntuple.TrackingNtuple.__iter__(), ntuple._TrackingParticleMatchAdaptor._nMatchedTrackingParticles(), ntuple.Event.beamspot(), ntuple._RecoHitAdaptor.gluedHits(), ntuple.Event.gluedHits(), ntuple.TrackingNtuple.hasHits(), ntuple.TrackingNtuple.hasSeeds(), ntuple._RecoHitAdaptor.hits(), ntuple._RecoHitAdaptor.invalidHits(), ntuple._LayerStrAdaptor.layerStr(), ntuple._TrackingParticleMatchAdaptor.matchedTrackingParticleInfos(), ntuple._RecoHitAdaptor.pixelHits(), ntuple.Event.pixelHits(), ntuple.Event.seeds(), ntuple._SimHitAdaptor.simHits(), ntuple._RecoHitAdaptor.stripHits(), ntuple.Event.stripHits(), ntuple.Event.trackingParticles(), ntuple.Event.trackingVertices(), ntuple.Event.tracks(), ntuple.TrackingNtuple.tree(), and ntuple.Event.vertices().