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

Take sampling fraction from the json file

parent 5e4c54e2
No related branches found
No related tags found
1 merge request!57Resolve "Fix pi0 benchmark sampling fraction"
...@@ -117,8 +117,6 @@ void emcal_barrel_pi0_analysis(const char* input_fname = "sim_output/sim_emcal_b ...@@ -117,8 +117,6 @@ void emcal_barrel_pi0_analysis(const char* input_fname = "sim_output/sim_emcal_b
auto hpid = d1.Histo1D({"hpid", "PID; PID; Count", 100, -220, 220}, "pid"); auto hpid = d1.Histo1D({"hpid", "PID; PID; Count", 100, -220, 220}, "pid");
auto hdau = d1.Histo1D({"hdau", "Number of Daughters; Number of Daughters; Count", 10, 0, 10}, "dau"); auto hdau = d1.Histo1D({"hdau", "Number of Daughters; Number of Daughters; Count", 10, 0, 10}, "dau");
// Gather Sampling fraction and mean Energy, ideally this will be taken from a json file
samp_frac = hfsam->GetMean();
const double meanE = hEthr->GetMean(); const double meanE = hEthr->GetMean();
// Event Counts // Event Counts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment