Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

  1. #include <TGFrame.h>
  2. class TRootEmbeddedCanvas;
  3. class TGStatusBar;
  4. class TGNumberEntry;
  5. class TGComboBox;
  6. class TGCheckButton;
  7. class TGTextEntry;
  8. class TTimer;
  9. class TH2F;
  10.  
  11. class FebMainFrame : public TGMainFrame {
  12. private:
  13.  TRootEmbeddedCanvas *fEcanvas;
  14.  TGStatusBar   *fStatusBar;
  15.  TGNumberEntry *fAddress;
  16.  TGNumberEntry *fBoardType;
  17.  TGNumberEntry *fBoardNumber;
  18.  TGTextEntry   *fFilename;
  19.  TGTextEntry   *fParamFile;
  20.  TGNumberEntry *fNeve;
  21.  TGNumberEntry *fTrgLen;
  22.  TGNumberEntry *fTrgType;
  23.  TGNumberEntry *fNx;
  24.  TGNumberEntry *fX0;
  25.  TGNumberEntry *fDx;
  26.  TGNumberEntry *fAsicChip;
  27.  TGNumberEntry *fAsicChannel;
  28.  TGComboBox    *fFPGACmd;
  29.  TGComboBox    *fFEBOut1;
  30.  TGComboBox    *fTriggerType;
  31.  TGComboBox    *fVmeInterface;
  32.  TGComboBox    *fDaqMode;
  33.  TTimer        *fTimer;
  34.  TH2F          *fHisto;
  35.  TGCheckButton *fTpEnb;
  36.  
  37.  TGNumberEntry *fOffset;
  38.  TGNumberEntry *fData;
  39.  
  40. public:
  41.  FebMainFrame( TGWindow *p,UInt_t w,UInt_t h);
  42.  virtual ~FebMainFrame() {  }
  43.  int  FillHistogram(float y, unsigned int *rdata);
  44.  void ScanFrame( TGCompositeFrame *p,UInt_t w,UInt_t h);
  45.  void SettingsFrame( TGCompositeFrame *p,UInt_t w,UInt_t h);
  46.  void ScanXYFrame( TGCompositeFrame *p,UInt_t w,UInt_t h);
  47.  void LowLevelFrame( TGCompositeFrame *p,UInt_t w,UInt_t h);
  48.  void Table( TGCompositeFrame *p,UInt_t w,UInt_t h);
  49.  void GuiTimer();
  50.  
  51.  void StartDaq(int mode);
  52.  void StopDaq(){ printf("Stop\n"); }
  53.  void CanvasPrint();
  54.  ClassDef(FebMainFrame,0)
  55. };
  56.