Skip to content
Snippets Groups Projects

Resolve "pi0 resolution for ECal barrel"

Merged Marshall Scott requested to merge 19-pi0-resolution-for-ecal-barrel into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -180,8 +180,8 @@ void emcal_barrel_pions_analysis(const char* input_fname = "sim_output/sim_emcal
//Energy Resolution Work
auto hdE = d1.Histo1D({"hdE", "dE; dE[GeV]; Events", 20, -7.5, 7.5}, "dE");//changed from 100
auto hdE_rel = d1.Histo1D({"hdE_rel", "dE Relative; dE Relative; Events", 20, -7.5, 7.5}, "dE_rel");//changed from 100
auto f1 = hdE_rel->Fit("gaus", "", "", -7.5, 7.5);
double* res = f1->GetParams();
hdE_rel->Fit("gaus", "", "", -7.5, 7.5);
double* res = hdE_rel->GetParameters();
//Pass/Fail
/*
Loading