StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMuPmdCluster.h
1 /*****************************************************************
2  * $Id: StMuPmdCluster.h,v 1.3 2004/10/19 01:44:29 mvl Exp $
3  *
4  * Class : StMuPmdCluster
5  * Author: Supriya Das
6  * ****************************************************************
7  *
8  * Description: This is the Cluster class for PMD in MuDst
9  * ****************************************************************
10  * $Log: StMuPmdCluster.h,v $
11  * Revision 1.3 2004/10/19 01:44:29 mvl
12  * Changed names of getters and setters (Star coding conventions)
13  *
14  * Revision 1.2 2004/05/02 04:10:14 perev
15  * private => protected
16  *
17  * Revision 1.1 2004/04/02 03:36:21 jeromel
18  * New files for PMD
19  *
20  * ****************************************************************/
21 
22 #ifndef StMuPmdCluster_h
23 #define StMuPmdCluster_h
24 
25 #include "TObject.h"
26 #include "TArrayS.h"
27 
28 class StMuPmdCluster : public TObject
29 {
30  public:
33  virtual ~StMuPmdCluster();
34 
35  Int_t superModule() {return mSuperModule;}
36  Int_t ncell() {return mNcell;}
37  Float_t eta() {return mEta;}
38  Float_t phi() {return mPhi;}
39  Float_t sigma() {return mSigma;}
40  Float_t energy() {return mEnergy;}
41  Int_t energyPID() {return mEnergyPID;}//PID from Energy cut
42  Int_t PID() {return mPID;}//PID from other method (e.g. NN)
43  Int_t mcPID() {return mMcPID;}//PID from GEANT, 0 for Data
44 
45  void setSuperModule(Int_t var) {mSuperModule = var;}
46  void setNcell(Int_t var) {mNcell = var;}
47  void setEta(Float_t var) {mEta = var;}
48  void setPhi(Float_t var) {mPhi = var;}
49  void setSigma(Float_t var) {mSigma = var;}
50  void setEnergy(Float_t var) {mEnergy = var;}
51  void setEnergyPID(Int_t var) {mEnergyPID = var;}
52  void setPID(Int_t var) {mPID = var;}
53  void setMcPID(Int_t var) {mMcPID = var;}
54 
55  protected:
56  Int_t mSuperModule;
57  Int_t mNcell;
58  Float_t mEta;
59  Float_t mPhi;
60  Float_t mSigma;
61  Float_t mEnergy;
62  Int_t mEnergyPID;
63  Int_t mPID;
64  Int_t mMcPID;
65 
66  ClassDef(StMuPmdCluster,1)
67 };
68 #endif
69 
70