EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairEventManagerEditor.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FairEventManagerEditor.h
1 // -------------------------------------------------------------------------
2 // ----- FairEventManagerEditor -----
3 // ----- Created 16/12/07 by M. Al-Turany -----
4 // -------------------------------------------------------------------------
5 #ifndef ROOT_FAIREVENTMANAGEREDITOR
6 #define ROOT_FAIREVENTMANAGEREDITOR
7 
8 #include "TGedFrame.h"
9 
10 #include "TEveGValuators.h"
11 
12 class FairEventManager;
13 class TGNumberEntry;
14 class TGCheckButton;
15 class FairEventManagerEditor : public TGedFrame
16 {
17  FairEventManagerEditor(const FairEventManagerEditor&); // Not implemented
18  FairEventManagerEditor& operator=(const FairEventManagerEditor&); // Not implemented
19 
20  protected:
23  TGNumberEntry* fCurrentEvent, *fCurrentPDG;
24  TGCheckButton* fVizPri;
25  TEveGValuator* fMinEnergy ,*fMaxEnergy;
26  TGLabel* fEventTime;
27  public:
28  FairEventManagerEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
29  UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
31  void SetModel( TObject* obj);
32  virtual void SelectEvent();
33  virtual void SelectPDG();
34  void DoVizPri();
35  virtual void MaxEnergy();
36  virtual void MinEnergy();
37  virtual void Init();
38 
39  ClassDef(FairEventManagerEditor, 0); // Specialization of TGedEditor for proper update propagation to TEveManager.
40 };
41 
42 #endif