1 #ifndef ATSIDEBARFRAMES_H
2 #define ATSIDEBARFRAMES_H
36 AtSidebarFrame(
const TGWindow *p =
nullptr, UInt_t w = 1, UInt_t h = 1, UInt_t options = 0,
37 Pixel_t back = GetDefaultFrameBackground())
38 : TGCompositeFrame(p, w, h, options | kChildFrame, back)
56 Pixel_t back = GetDefaultFrameBackground())
65 Pixel_t back = GetDefaultFrameBackground())
76 TGLabel *fRunFile{
nullptr};
77 TGLabel *fRunId{
nullptr};
78 TGLabel *fRunLength{
nullptr};
81 AtSidebarRunInfo(
const TGWindow *p =
nullptr, UInt_t w = 1, UInt_t h = 1, UInt_t options = 0,
82 Pixel_t back = GetDefaultFrameBackground())
90 TString GetFileName(TString filePath);
95 TGHorizontalFrame *fCurrentPadFrame{
nullptr};
96 TGLabel *fCurrentPadLabel{
nullptr};
97 TGNumberEntry *fCurrentPadEntry{
nullptr};
98 TGTextButton *fRedrawPadButton{
nullptr};
100 TGLabel *fCurrentPadId{
nullptr};
101 static constexpr
char fPadRefString[] =
"Pad Ref:[%d,%d,%d,%d]";
105 UInt_t options = 0, Pixel_t back = GetDefaultFrameBackground());
118 TGHorizontalFrame *fCurrentEventFrame{
nullptr};
119 TGLabel *fCurrentEventLabel{
nullptr};
120 TGNumberEntry *fCurrentEventEntry{
nullptr};
121 TGTextButton *fRerunButton{
nullptr};
123 TGHorizontalFrame *fButtonFrame{
nullptr};
127 UInt_t options = 0, Pixel_t back = GetDefaultFrameBackground());
139 TGVerticalFrame *fLabels{
nullptr};
140 TGVerticalFrame *fBoxes{
nullptr};
141 std::map<TString, DataHandling::AtBranch &> fBranches;
142 std::map<TString, TGComboBox *> fBranchBoxes;
147 UInt_t options = 0, Pixel_t back = GetDefaultFrameBackground());
162 void FillBranchFrame(std::string name, std::string className);
163 int GetIndex(TString,
const std::vector<TString> &vec);