StRoot
1
|
#include <StiHitLoader.h>
Public Member Functions | |
StiHitLoader (const string &name) | |
StiHitLoader (const string &name, StiHitContainer *hitContainer, Factory< StiHit > *hitFactory, Detector *detector) | |
virtual void | loadEvent (Source1 *source1, Filter< StiTrack > *trackFilter, Filter< StiHit > *hitFilter) |
virtual void | loadHits (Source1 *source, Filter< StiTrack > *trackFilter, Filter< StiHit > *hitFilter) |
virtual void | setHitContainer (StiHitContainer *hitContainer) |
virtual void | setHitFactory (Factory< StiHit > *hitFactory) |
virtual void | setDetector (Detector *detector) |
void | setMaxTimes (int nMaxTimes) |
virtual Detector * | getDetector () |
Public Member Functions inherited from Named | |
void | setName (const string &newName) |
Set the name of the object. | |
const string & | getName () const |
Get the name of the object. | |
bool | isName (const string &aName) const |
Determine whether name equals given name. | |
Protected Attributes | |
StiHitContainer * | _hitContainer |
StiTrackContainer * | _trackContainer |
Factory< StiHit > * | _hitFactory |
Factory< StiKalmanTrack > * | _trackFactory |
Detector * | _detector |
Protected Attributes inherited from Named | |
string | _name |
Additional Inherited Members | |
Protected Member Functions inherited from Named | |
Named (const string &aName=" ") | |
Only derived class are Named. | |
StiHitLoader is an abstract interface defining a mechanism to load hits in Sti containers from an external source or package, "Source". The external source is templated in this base class so the load mechanism could in principle be exported to any experimental environment. External hits are converted to StiHit with a templated transform function "Transform"
This base class holds pointers to the destination container, the factory used to get instance of StiHit, and the tranformation utility to effect the transformation between the external hits and the StiHit objects used in this package.
This class is essentially morphed from the class StiHitFiller originally written by Mike Miller.
Definition at line 9 of file StiDetectorGroup.h.