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

Midad/MultiPage/GfxTrack.h

Go to the documentation of this file.
00001 
00017 #ifndef GFXTRACK_H
00018 #define GFXTRACK_H
00019 
00020 #include <TObject.h>
00021 
00022 class CandTrackHandle;
00023 class GfxTrackList;
00024 
00025 class GfxTrack : public TObject
00026 {
00027 
00028 public:
00029 
00030     GfxTrack(const CandTrackHandle& cth, GfxTrackList& parent);
00031     GfxTrack(const GfxTrack& rhs); // copy constructor
00032 
00033     ~GfxTrack();
00034 
00035     // Called if configuration needs to create imp.
00036     void Configure();
00037 
00038     void ExecuteEvent(int event, int px, int py);
00039     void Paint(Option_t* option="");
00040     int DistancetoPrimitive(int px, int py);
00041     
00042     const CandTrackHandle& GetTrack() { return fTrack; }
00043 
00044 private:
00045 
00046     GfxTrack &operator=(const GfxTrack&);   // Private and unimplemented
00047 
00048     int GetCandTrackData(float *u, float *v, float *z, 
00049                          float* q, float *t, 
00050                          int *strip_number, int *plane_number);
00051     bool BuildRealImp();
00052     bool BuildDiscreteImp();
00053 
00054     const CandTrackHandle& fTrack;
00055     GfxTrackList& fParent;
00056     TObject* fImp;
00057     
00058     ClassDef(GfxTrack,0)
00059 };                              // end of class GfxTrack
00060 
00061 #endif  // GFXTRACK_H

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