#include "BluetAnalyzer.hh" #include "iostream" using namespace std; int main(int argc, char **argv) { if (argc < 3) { cout << "Usage: " << argv[0] << " " << endl; return 1; } string cfgfile = argv[1]; string datafile = argv[2]; vector runfiles; runfiles.push_back(datafile); BluetAnalyzer *bluet = new BluetAnalyzer(); bluet->readCutParameters(cfgfile); bluet->defineFitFunctions(); bluet->defineHistograms(); bluet->readTreeData(runfiles); bluet->FillHistograms(); bluet->postOperations(); bluet->saveHistograms(); bluet->drawHistograms(); return 0; }