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

Fix redefinition of the function

parent 6ddca779
No related branches found
No related tags found
1 merge request!153Draft: Resolve "Add energy scan for Barrel Ecal"
......@@ -223,7 +223,7 @@ std::tuple <double, double, double, double, double, double, double, double> extr
if(down_fit <=0 ) down_fit = hfsamImg->GetXaxis()->GetBinUpEdge(1);
hfsamImg->Fit("gaus", "", "", down_fit, up_fit);
set_histo_range(hfsamImg);
TF1 *gaus = hfsamImg->GetFunction("gaus");
TF1 *gausImg = hfsamImg->GetFunction("gaus");
gausImg->SetLineWidth(2);
gausImg->SetLineColor(kRed);
double meanImg = gausImg->GetParameter(1);
......
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