20 #include <TGSplitter.h>
21 #include <TGTextView.h>
22 #include <TGTextEntry.h>
23 #include <TGTextEdit.h>
24 #include <TGTextBuffer.h>
25 #include <TApplication.h>
30 #include <TRootEmbeddedCanvas.h>
31 #include <TVirtualStreamerInfo.h>
43 class DLLEXPORT
PixGui:
public TGMainFrame {
51 void handleButtons(Int_t
id = -1);
52 void createTab(
const char*);
54 void selectedTab(
int);
55 void selectProbes(
int);
56 void changeRootFile();
57 bool isHvOn() {
return fHV;}
62 bool isPowerOff() {
return !fPower;}
64 PixTest* createTest(std::string);
66 TGCompositeFrame *fhFrame;
67 TGTab *getTabs() {
return fTabs;}
68 PixTab *getPixTab() {
return fPixTab;}
70 int getWidth() {
return fWidth;}
71 int getHeight() {
return fHeight;}
73 PixSetup* getPixSetup() {
return fPixSetup;}
75 void updateSelectedRocs(std::map<int, int> a);
77 ULong_t fRed, fGreen, fYellow, fWhite, fDarkSeaGreen, fDarkOrange, fLavender, fDarkGray, fDarkSalmon;
79 std::string getHdiType();
83 static const int TESTNUMBER = 300;
84 enum CommandIdentifiers {
85 B_FILENAME = TESTNUMBER + 21,
96 TGTextBuffer *fRootFileNameBuffer, *fDirNameBuffer;
97 TGTextButton *fbtnPower, *fbtnHV;
98 TGSlider *fpowerSlider;
102 TGHorizontalFrame *fH1;
103 TGHorizontalFrame *fH2;
104 std::vector<PixTest *> fTestList;
115 std::vector<PixTab*> fPixTabList;
119 std::string fOldDirectory;
121 int fBorderN, fBorderT, fBorderL;