#include #include #include "libstat.h" #include "binning2.h" #include "TFile.h" #include "TH1.h" #include "TH2.h" #include "TH3.h" #include "TString.h" #include "TCanvas.h" #include "TROOT.h" #include "TStyle.h" #include "THStack.h" #include "TLegend.h" #include "TLegendEntry.h" #include "TLatex.h" #include "TMath.h" #include "TGraphAsymmErrors.h" #include "TLine.h" #include "TString.h" #include "TKey.h" #include "TColor.h" #include #include #include #include #include //#include //#include //#include using namespace std; //base class for the background /**Base class for the background **/ class background : public TObject { public: background(){}; /** Standard constructor for the background class**/ background(TString Name, Color_t Color, TFile* File){ bkgName = Name; bkgFile = File; bkgColor = Color; }; ~background(){}; TString bkgName; /**< Name of background **/ TFile* bkgFile; /**< Pointer to the backgroundfile **/ Color_t bkgColor; /**< bkgColor is no longer used*/ TH1F* bkgHisto; /**< HIstogram containing the backgroundhistogram taken from TFile* bkgFile **/ /**Class definition, standard**/ ClassDef(background, 1); }; //base class for systematics, only a name is associated /**Base class for systematics**/ class systematic : public TObject { public: systematic(){}; systematic(TString Name){ sysName = Name; }; virtual ~systematic(){}; TString sysName; /**< String containing the systematics name **/ TH1F* hSysTotal; /** topoVector; /**< Vector containing all topologies**/ //The name here is really confusing, but since topoVector is already //taken. //vector TopoArrayVector; /*< TH1F* hSIG; /**< Histogram for the signal**/ TFile* fSIG; /**< File which contains the signal histograms**/ bool ApplySignal; /** > region_map; /**< Map for storing the region restrictions**/ /** Standard class definition**/ ClassDef(toygenerator, 1); };