#include #include "TROOT.h" #include "TFile.h" #include "TH1F.h" #include "TH2F.h" #include "TString.h" //#include "TVector.h" #include "Riostream.h" #include "TMatrixD.h" #include "TMatrixTLazy.h" #include "TVectorD.h" #include "TDecompLU.h" #include "TDecompSVD.h" #include #include //#include #include using namespace std; class Analyzer { public: // histograms TFile* hfile; TH1F* hpacket_per_sec; TH1F* hrating_per_day; TH1F* hrating_per_month; TH1F* hrating_all; TH1F* havg_rating; TH1F* havg_rating_d; TH1F* hratings_per_user; TH1F* htest_ratings_per_user; TH2F* hratings_vs_test; TH1F* hfirst_rating_each_user; TH1F* hlast_rating_each_user; TH1F* htime_1st_to_last_rating; TH1F* hratings_per_session_per_user; TH1F* hrating_sessions_per_user; //TH1F* h; //TH1F* h; //TH1F* h; //TH1F* h; //TH1F* h; //TH1F* h; //TH1F* h; //TH1F* h; // functions Analyzer(); ~Analyzer(); char line[100]; char line1[100]; void a1(char*); void makesmall(char*); void m1(); ifstream datafile; ofstream outfile; };