00001 00002 // $Id: HoughViewSR.h,v 1.7 2004/10/30 15:02:35 musser Exp $ 00003 // 00004 // HoughViewSR 00005 // 00006 // Author: R. Lee 2002.01.18 00007 // 00009 00010 #ifndef HOUGHVIEWSR_H 00011 #define HOUGHVIEWSR_H 00012 00013 #include <vector> 00014 00015 #include "TObject.h" 00016 #include "TObjArray.h" 00017 00018 #include "HoughTrackSR.h" 00019 00020 using namespace std; 00021 00022 00023 class HoughViewSR : public TObject 00024 { 00025 00026 public: 00027 00028 HoughViewSR(); 00029 HoughViewSR(TObjArray candclusterhandlelist); 00030 ~HoughViewSR(); 00031 00032 Double_t GetX0(); 00033 Double_t GetZ0(); 00034 00035 const HoughTrackSR *GetHoughTrack(Int_t); 00036 00037 Int_t GetNPeak() const; 00038 Int_t GetNTrack() const; 00039 00040 Int_t GetLargestTrackIndex() const; 00041 00042 void SetPeakMin(Int_t); 00043 void SetPeakMinFrac(Double_t); 00044 void SetPeakMinFracZoom(Double_t); 00045 void SetMinInterBinSize(Double_t); 00046 00047 void SetClusterList(TObjArray candclusterlist); 00048 void SetClusterList(TObjArray * candclusterlist, Double_t minPulseHeight); 00049 Int_t Iterate(Int_t imode = 0); 00050 void Print(Option_t* option="") const; 00051 00052 private: 00053 00054 void Init(); 00055 Int_t IterateSingle(); 00056 00057 Double_t fXZmean[2]; 00058 Double_t fXZrms[2]; 00059 TObjArray *fClusterList; 00060 00061 Int_t fPeakMin; 00062 Double_t fPeakMinFrac; 00063 Double_t fPeakMinFracZoom; 00064 Double_t fMinInterBinSize; 00065 00066 TObjArray fHoughTrackList; 00067 00068 ClassDef(HoughViewSR,1) 00069 00070 }; 00071 00072 00073 #endif // HOUGHVIEWSR_H
1.3.9.1