Skip to content
Snippets Groups Projects
Commit b51b3b12 authored by Jihee Kim's avatar Jihee Kim Committed by Whitney Armstrong
Browse files

Added pdf format for images

parent 150118e0
No related branches found
No related tags found
1 merge request!4Fix on invariant mass calculation
This commit is part of merge request !4. Comments created here will be created in the context of that merge request.
......@@ -146,7 +146,8 @@ int makeplot_pion(void)
h1->GetYaxis()->SetTitleOffset(1.4);
gPad->Update();
h1->DrawClone();
h1->SaveAs("results/theta_hist.png");
h1->SaveAs("results/pi0_theta_hist.png");
h1->SaveAs("results/pi0_theta_hist.pdf");
c2->cd();
h2->SetLineColor(kBlue);
......@@ -155,14 +156,16 @@ int makeplot_pion(void)
h2->GetYaxis()->SetTitle("events");
h2->GetYaxis()->SetTitleOffset(1.4);
h2->DrawClone();
h2->SaveAs("results/eta_hist.png");
h2->SaveAs("results/pi0_eta_hist.png");
h2->SaveAs("results/pi0_eta_hist.pdf");
c3->cd();
h3->GetXaxis()->SetTitle("Cluster energy [GeV]");
h3->GetYaxis()->SetTitle("#eta");
h3->GetYaxis()->SetTitleOffset(1.4);
h3->DrawClone("COLZ");
h3->SaveAs("results/e_vs_eta_hist.png");
h3->SaveAs("results/pi0_e_vs_eta_hist.png");
h3->SaveAs("results/pi0_e_vs_eta_hist.pdf");
c4->cd();
c4->SetLogy(1);
......@@ -172,14 +175,16 @@ int makeplot_pion(void)
h4->GetYaxis()->SetTitle("events");
h4->GetYaxis()->SetTitleOffset(1.4);
h4->DrawClone();
h4->SaveAs("results/recon_e_hist.png");
h4->SaveAs("results/pi0_recon_e_hist.png");
h4->SaveAs("results/pi0_recon_e_hist.pdf");
c6->cd();
h6->GetXaxis()->SetTitle("#theta [degree]");
h6->GetYaxis()->SetTitle("#eta");
h6->GetYaxis()->SetTitleOffset(1.4);
h6->DrawClone("COLZ");
h6->SaveAs("results/theta_vs_eta_hist.png");
h6->SaveAs("results/pi0_theta_vs_eta_hist.png");
h6->SaveAs("results/pi0_theta_vs_eta_hist.pdf");
c7->cd();
h7->SetLineColor(kBlue);
......@@ -188,7 +193,8 @@ int makeplot_pion(void)
h7->GetYaxis()->SetTitle("events");
h7->GetYaxis()->SetTitleOffset(1.4);
h7->DrawClone();
h7->SaveAs("results/invariant_mass_hist.png");
h7->SaveAs("results/pi0_invariant_mass_hist.png");
h7->SaveAs("results/pi0_invariant_mass_hist.pdf");
c8->cd();
h8->SetLineColor(kBlue);
......@@ -197,7 +203,8 @@ int makeplot_pion(void)
h8->GetYaxis()->SetTitle("events");
h8->GetYaxis()->SetTitleOffset(1.4);
h8->DrawClone();
h8->SaveAs("results/E1_hist.png");
h8->SaveAs("results/pi0_E1_hist.png");
h8->SaveAs("results/pi0_E1_hist.pdf");
c9->cd();
h9->SetLineColor(kBlue);
......@@ -206,7 +213,8 @@ int makeplot_pion(void)
h9->GetYaxis()->SetTitle("events");
h9->GetYaxis()->SetTitleOffset(1.4);
h9->DrawClone();
h9->SaveAs("results/E2_hist.png");
h9->SaveAs("results/pi0_E2_hist.png");
h9->SaveAs("results/pi0_E2_hist.pdf");
c10->cd();
h10->SetLineColor(kBlue);
......@@ -215,7 +223,8 @@ int makeplot_pion(void)
h10->GetYaxis()->SetTitle("events");
h10->GetYaxis()->SetTitleOffset(1.4);
h10->DrawClone();
h10->SaveAs("results/angle_twophotons.png");
h10->SaveAs("results/pi0_angle_twophotons.png");
h10->SaveAs("results/pi0_angle_twophotons.pdf");
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment