| Line |  | 
|---|
| 1 | #ifndef MARS_MEventDisplay | 
|---|
| 2 | #define MARS_MEventDisplay | 
|---|
| 3 |  | 
|---|
| 4 | #ifndef MARS_MStatusDisplay | 
|---|
| 5 | #include "MStatusDisplay.h" | 
|---|
| 6 | #endif | 
|---|
| 7 |  | 
|---|
| 8 | class TGLabel; | 
|---|
| 9 | class TGTextEntry; | 
|---|
| 10 | class MEvtLoop; | 
|---|
| 11 |  | 
|---|
| 12 | class MParList; | 
|---|
| 13 | class MTaskList; | 
|---|
| 14 | class MReadTree; | 
|---|
| 15 |  | 
|---|
| 16 | class MEventDisplay : public MStatusDisplay | 
|---|
| 17 | { | 
|---|
| 18 | private: | 
|---|
| 19 | enum | 
|---|
| 20 | { | 
|---|
| 21 | kEvtPrev = MStatusDisplay::kLastElement + 1, | 
|---|
| 22 | kEvtNext, | 
|---|
| 23 | kEvtNumber, | 
|---|
| 24 | kShowMuon, | 
|---|
| 25 | kShowImgPar | 
|---|
| 26 | }; | 
|---|
| 27 |  | 
|---|
| 28 | TGCompositeFrame *fTab1; | 
|---|
| 29 | TGCompositeFrame *fTab2; | 
|---|
| 30 |  | 
|---|
| 31 | TGLabel  *fNumOfEvts; | 
|---|
| 32 | TCanvas  *fCanvas; | 
|---|
| 33 | MEvtLoop *fEvtLoop; | 
|---|
| 34 |  | 
|---|
| 35 | void AddTopFramePart1(TGCompositeFrame *frame, | 
|---|
| 36 | const char *filename, const char *treename); | 
|---|
| 37 | void AddTopFramePart2(TGCompositeFrame *frame); | 
|---|
| 38 | void AddMiddleFrame(TGCompositeFrame *frame); | 
|---|
| 39 | void AddGeometryTabs(); | 
|---|
| 40 | void AddUserFrame(const char *filename); | 
|---|
| 41 | void ShowHide(); | 
|---|
| 42 |  | 
|---|
| 43 | void UpdateDisplay(); | 
|---|
| 44 | void SetupTaskList(const char *tname, TString fname, const char *path); | 
|---|
| 45 |  | 
|---|
| 46 | void ReadFirstEvent(); | 
|---|
| 47 | void ReadinEvent(Int_t dir=0); | 
|---|
| 48 |  | 
|---|
| 49 | Int_t GetFileType(const char *tree, const char *fname) const; | 
|---|
| 50 |  | 
|---|
| 51 | Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2); | 
|---|
| 52 |  | 
|---|
| 53 | public: | 
|---|
| 54 | MEventDisplay(const char *fname, const char *path=""); | 
|---|
| 55 | ~MEventDisplay(); | 
|---|
| 56 |  | 
|---|
| 57 | ClassDef(MEventDisplay, 0) // Display for camera images (cerenkov events) | 
|---|
| 58 | }; | 
|---|
| 59 |  | 
|---|
| 60 | #endif | 
|---|
| 61 |  | 
|---|
| 62 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.