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

GfxShower.h

Go to the documentation of this file.
00001 
00017 #ifndef GFXSHOWER_H
00018 #define GFXSHOWER_H
00019 
00020 #include <TObject.h>
00021 
00022 class CandShowerHandle;
00023 class GfxShowerList;
00024 
00025 class GfxShower : public TObject
00026 {
00027 
00028 public:
00029 
00030     GfxShower(const CandShowerHandle& cth, GfxShowerList& parent);
00031     GfxShower(const GfxShower& rhs); // copy constructor
00032 
00033     ~GfxShower();
00034     void Clear(Option_t* ="");
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 CandShowerHandle& GetShower() { return fShower; }
00043     Int_t GetColor(){return fColor;}
00044 private:
00045 
00046     GfxShower &operator=(const GfxShower&); // Private and unimplemented
00047 
00048     int GetCandShowerData(float *u, float *v, float *x, float *y,
00049                           float *z, float* q, float *t, 
00050                           int *strip_number, int *plane_number);
00051     bool BuildRealImp();
00052     bool BuildDiscreteImp();
00053 
00054 #ifndef __CINT__
00055     const CandShowerHandle& fShower;
00056     GfxShowerList& fParent;
00057     TObject* fImp;
00058 #endif
00059     Int_t fColor;
00060     ClassDef(GfxShower,0)
00061 };                              // end of class GfxShower
00062 
00063 #endif  // GFXSHOWER_H

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