Skip to content
Snippets Groups Projects
Commit c6835eae authored by Marshall Scott's avatar Marshall Scott
Browse files

calculates sampling fraction and then uses that to correctly calculate the resolution 6

parent ef3abfd4
No related branches found
No related tags found
1 merge request!24Resolve "pi0 resolution for ECal barrel"
This commit is part of merge request !24. Comments created here will be created in the context of that merge request.
......@@ -127,7 +127,7 @@ void emcal_barrel_pions_analysis(const char* input_fname = "sim_output/sim_emcal
;
// Set sampling Fraction, ideally this will be taken from a json file
auto svec = d1.Mean("fsam");
for (auto &ele : svec){cout << ele << endl;}
for (auto ele : svec){cout << ele << endl;}
auto d2 = d1.Define("dE", eResol, {"Esim","Ethr"})
.Define("dE_rel", eResol_rel, {"Esim","Ethr"})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment