00001
00006 #ifndef _rmcpmt_h
00007 #define _rmcpmt_h
00008
00009 #include "TObject.h"
00010 #include "iostream.h"
00011 #include "TTree.h"
00012 #include "TChain.h"
00013 #include "TBranch.h"
00014 #include "TFile.h"
00015 #include "TNamed.h"
00016 #include "TBuffer.h"
00017 #include "TControlBar.h"
00018 #include "TCut.h"
00019 #include "TEventList.h"
00020 #include "TString.h"
00021 #include "TH1.h"
00022 #include "TButton.h"
00023 #include "TArrayI.h"
00024 #include "TList.h"
00025
00026
00027 #include "TTreeFormula.h"
00028 #include "TProofServ.h"
00029 #include "TSystem.h"
00030
00031
00032 class RMCPMT : public TObject
00033 {
00034
00035 public:
00036
00037 RMCPMT();
00038 ~RMCPMT();
00039
00040 void SetPMTid(int idpmt){fPMTId= idpmt;};
00041 void SetPMThits(int hits){fPMThits= hits;};
00042 void SetPMTnpe(int npe){fPMTnpe = npe;};
00043 void SetPMTxyz(double* XYZpmt){
00044 fXYZpmt[0] = *XYZpmt++;
00045 fXYZpmt[1] = *XYZpmt++;
00046 fXYZpmt[2] = *XYZpmt++;
00047 }
00048 void SetPMTQ(double Q){fPMTQ=Q;};
00049 void SetPMTtime(double Time){fPMTtime=Time;};
00050 void SetPMTPH(double PH){fPMTPH=PH;};
00051
00052 int GetPMTid(){return fPMTId;};
00053 int GetPMThits(){return fPMThits;};
00054 int GetPMTnpe(){return fPMTnpe;};
00055 double GetPMTQ(){return fPMTQ;};
00056 double* GetPMTxyz(){return fXYZpmt;};
00057 double GetPMTtime(){return fPMTtime;};
00058 double GetPMTPH(){return fPMTPH;};
00059
00060
00061
00062 private:
00063
00064 int fPMTId;
00065 int fPMThits;
00066 int fPMTnpe;
00067 double fPMTQ;
00068 double fXYZpmt[3];
00069 double fPMTtime;
00070 double fPMTPH;
00071
00072
00073
00074
00075 ClassDef(RMCPMT,2)
00076
00077
00078 };
00079
00080 #endif
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091