Public Member Functions | |
def | __init__ (self, tree, entry) |
def | beamspot (self) |
def | entry (self) |
def | event (self) |
def | eventId (self) |
def | eventIdStr (self) |
def | gluedHits (self) |
def | lumi (self) |
def | phase2OTHits (self) |
def | pixelHits (self) |
def | run (self) |
def | seeds (self) |
def | stripHits (self) |
def | trackingParticles (self) |
def | trackingVertices (self) |
def | tracks (self) |
def | vertices (self) |
Private Attributes | |
_entry | |
_tree | |
Class abstracting a single event. Main benefit is to provide nice interface to get various objects or collections of objects.
Definition at line 445 of file ntupleDataFormat.py.
def ntupleDataFormat.Event.__init__ | ( | self, | |
tree, | |||
entry | |||
) |
Constructor. Arguments: tree -- TTree object entry -- Entry number in the tree
Definition at line 451 of file ntupleDataFormat.py.
def ntupleDataFormat.Event.beamspot | ( | self | ) |
Returns BeamSpot object.
Definition at line 485 of file ntupleDataFormat.py.
References ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.entry | ( | self | ) |
def ntupleDataFormat.Event.event | ( | self | ) |
def ntupleDataFormat.Event.eventId | ( | self | ) |
Returns (run, lumi, event) tuple.
Definition at line 477 of file ntupleDataFormat.py.
Referenced by ntupleDataFormat.Event.eventIdStr().
def ntupleDataFormat.Event.eventIdStr | ( | self | ) |
Returns 'run:lumi:event' string.
Definition at line 481 of file ntupleDataFormat.py.
References SimHitInfoForLinks.eventId(), FastSingleTrackerRecHit.eventId(), StripDigiSimLink.eventId(), CoreSimVertex.eventId(), FastProjectedTrackerRecHit.eventId(), CoreSimTrack.eventId(), FastMatchedTrackerRecHit.eventId(), PixelDigiSimLink.eventId(), DTDigiSimLink.eventId(), GctBlockHeader.eventId(), CaloParticle.eventId(), PCaloHit.eventId(), SimCluster.eventId(), TrackingParticle.eventId(), StripCompactDigiSimLinks::RevLink.eventId, AlignmentAlgorithmBase::EventInfo.eventId(), FastTrackerRecHit.eventId(), sistrip::SpyEventMatcher::EventKey.eventId(), TrackingVertex.eventId(), PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex.eventId, PSimHit.eventId(), MatacqTBRawEvent.eventId, MatacqRawEvent.eventId, and ntupleDataFormat.Event.eventId().
def ntupleDataFormat.Event.gluedHits | ( | self | ) |
Returns GluedHits object.
Definition at line 501 of file ntupleDataFormat.py.
References ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.lumi | ( | self | ) |
def ntupleDataFormat.Event.phase2OTHits | ( | self | ) |
Returns Phase2OTHits object.
Definition at line 505 of file ntupleDataFormat.py.
References ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.pixelHits | ( | self | ) |
Returns PixelHits object.
Definition at line 493 of file ntupleDataFormat.py.
References ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.run | ( | self | ) |
def ntupleDataFormat.Event.seeds | ( | self | ) |
Returns Seeds object.
Definition at line 509 of file ntupleDataFormat.py.
References ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.stripHits | ( | self | ) |
Returns StripHits object.
Definition at line 497 of file ntupleDataFormat.py.
References ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.trackingParticles | ( | self | ) |
Returns TrackingParticles object.
Definition at line 513 of file ntupleDataFormat.py.
References ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.trackingVertices | ( | self | ) |
Returns TrackingVertices object.
Definition at line 521 of file ntupleDataFormat.py.
References ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.tracks | ( | self | ) |
Returns Tracks object.
Definition at line 489 of file ntupleDataFormat.py.
References ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.vertices | ( | self | ) |
Returns Vertices object.
Definition at line 517 of file ntupleDataFormat.py.
References ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
|
private |
Definition at line 460 of file ntupleDataFormat.py.
Referenced by ntupleDataFormat.Event.entry().
|
private |
Definition at line 459 of file ntupleDataFormat.py.
Referenced by ntupleDataFormat.BeamSpot.__getattr__(), ntupleDataFormat._SimHitMatchAdaptor._nMatchedSimHits(), ntupleDataFormat._TrackingParticleMatchAdaptor._nMatchedTrackingParticles(), ntupleDataFormat.Event.beamspot(), ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticle(), ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticleFromFirstHit(), ntupleDataFormat._DetIdStrAdaptor.detIdStr(), ntupleDataFormat._RecoHitAdaptor.gluedHits(), ntupleDataFormat.Event.gluedHits(), ntupleDataFormat._RecoHitAdaptor.hits(), ntupleDataFormat._RecoHitAdaptor.invalidHits(), ntupleDataFormat._DetIdStrAdaptor.layerStr(), ntupleDataFormat._SimHitMatchAdaptor.matchedSimHitInfos(), ntupleDataFormat._TrackingParticleMatchAdaptor.matchedTrackingParticleInfos(), ntupleDataFormat._RecoHitAdaptor.phase2OTHits(), ntupleDataFormat.Event.phase2OTHits(), ntupleDataFormat._RecoHitAdaptor.pixelHits(), ntupleDataFormat.Event.pixelHits(), ntupleDataFormat.Event.seeds(), ntupleDataFormat._RecoHitAdaptor.stripHits(), ntupleDataFormat.Event.stripHits(), ntupleDataFormat.Event.trackingParticles(), ntupleDataFormat.Event.trackingVertices(), ntupleDataFormat.Event.tracks(), and ntupleDataFormat.Event.vertices().