StRoot
1
|
StEventHitIter is the top level hook, providing hits to the Stv tracking code. More...
#include <StEventHitIter.h>
Public Member Functions | |
StEventHitIter (const TObject *ev=0) | |
int | AddDetector (StDetectorId detId) |
Public Member Functions inherited from StHitIterGroup | |
virtual const TObject * | Reset (const TObject *cont) |
virtual const TObject * | operator++ () |
Increments the iterator, returning the next object in the collection. | |
virtual const TObject * | Get () const |
Gets the current object in the collection. | |
virtual const StHit * | operator* () const |
virtual const TObject * | GetObject (int idx) const |
Gets an object at a specified position in the collection. | |
virtual int | GetSize () const |
Returns the number of entries in the collection. | |
virtual StDetectorId | DetectorId () const |
Returns the STAR ID of the detector. | |
void | UPath (ULong64_t &upa) const |
UInt_t | UPath () const |
virtual void | Add (StHitIter *iter) |
Public Member Functions inherited from StHitIter | |
void | SetDowIter (StHitIter *it) |
For the case of nested collections, sets the iterator over another collection. | |
Additional Inherited Members | |
Protected Attributes inherited from StHitIterGroup | |
StDetectorId | fDetectorId |
std::vector< StHitIter * > | fGroup |
Protected Attributes inherited from StHitIter | |
const TObject * | fCont |
StHitIter * | fDowIter |
int | fJIter |
int | fNIter |
StEventHitIter is the top level hook, providing hits to the Stv tracking code.
StEventHitIter is the top level hook, providing hits to the Stv tracking framework. To expose a new detector to the framework, developers need to do two things. First, the need to create a hit iterator class derived from StHitIter. This will iterate over a collection of hits, returning each one in turn in an arbitrary order. The second thing is that logic should be added to the AddDetector method of StEventHitIter, creating the concrete hit iterator for the new detector.
Definition at line 157 of file StEventHitIter.h.