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

modified: scripts/emcal_barrel_electrons_analysis.cxx

	modified:   ../trackers/simple_tracking.cxx
parent aa5348f4
No related branches found
No related tags found
1 merge request!20Restructuring repo
...@@ -134,9 +134,9 @@ void emcal_barrel_electrons_analysis(const char* input_fname = "sim_output/sim_e ...@@ -134,9 +134,9 @@ void emcal_barrel_electrons_analysis(const char* input_fname = "sim_output/sim_e
//h->GetYaxis()->SetTitleOffset(1.4); //h->GetYaxis()->SetTitleOffset(1.4);
h->SetLineWidth(2); h->SetLineWidth(2);
h->SetLineColor(kBlue); h->SetLineColor(kBlue);
h->Fit("gaus", "", "", 0.01, 0.1); //h->Fit("gaus", "", "", 0.01, 0.1);
h->GetFunction("gaus")->SetLineWidth(2); //h->GetFunction("gaus")->SetLineWidth(2);
h->GetFunction("gaus")->SetLineColor(kRed); //h->GetFunction("gaus")->SetLineColor(kRed);
c4->SaveAs("results/emcal_barrel_electrons_fsam.png"); c4->SaveAs("results/emcal_barrel_electrons_fsam.png");
c4->SaveAs("results/emcal_barrel_electrons_fsam.pdf"); c4->SaveAs("results/emcal_barrel_electrons_fsam.pdf");
} }
......
...@@ -116,7 +116,7 @@ void simple_tracking(const char* fname = "./sim_output/roman_pot_out.root"){ ...@@ -116,7 +116,7 @@ void simple_tracking(const char* fname = "./sim_output/roman_pot_out.root"){
h0->DrawClone(); h0->DrawClone();
std::cout << *n0 << " events with nonzero hits\n"; std::cout << *n0 << " events with nonzero hits\n";
if(*n0<5) { if(*n0<1) {
std::quick_exit(1); std::quick_exit(1);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment