Skip to content
Snippets Groups Projects

Resolve "Broken pi0 ecal barrel analysis script"

Merged Marshall Scott requested to merge 47-broken-pi0-ecal-barrel-analysis-script into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -149,7 +149,7 @@ void emcal_barrel_pi0_analysis(
@@ -149,7 +149,7 @@ void emcal_barrel_pi0_analysis(
col = {"fsam", "dE"};
col = {"fsam", "dE"};
nCol = range.size();
nCol = range.size();
std::vector<std::vector<double>> fitRange = {{0.005, 0.1},{-3, 3}};
std::vector<std::vector<double>> fitRange = {{0.005, 0.1}, {-3, 3}};
double sigmaOverE = 0;
double sigmaOverE = 0;
for (int i = 0; i < nCol; i++){
for (int i = 0; i < nCol; i++){
int binNum = 100;
int binNum = 100;
@@ -171,7 +171,7 @@ void emcal_barrel_pi0_analysis(
@@ -171,7 +171,7 @@ void emcal_barrel_pi0_analysis(
c->SaveAs((fmt::format("results/emcal_barrel_pi0_{}.pdf", col[i])).c_str());
c->SaveAs((fmt::format("results/emcal_barrel_pi0_{}.pdf", col[i])).c_str());
std::printf("Resolution %d\n", i);
std::printf("Resolution %d\n", i);
}
}
// Energy Resolution Calculation
// Energy Resolution Calculation
std::string test_tag = "Barrel_emcal_pi0";// TODO: Change test_tag to something else
std::string test_tag = "Barrel_emcal_pi0";// TODO: Change test_tag to something else
std:string detEle = "Barrel_emcal";
std:string detEle = "Barrel_emcal";
Loading