26 TGMainFrame* frmMain =
nullptr;
27 TGMainFrame* frmBot =
nullptr;
30 TGVerticalFrame* fVFrame =
nullptr;
32 TGLabel* fEventIdLabel =
nullptr;
33 TGLabel* fEventSubIdLabel =
nullptr;
34 TGNumberEntry* fEventRowNumberBox =
nullptr;
39 TGComboBox* fEventTypeComboBox =
nullptr;
41 TGLabel* fPlotOptionLabel =
nullptr;
42 TGTextEntry* fPlotOptionTextBox =
nullptr;
48 TGPictureButton*
fExit =
nullptr;
52 TGLabel* fSelectionTextBoxLabel =
nullptr;
53 TGTextEntry* fSelectionTextBox =
nullptr;
60 Int_t fEventSubId = 0;
62 TBrowser* fBrowser =
nullptr;
67 TString fInputFileName;
72 void SetViewer(
const TString& viewerName, Double_t geomScale = 0.1);
73 void SetLeftPanelButtons();
75 Bool_t LoadEventId(Int_t eventID, Int_t subEventID = -1);
76 Bool_t LoadEventEntry(Int_t n);
80 void Initialize(
const TString& opt =
"FI");
81 static void InitFromConfigFile();
82 Bool_t OpenFile(
const TString& filename);
86 inline void SetWindowName(
const TString& windowName) { frmMain->SetWindowName(windowName.Data()); }
92 void LoadFileAction();
93 static void ExitAction();
95 void RowValueChangedAction(Long_t val);
96 void IdValueChangedAction(Long_t val);
97 void NextEventAction();
98 void PreviousEventAction();
100 void EventTypeChangedAction(Int_t
id);
102 void NextPlotOptionAction();
103 void PreviousPlotOptionAction();
108 TRestBrowser(
const TString& viewerName, Double_t geomScale = 0.1);