StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMuPmdHit.h
1 /*****************************************************************
2  * $Id: StMuPmdHit.h,v 1.1 2004/10/19 01:40:21 mvl Exp $
3  *
4  * Class : StMuPmdHit
5  * Author: Supriya Das
6  * ****************************************************************
7  *
8  * Description: This is the Hit class for PMD in MuDst
9  * ****************************************************************
10  * $Log: StMuPmdHit.h,v $
11  * Revision 1.1 2004/10/19 01:40:21 mvl
12  * New class to hold Pmd hits (raw adc information)
13  *
14  * ****************************************************************/
15 
16 #ifndef StMuPmdHit_h
17 #define StMuPmdHit_h
18 
19 #include "TObject.h"
20 
21 class StMuPmdHit : public TObject
22 {
23  public:
24  StMuPmdHit();
26  virtual ~StMuPmdHit();
27 
28  Int_t superModule() {return (Int_t)mSuperModule;}
29  Int_t subDetector() {return (Int_t)mSubDetector;}
30  Int_t row() {return (Int_t)mRow;}
31  Int_t column() {return (Int_t)mCol;}
32  Float_t energy() {return mEnergy;}
33  Int_t adc() {return mADC;}
34 
35  void setSuperModule(Int_t var) {mSuperModule = (Short_t)var;}
36  void setSubDetector(Int_t var) {mSubDetector = (Short_t)var;}
37  void setRow(Int_t var) {mRow = (Short_t)var;}
38  void setColumn(Int_t var) {mCol = (Short_t)var;}
39  void setEnergy(Float_t var) {mEnergy = var;}
40  void setADC(Int_t var) {mADC = var;}
41 
42  protected:
43  Short_t mSuperModule;
44  Short_t mSubDetector;
45  Short_t mRow;
46  Short_t mCol;
47  Float_t mEnergy;
48  Int_t mADC;
49 
50  ClassDef(StMuPmdHit,1)
51 };
52 #endif
53 
54