Skip to content
Snippets Groups Projects
Commit aa5348f4 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: scripts/emcal_barrel_electrons_analysis.cxx

parent 43b393c0
No related branches found
No related tags found
1 merge request!20Restructuring repo
......@@ -96,18 +96,19 @@ void emcal_barrel_electrons_analysis(const char* input_fname = "sim_output/sim_e
TCanvas* c1 = new TCanvas("c1", "c1", 700, 500);
c1->SetLogy(1);
auto h = hEthr->DrawCopy();
h->GetYaxis()->SetTitleOffset(1.4);
//h->GetYaxis()->SetTitleOffset(1.4);
h->SetLineWidth(2);
h->SetLineColor(kBlue);
c1->SaveAs("results/emcal_barrel_electrons_Ethr.png");
c1->SaveAs("results/emcal_barrel_electrons_Ethr.pdf");
}
std::cout << "derp1\n";
{
TCanvas* c2 = new TCanvas("c2", "c2", 700, 500);
c2->SetLogy(1);
auto h = hNhits->DrawCopy();
h->GetYaxis()->SetTitleOffset(1.4);
//h->GetYaxis()->SetTitleOffset(1.4);
h->SetLineWidth(2);
h->SetLineColor(kBlue);
c2->SaveAs("results/emcal_barrel_electrons_nhits.png");
......@@ -118,18 +119,19 @@ void emcal_barrel_electrons_analysis(const char* input_fname = "sim_output/sim_e
TCanvas* c3 = new TCanvas("c3", "c3", 700, 500);
c3->SetLogy(1);
auto h = hEsim->DrawCopy();
h->GetYaxis()->SetTitleOffset(1.4);
//h->GetYaxis()->SetTitleOffset(1.4);
h->SetLineWidth(2);
h->SetLineColor(kBlue);
c3->SaveAs("results/emcal_barrel_electrons_Esim.png");
c3->SaveAs("results/emcal_barrel_electrons_Esim.pdf");
}
std::cout << "derp4\n";
{
TCanvas* c4 = new TCanvas("c4", "c4", 700, 500);
c4->SetLogy(1);
auto h = hfsam->DrawCopy();
h->GetYaxis()->SetTitleOffset(1.4);
//h->GetYaxis()->SetTitleOffset(1.4);
h->SetLineWidth(2);
h->SetLineColor(kBlue);
h->Fit("gaus", "", "", 0.01, 0.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