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

GfxMCVec.h

Go to the documentation of this file.
00001 
00017 #ifndef GFXMCVEC_H
00018 #define GFXMCVEC_H
00019 
00020 #include "GfxMCVecListCfg.h"
00021 
00022 #include <TObject.h>
00023 #include "TParticle.h"
00024 
00025 class GfxMCVecList;
00026 class TParticle;
00027 
00028 class GfxMCVec : public TObject
00029 {
00030 
00031 public:
00032 
00033     GfxMCVec(const TParticle& part, const float evntP, GfxMCVecList& parent);
00034     GfxMCVec(const GfxMCVec& rhs); // copy constructor
00035 
00036     virtual ~GfxMCVec();
00037     void Clear(Option_t* option="");
00038     // Called if configuration needs to create imp.
00039     void Configure(int ind);
00040 
00041     void ExecuteEvent(int event, int px, int py);
00042     void Paint(Option_t* option="");
00043     int DistancetoPrimitive(int px, int py);
00044    
00045     const TParticle& GetParticle() { return fParticle; };
00046     
00047 private:
00048 
00049     bool BuildRealImp(int ipart);
00050     bool BuildDiscreteImp(int /*ipart */);
00051     const TParticle& fParticle;
00052     const float fEventP;
00053     GfxMCVecList& fParent;
00054     TObject* fImp;
00055     
00056       ClassDef(GfxMCVec,0)
00057 };                              // end of class GfxMCVec
00058 
00059 #endif  // GFXMCVEC_H

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