00001
00002
00003
00004
00005
00006
00007
00008
00009
00011
00012 #ifndef CDXTALKHITINFO_H
00013 #define CDXTALKHITINFO_H
00014
00015 #include "TObject.h"
00016
00017 #include "Conventions/CalDigitType.h"
00018
00019 class CDXTalkHitInfo : public TObject
00020 {
00021
00022 public:
00023
00024 CDXTalkHitInfo();
00025 CDXTalkHitInfo(int,int,int,int,int,float,float,float,float,float,
00026 int,int,int,int,int,float,double);
00027 void SetInfo(int,int,int,int,int,float,float,float,float,float,int,
00028 int,int,int,int,float,double);
00029
00030 int GetEnd() {return fend;}
00031 int GetPlane() {return fplane;}
00032 int GetStrip() {return fstrip;}
00033 int GetPixel() {return fpixel;}
00034 int GetNumxhits() {return fnumxhits;}
00035 float GetCharge() {return fadc;}
00036 float GetCharge(CalDigitType::ECalDigitType calType);
00037 float GetCharge(int opt);
00038 int GetSourceEnd() {return fsourceend;}
00039 int GetSourcePlane() {return fsourceplane;}
00040 int GetSourceStrip() {return fsourcestrip;}
00041 int GetSourcePixel() {return fsourcepixel;}
00042 int GetSourceSpot() {return fsourcespot;}
00043 float GetSourceCharge() {return fsourcecharge;}
00044 double GetTime() {return ftime;}
00045
00046 private:
00047
00048 int fend;
00049 int fplane;
00050 int fstrip;
00051 int fpixel;
00052 int fnumxhits;
00053 float fadc;
00054 float fpe;
00055 float fmip;
00056 float fsiglin;
00057 float fsigcorr;
00058 int fsourceend;
00059 int fsourceplane;
00060 int fsourcestrip;
00061 int fsourcepixel;
00062 int fsourcespot;
00063 float fsourcecharge;
00064 double ftime;
00065
00066 ClassDef(CDXTalkHitInfo,1)
00067 };
00068 #endif //CDXTALKHITINFO_H
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080