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 447 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 453 of file ntupleDataFormat.py.
def ntupleDataFormat.Event.beamspot | ( | self | ) |
Returns BeamSpot object.
Definition at line 487 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 479 of file ntupleDataFormat.py.
Referenced by ntupleDataFormat.Event.eventIdStr().
def ntupleDataFormat.Event.eventIdStr | ( | self | ) |
Returns 'run:lumi:event' string.
Definition at line 483 of file ntupleDataFormat.py.
References SimHitInfoForLinks.eventId(), CoreSimVertex.eventId(), FastSingleTrackerRecHit.eventId(), CoreSimTrack.eventId(), FastProjectedTrackerRecHit.eventId(), FastMatchedTrackerRecHit.eventId(), PixelDigiSimLink.eventId(), StripDigiSimLink.eventId(), DTDigiSimLink.eventId(), GctBlockHeader.eventId(), PCaloHit.eventId(), CaloParticle.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 503 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 507 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 495 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 511 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 499 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 515 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 523 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 491 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 519 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 462 of file ntupleDataFormat.py.
Referenced by ntupleDataFormat.Event.entry().
|
private |
Definition at line 461 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().