Blame |
Last modification |
View Log
| RSS feed
#include <TGFrame.h>
class TRootEmbeddedCanvas;
class TGStatusBar;
class TGNumberEntry;
class TGComboBox;
class TGCheckButton;
class TGTextEntry;
class TTimer;
class TH2F;
class FebMainFrame : public TGMainFrame {
private:
TRootEmbeddedCanvas *fEcanvas;
TGStatusBar *fStatusBar;
TGNumberEntry *fAddress;
TGNumberEntry *fBoardType;
TGNumberEntry *fBoardNumber;
TGTextEntry *fFilename;
TGTextEntry *fParamFile;
TGNumberEntry *fNeve;
TGNumberEntry *fTrgLen;
TGNumberEntry *fTrgType;
TGNumberEntry *fNx;
TGNumberEntry *fX0;
TGNumberEntry *fDx;
TGNumberEntry *fAsicChip;
TGNumberEntry *fAsicChannel;
TGComboBox *fFPGACmd;
TGComboBox *fFEBOut1;
TGComboBox *fTriggerType;
TGComboBox *fVmeInterface;
TGComboBox *fDaqMode;
TTimer *fTimer;
TH2F *fHisto;
TGCheckButton *fTpEnb;
TGNumberEntry *fOffset;
TGNumberEntry *fData;
public:
FebMainFrame( TGWindow *p,UInt_t w,UInt_t h);
virtual ~FebMainFrame() { }
int FillHistogram(float y, unsigned int *rdata);
void ScanFrame( TGCompositeFrame *p,UInt_t w,UInt_t h);
void SettingsFrame( TGCompositeFrame *p,UInt_t w,UInt_t h);
void ScanXYFrame( TGCompositeFrame *p,UInt_t w,UInt_t h);
void LowLevelFrame( TGCompositeFrame *p,UInt_t w,UInt_t h);
void Table( TGCompositeFrame *p,UInt_t w,UInt_t h);
void GuiTimer();
void StartDaq(int mode);
void StopDaq(){ printf("Stop\n"); }
void CanvasPrint();
ClassDef(FebMainFrame,0)
};