StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMuEmcPoint.h
1 
11 #ifndef StMuEmcPoint__h
12 #define StMuEmcPoint__h
13 
14 #include "TObject.h"
15 #include "StMuEmcCluster.h"
16 
17 class StMuEmcPoint: public TObject
18 {
19  public:
20  StMuEmcPoint();
21  protected:
23  public:
24  virtual ~StMuEmcPoint();
25 
26  float getEta() const { return mEta;}
27  float getPhi() const { return mPhi;}
28  float getRadius() const { return mRadius;}
29  float getDeltaEta() const { return mDeltaEta;}
30  float getDeltaPhi() const { return mDeltaPhi;}
31  float getEnergy() const { return mEnergy;}
32  float getChiSquare() const { return mChiSquare;}
33 
34  StMuEmcCluster* getCluster(Int_t EmcDet){ return mEmc[EmcDet-1]; }
35  const StMuEmcCluster* getCluster(Int_t EmcDet) const { return mEmc[EmcDet-1]; }
36 
37  void setCluster(StMuEmcCluster* cl, Int_t EmcDet) { mEmc[EmcDet-1] = cl;}
38  void setEta(float e) { mEta = e;}
39  void setPhi(float p) { mPhi = p;}
40  void setRadius(float r) { mRadius = r;}
41  void setDeltaEta(float s) { mDeltaEta = s;}
42  void setDeltaPhi(float s) { mDeltaPhi = s;}
43  void setEnergy(float e) { mEnergy = e;}
44  void setChiSquare(float e) { mChiSquare = e;}
45 
46  protected:
47  float mEta;
48  float mPhi;
49  float mRadius;
50  float mDeltaEta;
51  float mDeltaPhi;
52  float mEnergy;
53  float mChiSquare;
54  StMuEmcCluster* mEmc[8];
55 
56  ClassDef(StMuEmcPoint,3)
57 };
58 #endif
float getChiSquare() const
Return ChiSquare of the point.
Definition: StMuEmcPoint.h:32
float getEnergy() const
Return Energy of the point.
Definition: StMuEmcPoint.h:31
float getDeltaPhi() const
Return DeltaPhi of the point.
Definition: StMuEmcPoint.h:30
StMuEmcCluster * getCluster(Int_t EmcDet)
Return one cluster of the point.
Definition: StMuEmcPoint.h:34
const StMuEmcCluster * getCluster(Int_t EmcDet) const
Return one cluster of the point.
Definition: StMuEmcPoint.h:35
float getDeltaEta() const
Return DeltaEta of the point.
Definition: StMuEmcPoint.h:29
float getPhi() const
Return Phi of the point.
Definition: StMuEmcPoint.h:27
float getRadius() const
return radius of the point
Definition: StMuEmcPoint.h:28
float getEta() const
Return Eta of the point.
Definition: StMuEmcPoint.h:26