StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEmcMicroV0.h
1 
6 #ifndef StEmcMicroV0__h
7 #define StEmcMicroV0__h
8 
9 #include "TObject.h"
10 #include "StEmcMicroTrack.h"
11 
12 class StEmcMicroV0: public TObject
13 {
14  public:
15  StEmcMicroV0();
17  virtual ~StEmcMicroV0();
18 
19  StEmcMicroTrack* getDaughter(Int_t i) const { if(i>=0 && i<2) return mTracks[i]; else return NULL; }
20  Float_t getVertexX() const { return mX; }
21  Float_t getVertexY() const { return mY; }
22  Float_t getVertexZ() const { return mZ; }
23 
24  void setVertex(Float_t x,Float_t y,Float_t z) { mX=x; mY=y; mZ=z; }
25  void setDaughter(Int_t i,StEmcMicroTrack* t) {if(i>=0 && i<2) mTracks[i] = t; }
26 
27  private:
28  StEmcMicroTrack *mTracks[2];
29  Float_t mX;
30  Float_t mY;
31  Float_t mZ;
32 
33  ClassDef(StEmcMicroV0,1)
34 };
35 #endif
Float_t getVertexZ() const
Return vertex Z.
Definition: StEmcMicroV0.h:22
Float_t getVertexY() const
Return vertex Y.
Definition: StEmcMicroV0.h:21
Float_t getVertexX() const
Return vertex X.
Definition: StEmcMicroV0.h:20
StEmcMicroTrack * getDaughter(Int_t i) const
Return daughter.
Definition: StEmcMicroV0.h:19