00001 #ifndef FITTINGTEST_SCTDAQROOTFILEEXT_H 00002 #define FITTINGTEST_SCTDAQROOTFILEEXT_H 00003 00004 #include "../SCTTestAPI/SctDaqRootFile.h" 00005 #include <memory> 00006 #include <string> 00007 00008 class TH1; 00009 00010 using std::string; 00011 using std::auto_ptr; 00012 using namespace SctTest; 00013 00014 00015 class SctDaqRootFileExt : public SctDaqRootFile { 00016 public: 00017 SctDaqRootFileExt(string fileName); 00018 auto_ptr<TH1> getSigmaGraph(unsigned int link, unsigned int cycle); 00019 auto_ptr<TH1> getMeanGraph(unsigned int link, unsigned int cycle); 00020 auto_ptr<TH1> getChiSqGraph(unsigned int link, unsigned int cycle); 00021 }; 00022 00023 #endif //FITTINGTEST_SCTDAQROOTFILEEXT_H