#include "TFile.h" #include "TCanvas.h" #include "TGraphAsymmErrors.h" #include "ComputeTotalCrossSection.C" #include #include #include #include "AtlasUtils.h" #include "AtlasStyle.C" #include "AtlasLabels.C" Double_t show_integrate(std::string gName, TFile* iFile) { TGraphAsymmErrors* g = (TGraphAsymmErrors*)iFile->Get(gName.c_str()); TCanvas* c = new TCanvas(gName.c_str(),gName.c_str()); g->Draw("ACP"); std::cout<<"****************************** "<Get(gavinn.c_str()); gg->Draw(); TGraphAsymmErrors* ggg = new TGraphAsymmErrors(gg); xs = show_integrate(gname.c_str(), iFile); xs = show_integrate(gname.c_str(), jFile); //xs = show_integrate(gname.c_str(), kFile); xs = ComputeTotalCrossSection(ggg); gname = "j_bjet_Yboost_binned"; gavinn = "zb_yboost_MPI"; gg = (TH1D*)kFile->Get(gavinn.c_str()); TGraphAsymmErrors* ggg = new TGraphAsymmErrors(gg); xs = show_integrate(gname.c_str(), iFile); xs1 = show_integrate(gname.c_str(), jFile); std::cout<<"MPI on top of Zb ME = "<Get(gavinn.c_str()); TGraphAsymmErrors* ggg = new TGraphAsymmErrors(gg); xs = show_integrate(gname.c_str(), iFile); xs1 = show_integrate(gname.c_str(), jFile); std::cout<<"MPI on top of Zb ME = "<Get(gavinn.c_str()); ggg = new TGraphAsymmErrors(gg); xs = show_integrate(gname.c_str(), iFile); xs = show_integrate(gname.c_str(), jFile); //xs = show_integrate(gname.c_str(), kFile); xs = ComputeTotalCrossSection(ggg); gname = "j_bjet_ZdPhiF20_binned"; xs = show_integrate(gname.c_str(), iFile); xs = show_integrate(gname.c_str(), jFile); //xs = show_integrate(gname.c_str(), kFile); gname = "j_bjet_ZdR620_binned"; gavinn = "zb_dR_MPI"; gg = (TH1D*)kFile->Get(gavinn.c_str()); ggg = new TGraphAsymmErrors(gg); xs = show_integrate(gname.c_str(), iFile); xs1 = show_integrate(gname.c_str(), jFile); std::cout<<"MPI on top of Zb ME = "<Get(gavinn.c_str()); ggg = new TGraphAsymmErrors(gg); xs = show_integrate(gname.c_str(), iFile); xs1 = show_integrate(gname.c_str(), jFile); std::cout<<"MPI on top of Zb ME = "<Get(gavinn.c_str()); ggg = new TGraphAsymmErrors(gg); xs = show_integrate(gname.c_str(), iFile); xs = show_integrate(gname.c_str(), jFile); //xs = show_integrate(gname.c_str(), kFile); xs = ComputeTotalCrossSection(ggg); gname = "j_2bjet_dR_binned"; gavinn = "zbb_dR_MPI"; gg = (TH1D*)kFile->Get(gavinn.c_str()); ggg = new TGraphAsymmErrors(gg); xs = show_integrate(gname.c_str(), iFile); xs1 = show_integrate(gname.c_str(), jFile); std::cout<<"MPI on top of Zb ME = "<