StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEpdHitMaker.h
1 #ifndef ___STAR_StEpdHitMaker
2 #define ___STAR_StEpdHitMaker
3 
19 #include "StMaker.h"
20 #include <math.h>
21 class StEpdHit;
22 class StTriggerData;
23 class StEpdDbMaker;
24 class StEpdCollection;
25 class StEvent;
26 
27 class StEpdHitMaker : public StMaker {
28  public:
30  // StEpdHitMaker(const char *name="epdHit");
31  StEpdHitMaker();
32  virtual ~StEpdHitMaker(){};
34  virtual int Init();
38  virtual int Make();
40  virtual int Finish();
41 
43  StEpdCollection* GetEpdCollection(); // collection of StEpdHit objects
44 
47 
50 
52  StEvent* GetStEvent(){return mStEvent;}
53 
54  virtual const char *GetCVS() const
55  {static const char cvs[]="Tag " __DATE__ " " __TIME__ ; return cvs;}
56 
57  protected:
58 
59  private:
60 
61 
62  int mEventCounter;
63  int mTriggerEventCounter;
64  StEpdCollection* mEpdCollection;
65  StTriggerData* mTriggerData;
66  StEpdDbMaker* mEpdDbMaker;
67  StEvent* mStEvent;
68 
69 
70  // static const int mNPREPOST=2;
71 
76  void FillStEpdData();
77 
78 
79  ClassDef(StEpdHitMaker, 0) //StAF chain virtual base class for Makers
80 };
81 #endif
82 
StEpdDbMaker * GetEpdDbMaker()
Returns a pointer to the StEpdDbMaker.
virtual int Init()
Init does nothing right now.
StEpdCollection * GetEpdCollection()
Returns the collection of StEpdHits in the event.
virtual int Finish()
Finish does nothing right now.
StEpdHitMaker()
default constructor
StTriggerData * GetTriggerData()
Returns a pointer to the StTriggerData object.
virtual int Make()
Stores information for tiles in STAR Event Plane Detector.
Definition: StEpdHit.h:43
StEvent * GetStEvent()
Returns a pointer to the StEvent object.
Definition: StEpdHitMaker.h:52