#ifndef FIN_FndGtsMon #define FIN_FndGtsMon //_____________________________________________________________________ // // TFndGtsMon // // Description of the Tof online monitor // #include "TObject.h" #include "TFndHdt.h" #include "TMapFile.h" #include "TH1.h" #include "TH2.h" #include "TCanvas.h" class TFndGtsMon : public TObject { protected: Int_t shmflg; // Shared Memory flag TFile *fgts; // Gts histogram file TMapFile *mgts; TCanvas *gts_mon; // Canvas TH1F *corbo_deadtime; // Corbo Dead Time TH1F *ioreg; // I/O Register TH1F *camacscaler; // Camac Scaler TH1F *gts1d; public: TFndGtsMon(const char *fmode); // Constructor TFndGtsMon(); // Constructor for Consumer ~TFndGtsMon(); // Destructor void Fill(TFndHdt *); void Update(); void WriteToFile(); // Write histograms to file ClassDef(TFndGtsMon,2) // The TOF monitor }; #endif