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 446 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 452 of file ntupleDataFormat.py.
def ntupleDataFormat.Event.beamspot | ( | self | ) |
Returns BeamSpot object.
Definition at line 486 of file ntupleDataFormat.py.
References datamodel.Event._tree, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, output.OutputTree._tree, output.FullOutput._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.entry | ( | self | ) |
Definition at line 463 of file ntupleDataFormat.py.
References datamodel.Event._entry, and ntupleDataFormat.Event._entry.
def ntupleDataFormat.Event.event | ( | self | ) |
Returns event number.
Definition at line 466 of file ntupleDataFormat.py.
References datamodel.Event._tree, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, output.OutputTree._tree, output.FullOutput._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.eventId | ( | self | ) |
Returns (run, lumi, event) tuple.
Definition at line 478 of file ntupleDataFormat.py.
References datamodel.Event._tree, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, output.OutputTree._tree, output.FullOutput._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
Referenced by ntupleDataFormat.Event.eventIdStr().
def ntupleDataFormat.Event.eventIdStr | ( | self | ) |
Returns 'run:lumi:event' string.
Definition at line 482 of file ntupleDataFormat.py.
References digitizerUtility::SimHitInfo.eventId(), SimHitInfoForLinks.eventId(), CoreSimVertex.eventId(), FastSingleTrackerRecHit.eventId(), CoreSimTrack.eventId(), FastMatchedTrackerRecHit.eventId(), FastProjectedTrackerRecHit.eventId(), PixelDigiSimLink.eventId(), StripDigiSimLink.eventId(), GctBlockHeader.eventId(), DTDigiSimLink.eventId(), PCaloHit.eventId(), CaloParticle.eventId(), XMLEventWriter.eventId, SimCluster.eventId(), TrackingParticle.eventId(), TrackingVertex.eventId(), StripCompactDigiSimLinks::RevLink.eventId, Primary4DVertexValidation::simPrimaryVertex.eventId, AlignmentAlgorithmBase::EventInfo.eventId(), PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex.eventId, sistrip::SpyEventMatcher::EventKey.eventId(), FastTrackerRecHit.eventId(), PSimHit.eventId(), MatacqTBRawEvent.eventId, MatacqRawEvent.eventId, and ntupleDataFormat.Event.eventId().
def ntupleDataFormat.Event.gluedHits | ( | self | ) |
Returns GluedHits object.
Definition at line 502 of file ntupleDataFormat.py.
References datamodel.Event._tree, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, output.OutputTree._tree, output.FullOutput._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.lumi | ( | self | ) |
Returns lumisection number.
Definition at line 470 of file ntupleDataFormat.py.
References datamodel.Event._tree, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, output.OutputTree._tree, output.FullOutput._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.phase2OTHits | ( | self | ) |
Returns Phase2OTHits object.
Definition at line 506 of file ntupleDataFormat.py.
References datamodel.Event._tree, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, output.OutputTree._tree, output.FullOutput._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.pixelHits | ( | self | ) |
Returns PixelHits object.
Definition at line 494 of file ntupleDataFormat.py.
References datamodel.Event._tree, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, output.OutputTree._tree, output.FullOutput._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.run | ( | self | ) |
Returns run number.
Definition at line 474 of file ntupleDataFormat.py.
References datamodel.Event._tree, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, output.OutputTree._tree, output.FullOutput._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.seeds | ( | self | ) |
Returns Seeds object.
Definition at line 510 of file ntupleDataFormat.py.
References datamodel.Event._tree, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, output.OutputTree._tree, output.FullOutput._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.stripHits | ( | self | ) |
Returns StripHits object.
Definition at line 498 of file ntupleDataFormat.py.
References datamodel.Event._tree, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, output.OutputTree._tree, output.FullOutput._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.trackingParticles | ( | self | ) |
Returns TrackingParticles object.
Definition at line 514 of file ntupleDataFormat.py.
References datamodel.Event._tree, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, output.OutputTree._tree, output.FullOutput._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.trackingVertices | ( | self | ) |
Returns TrackingVertices object.
Definition at line 522 of file ntupleDataFormat.py.
References datamodel.Event._tree, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, output.OutputTree._tree, output.FullOutput._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.tracks | ( | self | ) |
Returns Tracks object.
Definition at line 490 of file ntupleDataFormat.py.
References datamodel.Event._tree, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, output.OutputTree._tree, output.FullOutput._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
def ntupleDataFormat.Event.vertices | ( | self | ) |
Returns Vertices object.
Definition at line 518 of file ntupleDataFormat.py.
References datamodel.Event._tree, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, output.OutputTree._tree, output.FullOutput._tree, ntupleDataFormat.TrackingNtuple._tree, and ntupleDataFormat.Event._tree.
|
private |
Definition at line 461 of file ntupleDataFormat.py.
Referenced by ntupleDataFormat.Event.entry().
|
private |
Definition at line 460 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.Event.event(), ntupleDataFormat.Event.eventId(), ntupleDataFormat._RecoHitAdaptor.gluedHits(), ntupleDataFormat.Event.gluedHits(), ntupleDataFormat._RecoHitAdaptor.hits(), ntupleDataFormat._RecoHitAdaptor.invalidHits(), ntupleDataFormat._DetIdStrAdaptor.layerStr(), ntupleDataFormat.Event.lumi(), ntupleDataFormat._SimHitMatchAdaptor.matchedSimHitInfos(), ntupleDataFormat._TrackingParticleMatchAdaptor.matchedTrackingParticleInfos(), ntupleDataFormat._RecoHitAdaptor.phase2OTHits(), ntupleDataFormat.Event.phase2OTHits(), ntupleDataFormat._RecoHitAdaptor.pixelHits(), ntupleDataFormat.Event.pixelHits(), ntupleDataFormat.Event.run(), ntupleDataFormat.Event.seeds(), ntupleDataFormat._RecoHitAdaptor.stripHits(), ntupleDataFormat.Event.stripHits(), ntupleDataFormat.Event.trackingParticles(), ntupleDataFormat.Event.trackingVertices(), ntupleDataFormat.Event.tracks(), and ntupleDataFormat.Event.vertices().