#ifndef FIN_FndSilMon #define FIN_FndSilMon //_____________________________________________________________________ // // TFndSilMon // // Description of the Sil online monitor // #include "TObject.h" #include "TFndHdt.h" #include "TFile.h" #include "TMapFile.h" #include "TH1.h" #include "TH2.h" class TFndSilMon : public TObject { protected: Int_t shmflg; // Shared Memory flag TFile *fsil; // Sil histogram file TMapFile *msil; // main SIL shared memory TMapFile *ism_adc; // ISIM shared memory TMapFile *osm_adc; // OSIM shared memory TH1F *ismmult; // ISM multiplicity TH1F *osmmult; // OSM multiplicity TH2F *ismmap; // ISM pattern TH2F *osmmap; // OSM pattern static const Int_t n_sil_chan = 1024; // Number of Strips/Hybrid static const Int_t n_ism_hybr = 24; // Number of ISM Hybrids static const Int_t n_osm_hybr = 30; // Number of OSM Hybrids TH1F *ism_adc_pattern[n_ism_hybr]; // ISM Pattern of ADC signals TH1F *osm_adc_pattern[n_osm_hybr]; // OSM Pattern of ADC signals public: TFndSilMon() {}; // Default constructor TFndSilMon(const char *fmode); // Constructor ~TFndSilMon(); // Destructor void Fill(TFndHdt *); // Fill Histograms in shared memories void Update(); // Update shared memories void WriteToFile(); // Write Histograms to File ClassDef(TFndSilMon,1) // The SIL monitor }; #endif