#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, TFile* jFile) { TGraphAsymmErrors* g = (TGraphAsymmErrors*)iFile->Get(gName.c_str()); TGraphAsymmErrors* gj = (TGraphAsymmErrors*)jFile->Get(gName.c_str()); TCanvas* c = new TCanvas(gName.c_str(),gName.c_str()); g->Draw("ACP"); gj->SetLineColor(2); gj->SetMarkerColor(2); gj->Draw("CP"); std::cout<<"****************************** "<Get(gavinn.c_str()); // gg->Draw(); // TGraphAsymmErrors* ggg = new TGraphAsymmErrors(gg); xs = show_integrate(gname.c_str(), iFile, jFile); 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, jFile); gname = "j_bjet_ZPt_binned"; // gavinn = "zb_Z_pT_MPI"; // gg = (TH1D*)kFile->Get(gavinn.c_str()); // TGraphAsymmErrors* ggg = new TGraphAsymmErrors(gg); xs = show_integrate(gname.c_str(), iFile, jFile); gname = "j_bjet_ZY_binned"; // gavinn = "zb_Z_y_MPI"; // gg = (TH1D*)kFile->Get(gavinn.c_str()); // ggg = new TGraphAsymmErrors(gg); xs = show_integrate(gname.c_str(), iFile, jFile); gname = "j_bjet_ZdPhiF20_binned"; xs = show_integrate(gname.c_str(), iFile, jFile); 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, jFile); gname = "j_bjet_DY20_binned"; // gavinn = "zb_dy_MPI"; // gg = (TH1D*)kFile->Get(gavinn.c_str()); // ggg = new TGraphAsymmErrors(gg); xs = show_integrate(gname.c_str(), iFile, jFile); // gname = "j_2bjet_ZPt_binned"; // xs = show_integrate(gname.c_str(), iFile, jFile); gname = "j_2bjet_ZPtv3_binned"; xs = show_integrate(gname.c_str(), iFile, jFile); gname = "j_2bjet_ZY_binned"; gavinn = "zbb_Z_y_MPI"; gg = (TH1D*)kFile->Get(gavinn.c_str()); ggg = new TGraphAsymmErrors(gg); xs = show_integrate(gname.c_str(), iFile, jFile); 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, jFile); gname = "j_2bjet_Mbb_binned"; xs = show_integrate(gname.c_str(), iFile, jFile); return; }