StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
StiHitLoader< Event, Detector > Class Template Reference

#include <StiHitLoader.h>

Inheritance diagram for StiHitLoader< Event, Detector >:
Named

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.
 

Detailed Description

template<class Event, class Detector>
class StiHitLoader< Event, Detector >

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.

Author
Claude A Pruneau (Wayne) and M.L. Miller (Yale Software)

Definition at line 9 of file StiDetectorGroup.h.


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