StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StiTpcHitLoader.h
1 #ifndef StiTpcHitLoader_H
2 #define StiTpcHitLoader_H
3 #include "Sti/StiHitLoader.h"
4 
5 class StEvent;
7 class StTpcHit;
8 
19 class StiTpcHitLoader : public StiHitLoader<StEvent,StiDetectorBuilder>
20 {
21  public:
23  StiTpcHitLoader(StiHitContainer * hitContainer,
24  Factory<StiHit> * hitFactory,
25  StiDetectorBuilder * detector);
26  virtual ~StiTpcHitLoader() {}
27  virtual void loadHits(StEvent* source,
28  Filter<StiTrack> * trackFilter,
29  Filter<StiHit> * hitFilter);
30  void setMinRow(UInt_t r= 1) {_minRow = r;}
31  void setMinSector(UInt_t r= 1) {_minSector = r;}
32  void setMaxSector(UInt_t r=24) {_maxSector = r;}
33  UInt_t minRow() {return _minRow;}
34  UInt_t maxRow() {return _maxRow;}
35  UInt_t minSector() {return _minSector;}
36  UInt_t maxSector() {return _maxSector;}
37 
38  protected:
39  UInt_t _minRow;
40  UInt_t _maxRow;
41  UInt_t _minSector;
42  UInt_t _maxSector;
43 };
44 
45 #endif