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

EventDisplay/GfxTrackList.h

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

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