#include #include "TROOT.h" #include "TFile.h" #include "TH1F.h" #include "TH2F.h" #include "TString.h" //#include "TVector.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; TH1F* hfirst_rating_each_user; TH1F* hlast_rating_each_user; TH1F* htime_1st_to_last_rating; TH1F* hratings_per_day_per_user; TH1F* hrating_sessions_per_user; //TH1F* h; //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*); ifstream datafile; ofstream outfile; };