00001 #ifndef CLUSTERATNU_H 00002 #define CLUSTERATNU_H 00003 00004 #include "ObjAtNu.h" 00005 00006 class ClusterAtNu : public ObjAtNu 00007 { 00008 00009 public: 00010 00011 ClusterAtNu(); 00012 ClusterAtNu(HitAtNu* hit); 00013 ClusterAtNu(const ClusterAtNu& rhs); 00014 ~ClusterAtNu(); 00015 00016 Int_t IsTrkAssoc(ClusterAtNu* clrm, ClusterAtNu* clrp) const; 00017 Int_t IsShwAssoc(ClusterAtNu* clr) const; 00018 Int_t IsDiffuseShwAssoc(ClusterAtNu* clr) const; 00019 Int_t IsHitAssoc(HitAtNu* hit) const; 00020 00021 Int_t GetPlane() const; 00022 Int_t GetBegStrip() const; 00023 Int_t GetEndStrip() const; 00024 00025 Double_t GetBegTime() const; 00026 Double_t GetEndTime() const; 00027 Double_t GetZPos(); 00028 Double_t GetTPos(); 00029 Double_t GetCharge(); 00030 00031 Int_t GetDigits(); 00032 00033 Int_t GetTrkFlag() const; 00034 Int_t GetShwFlag() const; 00035 Int_t GetTrkPlnFlag() const; 00036 Int_t GetShwPlnFlag() const; 00037 Int_t GetClrPlnFlag() const; 00038 00039 void SetTrkFlag(Int_t flag); 00040 void SetShwFlag(Int_t flag); 00041 void SetTrkPlnFlag(Int_t flag); 00042 void SetShwPlnFlag(Int_t flag); 00043 void SetClrPlnFlag(Int_t flag); 00044 00045 void AddHit(HitAtNu* hit); 00046 00047 private: 00048 00049 Int_t fPlane; 00050 Int_t fBegStrip; 00051 Int_t fEndStrip; 00052 Double_t fBegTime; 00053 Double_t fEndTime; 00054 Double_t fZPos; 00055 Double_t fTPos; 00056 Double_t fCharge; 00057 Int_t fTrkFlag; 00058 Int_t fShwFlag; 00059 Int_t fTrkPlnFlag; 00060 Int_t fShwPlnFlag; 00061 Int_t fClrPlnFlag; 00062 00063 ClassDef(ClusterAtNu,1) 00064 00065 }; 00066 00067 #endif
1.3.9.1