Skip to content
Snippets Groups Projects
Commit 588c44af authored by Maria Zurek's avatar Maria Zurek
Browse files

Fix name of fsam histogram

parent 2f558d9e
No related branches found
No related tags found
1 merge request!55Resolve "Add separate plots for sampling fraction from ScFi Cal"
...@@ -121,7 +121,7 @@ void emcal_barrel_particles_analysis(std::string particle_name = "electron", boo ...@@ -121,7 +121,7 @@ void emcal_barrel_particles_analysis(std::string particle_name = "electron", boo
auto hfsamImg = d1.Histo1D( auto hfsamImg = d1.Histo1D(
{"hfsamImg", "Sampling Fraction; Sampling Fraction; Events", 400, 0.0, 0.2}, {"hfsamImg", "Sampling Fraction; Sampling Fraction; Events", 400, 0.0, 0.2},
"fsamImg"); "fsamImg");
auto hfsam = d1.Histo1D( auto hfsamScFi = d1.Histo1D(
{"hfsamScFi", "Sampling Fraction; Sampling Fraction; Events", 400, 0.0, 0.2}, {"hfsamScFi", "Sampling Fraction; Sampling Fraction; Events", 400, 0.0, 0.2},
"fsamScFi"); "fsamScFi");
...@@ -193,7 +193,7 @@ void emcal_barrel_particles_analysis(std::string particle_name = "electron", boo ...@@ -193,7 +193,7 @@ void emcal_barrel_particles_analysis(std::string particle_name = "electron", boo
TF1 *gaus = h->GetFunction("gaus"); TF1 *gaus = h->GetFunction("gaus");
gaus->SetLineWidth(2); gaus->SetLineWidth(2);
gaus->SetLineColor(kRed); gaus->SetLineColor(kRed);
save_canvas(c4,"fsamImg",particle_name); save_canvas(c5,"fsamImg",particle_name);
} }
{ {
...@@ -208,7 +208,7 @@ void emcal_barrel_particles_analysis(std::string particle_name = "electron", boo ...@@ -208,7 +208,7 @@ void emcal_barrel_particles_analysis(std::string particle_name = "electron", boo
TF1 *gaus = h->GetFunction("gaus"); TF1 *gaus = h->GetFunction("gaus");
gaus->SetLineWidth(2); gaus->SetLineWidth(2);
gaus->SetLineColor(kRed); gaus->SetLineColor(kRed);
save_canvas(c4,"fsamScFi",particle_name); save_canvas(c6,"fsamScFi",particle_name);
} }
j[particle_name] = { j[particle_name] = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment