StEvent - the Basics
The trigger detectors (CTB, ZDC, …)
- StTriggerDetectorCollection* StEvent::triggerDetectorCollection();
The track nodes (more on this soon)
- StSPtrVecTrackNode& trackNodes();
The primary (event) vertex/vertices
- StPrimaryVertex* primaryVertex(UInt_t = 0);
The V0s
- StSPtrVecV0Vertex& v0Vertices();
-
Attention: some methods return pointers (can be null) others return references which are guaranteed to be there (although they could be empty)
Rule: always check for null pointers !!!