00001 #ifndef StiTpcHitLoader_H
00002 #define StiTpcHitLoader_H
00003 #include "Sti/StiHitLoader.h"
00004
00005 class StEvent;
00006 class StiDetectorBuilder;
00007 class StTpcHit;
00008
00019 class StiTpcHitLoader : public StiHitLoader<StEvent,StiDetectorBuilder>
00020 {
00021 public:
00022 StiTpcHitLoader();
00023 StiTpcHitLoader(StiHitContainer * hitContainer,
00024 Factory<StiHit> * hitFactory,
00025 StiDetectorBuilder * detector);
00026 virtual ~StiTpcHitLoader() {}
00027 virtual void loadHits(StEvent* source,
00028 Filter<StiTrack> * trackFilter,
00029 Filter<StiHit> * hitFilter);
00030 void setMinRow(UInt_t r= 1) {_minRow = r;}
00031 void setMinSector(UInt_t r= 1) {_minSector = r;}
00032 void setMaxSector(UInt_t r=24) {_maxSector = r;}
00033 UInt_t minRow() {return _minRow;}
00034 UInt_t maxRow() {return _maxRow;}
00035 UInt_t minSector() {return _minSector;}
00036 UInt_t maxSector() {return _maxSector;}
00037
00038 protected:
00039 UInt_t _minRow;
00040 UInt_t _maxRow;
00041 UInt_t _minSector;
00042 UInt_t _maxSector;
00043 };
00044
00045 #endif