#ifndef __ROOTMaker__ #define __ROOTMaker__ #include #include #include "DTranslationTable.h" #include "TFile.h" #include "TString.h" #include "TH1F.h" #include "TROOT.h" using namespace std; class ROOTMaker{ public: ROOTMaker(); ~ROOTMaker(){outputFile->Write(); outputFile->Close();} void FillHistograms(DTranslationTable *, int, int); private: void BookHistograms(); TFile * outputFile; TH1F * CDCHists[29]; TH1F * FDCHists[48]; }; #endif