00001 #ifndef runSummarizer_H 00002 #define runSummarizer_H 1 00003 00011 #include "TObject.h" 00012 #include "TFile.h" 00013 #include <vector> 00014 00015 class runSummarizer: public TObject{ 00016 00017 public: 00018 00020 runSummarizer(){} 00021 00025 runSummarizer(int nStrips): m_nStrips(nStrips) {} 00026 00028 virtual ~runSummarizer(){} 00029 00037 void execute(TFile* aFile, Float_t* mean, Float_t* rms, 00038 Int_t* nEvent, bool corFlag) const; 00039 00040 00041 ClassDef (runSummarizer,1) 00042 00043 private: 00044 00045 void sumEvent(const Float_t* adcCor, Float_t* sum , Float_t* sum2 ) const; 00046 int m_nStrips; 00047 00048 }; 00049 00050 #endif