Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

HitCamAtNu.h

Go to the documentation of this file.
00001 
00002 // Package: AtNuReco
00003 //
00004 // HitCamAtNu.h
00005 //
00006 // chapman@hep.phy.cam.ac.uk
00007 // blake@hep.phy.cam.ac.uk
00009 #ifndef HITCAMATNU_H
00010 #define HITCAMATNU_H
00011 
00012 #include "MessageService/MsgService.h"
00013 #include "RecoBase/CandStripHandle.h"
00014 
00015 using namespace std;
00016 
00017 class HitCamAtNu
00018 {
00019 
00020 public:
00021   HitCamAtNu(CandStripHandle* strip);
00022   virtual ~HitCamAtNu();
00023 
00024   CandStripHandle* GetCandStripHandle() const {return fStrip;};
00025 
00026   double GetCharge() const {return fCharge;};  
00027   void SetCharge(double q) {fCharge=q;};
00028 
00029   int GetPlane() const     {return fPlane;};
00030   void SetPlane(int Plane) {fPlane = Plane;};
00031 
00032   int GetPlaneView() const    {return fPlaneView;};
00033   void SetPlaneView(int View) {fPlaneView = View;};
00034 
00035   int GetStrip() const     {return fStripNum;};
00036   void SetStrip(int strip) {fStripNum = strip;};
00037 
00038   double GetTime() const {return fTime;};
00039 
00040   double GetTPos() const    {return fTPos;};
00041   void SetTPos(double tpos) {fTPos = tpos;};
00042 
00043   int GetTrkFlag() const    {return fTrackFlag;};
00044   void SetTrkFlag(int flag) {fTrackFlag=flag;};
00045 
00046   int GetShwFlag() const    { return fShowerFlag; };
00047   void SetShwFlag(int flag) { fShowerFlag=flag; };
00048 
00049   int GetUID() const   {return fUid;};
00050   void SetUID(int uid) {fUid=uid;};
00051 
00052   double GetZPos() const    {return fZPos;};
00053   void SetZPos(double zpos) {fZPos = zpos;};
00054 
00055   int IsDiffuseShwAssoc(HitCamAtNu* hit) const; //new
00056   int IsShwAssoc(HitCamAtNu* hit) const; //new
00057 
00058 private:
00059   CandStripHandle* fStrip; 
00060   int fUid;
00061   int fPlaneView;
00062   int fStripNum;
00063   double fTime;
00064   int fTrackFlag;
00065   int fShowerFlag;    
00066   double fCharge;
00067   int fPlane;
00068   double fTPos;
00069   double fZPos;
00070 
00071   //  ClassDef(HitCamAtNu,1)
00072 };
00073 
00074 #endif

Generated on Mon Feb 15 11:06:47 2010 for loon by  doxygen 1.3.9.1