00001 #ifndef HITATNU_H 00002 #define HITATNU_H 00003 00004 #include "MessageService/MsgService.h" 00005 #include "TObject.h" 00006 #include "RecoBase/CandStripHandle.h" 00007 00008 using namespace std; 00009 00010 class HitAtNu : public TObject 00011 { 00012 00013 public: 00014 00015 HitAtNu(CandStripHandle* strip); 00016 HitAtNu(const HitAtNu &rhs); 00017 ~HitAtNu(); 00018 00019 CandStripHandle* GetCandStripHandle(); 00020 00021 Int_t GetPlaneView() const; 00022 Int_t GetPlane() const; 00023 Int_t GetStrip() const; 00024 Double_t GetCharge() const; 00025 Double_t GetTime() const; 00026 Double_t GetTPos() const; 00027 Double_t GetZPos() const; 00028 Int_t GetDigits() const; 00029 00030 void SetUID(Int_t uid); 00031 void SetTrkFlag(Int_t flag); 00032 void SetShwFlag(Int_t flag); 00033 void SetXtalkFlag(Int_t flag); 00034 Int_t GetUID() const; 00035 Int_t GetTrkFlag() const; 00036 Int_t GetShwFlag() const; 00037 Int_t GetXtalkFlag() const; 00038 00039 Int_t IsTrkAssoc(HitAtNu* hit) const; 00040 Int_t IsShwAssoc(HitAtNu* hit) const; 00041 Int_t IsDiffuseShwAssoc(HitAtNu* hit) const; 00042 00043 private: 00044 00045 Int_t fTrkFlag; 00046 Int_t fShwFlag; 00047 Int_t fXtalkFlag; 00048 Int_t fPlaneView; 00049 CandStripHandle* fStrip; 00050 Int_t fUid; 00051 Double_t fTime; 00052 00053 ClassDef(HitAtNu,1) 00054 00055 }; 00056 00057 #endif
1.3.9.1