StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StiIstHitLoader.h
1 #ifndef StiIstHitLoader_H
2 #define StiIstHitLoader_H
3 #include "Sti/StiHitLoader.h"
4 
5 class StEvent;
6 class StMcEvent;
7 class StMcTrack;
8 class StiMcTrack;
10 class StTpcHit;
11 class StMcIstHit;
12 
23 class StiIstHitLoader : public StiHitLoader<StEvent,StiDetectorBuilder>
24 {
25 public:
27  StiIstHitLoader(StiHitContainer * hitContainer,
28  Factory<StiHit> * hitFactory,
29  StiDetectorBuilder * detector);
30  virtual ~StiIstHitLoader();
31  virtual void loadHits(StEvent* source,
32  Filter<StiTrack> * trackFilter,
33  Filter<StiHit> * hitFilter);
34  /*
35  virtual void loadMcHits(StMcEvent* source,bool useMcAsRec,
36  Filter<StiTrack> * trackFilter,
37  Filter<StiHit> * hitFilter,
38  StMcTrack & stMcTrack,
39  StiMcTrack & stiMcTrack);
40  */
41 
42  protected:
43  // temporary hit ptr used to determine whether mc hits from a given event are
44  // already loaded.
45  UInt_t n;
46  StMcIstHit * saveHit;
47  long evNum;
48 };
49 
50 #endif
Monte Carlo Track class All information on a simulated track is stored in this class: kinematics...
Definition: StMcTrack.hh:144
Event data structure to hold all information from a Monte Carlo simulation. This class is the interfa...
Definition: StMcEvent.hh:169