StiMasterHitLoader< Source1, Detector > Class Template Reference

#include <StiMasterHitLoader.h>

Inheritance diagram for StiMasterHitLoader< Source1, Detector >:

StiHitLoader< Source1, Detector > Named

List of all members.

Public Member Functions

 StiMasterHitLoader (const string &name, StiHitContainer *hitContainer, Factory< StiHit > *hitFactory, Detector *transform)
void addLoader (StiHitLoader< Source1, Detector > *loader)
void loadEvent (Source1 *source1, Filter< StiTrack > *trackFilter, Filter< StiHit > *hitFilter)
void setHitContainer (StiHitContainer *hitContainer)
void setHitFactory (Factory< StiHit > *hitFactory)
virtual void setDetector (Detector *detector)

Protected Types

typedef StiHitLoader< Source1,
Detector > * 
HitLoaderKey
typedef vector< HitLoaderKeyHitLoaderVector
typedef HitLoaderVector::iterator HitLoaderIter
typedef
HitLoaderVector::const_iterator 
HitLoaderConstIter


Detailed Description

template<class Source1, class Detector>
class StiMasterHitLoader< Source1, Detector >

StiMasterHitLoader is an implementation of the abstract interface StiHitLoader designed to enable hit load for a variety of containers sequentially. The sources are assumed to be of same type e.g. StEvent but of various sources e.g. Tpc, Svt, etc. StiMasterHitLoader is actually acting as a broker: it sequentially invokes the actual loaders that are registered with it.

Actual loaders must be implemented in class deriving from StiMasterHitLoader. They are registered at startup time with this broker using the "addLoader" method.

Note that this class is templated in the same way the base class StiHitLoader is so as to enable hit loading from potentially diverse sources.

Author:
Claude A Pruneau (Wayne)

Definition at line 30 of file StiMasterHitLoader.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