Skip to content
Snippets Groups Projects
Commit 73b6e0b8 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Q2_res between -1, +1; x_res in linx scale

parent 8f5b26ad
Branches
No related tags found
1 merge request!104DIS: Q2_res between -1, +1; x_res in linx scale
...@@ -83,7 +83,7 @@ int dis_electrons(const std::string& config_name) ...@@ -83,7 +83,7 @@ int dis_electrons(const std::string& config_name)
//Q2 //Q2
auto h_Q2_sim = d0.Histo1D({"h_Q2_sim", "; GeV^2; counts", 100, -5, 25}, "Q2_sim"); auto h_Q2_sim = d0.Histo1D({"h_Q2_sim", "; GeV^2; counts", 100, -5, 25}, "Q2_sim");
auto h_Q2_rec = d0.Histo1D({"h_Q2_rec", "; GeV^2; counts", 100, -5, 25}, "Q2_rec"); auto h_Q2_rec = d0.Histo1D({"h_Q2_rec", "; GeV^2; counts", 100, -5, 25}, "Q2_rec");
auto h_Q2_res = d0.Histo1D({"h_Q2_res", "; ; counts", 100, -10, 10}, "Q2_res"); auto h_Q2_res = d0.Histo1D({"h_Q2_res", "; ; counts", 100, -1, 1}, "Q2_res");
//x //x
auto h_x_sim = d0.Histo1D({"h_x_sim", "; ; counts", 100, 0, +1}, "x_sim"); auto h_x_sim = d0.Histo1D({"h_x_sim", "; ; counts", 100, 0, +1}, "x_sim");
auto h_x_rec = d0.Histo1D({"h_x_rec", "; ; counts", 100, 0, +1}, "x_rec"); auto h_x_rec = d0.Histo1D({"h_x_rec", "; ; counts", 100, 0, +1}, "x_rec");
...@@ -190,7 +190,7 @@ int dis_electrons(const std::string& config_name) ...@@ -190,7 +190,7 @@ int dis_electrons(const std::string& config_name)
{ {
TCanvas c("c", "c", 1200, 1200); TCanvas c("c", "c", 1200, 1200);
c.cd(); c.cd();
gPad->SetLogx(true); gPad->SetLogx(false);
gPad->SetLogy(true); gPad->SetLogy(true);
auto& h1 = *h_x_res; auto& h1 = *h_x_res;
// histogram style // histogram style
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment