StiHitLoader< Source1, Detector > Class Template Reference

#include <StiHitLoader.h>

Inheritance diagram for StiHitLoader< Source1, Detector >:

Named

List of all members.

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)
virtual Detector * getDetector ()

Protected Attributes

StiHitContainer_hitContainer
StiTrackContainer_trackContainer
Factory< StiHit > * _hitFactory
Factory< StiKalmanTrack > * _trackFactory
Detector * _detector


Detailed Description

template<class Source1, class Detector>
class StiHitLoader< Source1, 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 35 of file StiHitLoader.h.


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

Generated on Fri Feb 10 04:28:08 2012 for StRoot by  doxygen 1.5.9