StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
StEventHitIter Class Reference

StEventHitIter is the top level hook, providing hits to the Stv tracking code. More...

#include <StEventHitIter.h>

Inheritance diagram for StEventHitIter:
StHitIterGroup StHitIter

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 StHitoperator* () 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
 
StHitIterfDowIter
 
int fJIter
 
int fNIter
 

Detailed Description

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.


The documentation for this class was generated from the following files: