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

GfxMCVecList.h

Go to the documentation of this file.
00001 
00017 #ifndef GFXMCVECLIST_H
00018 #define GFXMCVECLIST_H
00019 
00020 #include "GfxMCVec.h"
00021 #include "GfxBase.h"
00022 #include "GfxMCVecListCfg.h"
00023 #include "EVD.h"
00024 
00025 #include <list>
00026 class TClonesArray;
00027 class GfxMCVecList : public GfxBase
00028 {
00029 
00030 public:
00031 
00032     GfxMCVecList();
00033     ~GfxMCVecList();
00034 
00035     void Init(PageDisplay& pd, EVD& mp);
00036     void Configure(Mint& mint);
00037     GfxMCVecListCfg& GetCfg() { return *fCfg; }
00038 
00039     void Draw(Option_t *option=""); 
00040     void ExecuteEvent(int event, int /*px*/, int /*py*/, GfxMCVec* MCVec);
00041     void ExecuteEvent(int /*event*/, int /*px*/, int /*py*/){;}
00042 
00043     void HideVecs(bool hide = true);
00044     bool VecsHidden() { return fHideVecs; }
00045 
00046 
00047 private:
00048 
00049     // copy constructor, assignment:
00050     GfxMCVecList(const GfxMCVecList& rhs); // copy constructor
00051     GfxMCVecList& operator=(const GfxMCVecList& rhs); // assignment
00052 
00053     void ReConfigure();
00054     void ClearVecList();
00055 
00056     GfxMCVecListCfg* fCfg;
00057     SigC::Connection fCon;
00058 
00059     bool fHideVecs;
00060 
00061     EVD* fEVD;
00062     PageDisplay* fPageDisplay;
00063 
00064     TClonesArray* fVecsCA;
00065     typedef std::list<GfxMCVec*> MCVecList_t;
00066     MCVecList_t fVecs;
00067 
00068 };                              // end of class GfxMCVecList
00069 
00070 #endif  // GFXMCVECLIST_H

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