void fitFe55() { gROOT->SetStyle("Plain"); TCanvas *c1=new TCanvas("c1","Canvas",800,600); gStyle->SetOptStat(0); TFile::Open("Fe55Fit_S44_120mV.root"); Signal00030->SetTitle(";Oscilloscope sample time (ns);Output signal (V)"); Signal00030->GetXaxis()->SetRangeUser(600,1800); Signal00030->GetYaxis()->SetTitleOffset(1.3); Signal00030->Draw(); Fit00030->SetLineColor(2); Fit00030->SetLineWidth(2); Fit00030->GetXaxis()->SetRangeUser(700,1399); Fit00030->Draw("same"); //Trim0Quad0Sigmas->GetXaxis()->SetRangeUser(-80,119); c1->Update(); c1->Print("../fitFe55.png"); }