#ifndef Analyse_h #define Analyse_h 1 #include #include #include #include #include #include "TH1.h" #include "TF1.h" #include "TMath.h" #include "TCanvas.h" ////////////////////////////////////////////////// // // // Estimate p0, mu, sigma for one particle // // // ////////////////////////////////////////////////// class Analyse{ public: Analyse(); ~Analyse(); Double_t GetP0(); Double_t GetMu(); Double_t GetSigma(); TH1D* GetHist(); void AnalyseGaus(std::vector t, std::vector x); private: Double_t _p0; Double_t _mu; Double_t _sigma; TCanvas* canvA; TH1D* dxhisto; }; #endif