00001
00002
00003
00004
00005
00006
00008
00009 #ifndef HITCAM_H
00010 #define HITCAM_H
00011
00012 #include "MessageService/MsgService.h"
00013 #include "RecoBase/CandStripHandle.h"
00014
00015 class HitCam
00016 {
00017
00018 public:
00019 HitCam(CandStripHandle* strip);
00020 virtual ~HitCam();
00021
00022 CandStripHandle* GetCandStripHandle() const {return fStrip;};
00023
00024 double GetCharge() const {return fCharge;};
00025 void SetCharge(double q) {fCharge=q;};
00026
00027 int GetPlane() const {return fPlane;};
00028 void SetPlane(int Plane) {fPlane = Plane;};
00029
00030 int GetPlaneView() const {return fPlaneView;};
00031 void SetPlaneView(int View) {fPlaneView = View;};
00032
00033 int GetStrip() const {return fStripNum;};
00034 void SetStrip(int strip) {fStripNum = strip;};
00035
00036 double GetTime() const {return fTime;};
00037
00038 double GetTPos() const {return fTPos;};
00039 void SetTPos(double tpos) {fTPos = tpos;};
00040
00041 int GetTrkFlag() const {return fTrackFlag;};
00042 void SetTrkFlag(int flag) {fTrackFlag=flag;};
00043
00044 int GetUID() const {return fUid;};
00045 void SetUID(int uid) {fUid=uid;};
00046
00047 double GetZPos() const {return fZPos;};
00048 void SetZPos(double zpos) {fZPos = zpos;};
00049
00050
00051 private:
00052 CandStripHandle* fStrip;
00053 int fUid;
00054 int fPlaneView;
00055 int fStripNum;
00056 double fTime;
00057 int fTrackFlag;
00058 double fCharge;
00059 int fPlane;
00060 double fTPos;
00061 double fZPos;
00062
00063
00064 };
00065
00066 #endif