#include #include #include "run.h" #include "bin.h" #include "histo.h" #include "const.h" #include "stat.h" using std::string; using namespace std; class Analyzer { public: Analyzer(); // constructor ~Analyzer(); // destructor bool read_input_file(string); void run_loop(string); void histogram_output(); const char* get_filename(string); friend ostream & operator <<(ostream &os, const Analyzer &obj); protected: string file_prefix; ReactionType reaction; Run *list_of_runs; // pointer to the first of the runs in the run list Histo *list_of_histograms; // pointer to the first 1dim histogram Bin summary; // full-acceptance bin for summary information bool get_new_line(fstream&, string&); TCut global_cut; };