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 
23 #include "StMaker.h"
24 #include <math.h>
25 class StEpdHit;
26 class StTriggerData;
27 class StEpdDbMaker;
28 class StEpdCollection;
29 class StEvent;
30 
31 class StEpdHitMaker : public StMaker {
32  public:
34  // StEpdHitMaker(const char *name="epdHit");
35  StEpdHitMaker();
36  virtual ~StEpdHitMaker(){};
38  virtual int Init();
42  virtual int Make();
44  virtual int Finish();
45 
46  void setReadMuDst(bool value=true){ mReadMuDst=value; }
47 
49  StEpdCollection* GetEpdCollection(); // collection of StEpdHit objects
50 
53 
56 
58  StEvent* GetStEvent(){return mStEvent;}
59 
60  virtual const char *GetCVS() const
61  {static const char cvs[]="Tag " __DATE__ " " __TIME__ ; return cvs;}
62 
63  protected:
64 
65  private:
66 
67 
68  int mEventCounter;
69  int mTriggerEventCounter;
70  StEpdCollection* mEpdCollection;
71  const StTriggerData* mTriggerData;
72  StEpdDbMaker* mEpdDbMaker;
73  StEvent* mStEvent;
74 
75  bool mReadMuDst = false;
76 
77  // static const int mNPREPOST=2;
78 
83  void FillStEpdData();
84 
85 
86  ClassDef(StEpdHitMaker, 0) //StAF chain virtual base class for Makers
87 };
88 #endif
89 
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
virtual int Make()
const StTriggerData * GetTriggerData()
Returns a pointer to the StTriggerData object.
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:58