1 void makePythiaPlots(file){
3 TFile *f=
new TFile(file,
"OPEN");
5 TH1F *h_vert=(TH1F*)f->Get(
"h_vzMB");
6 TH1F *h_partonpt=(TH1F*)f->Get(
"h_pythiaPartonPt");
7 TH1F *h_pionpt=(TH1F*)f->Get(
"h_pythiaPions");
9 TCanvas *c_1=
new TCanvas();
11 c_1->SaveAs(
"$HOME/gamma/analysis/output/pythia/vertex.ps");
12 TCanvas *c_1=
new TCanvas(
"c_1",
"c_1",600,300);
20 c_1->SaveAs(
"$HOME/gamma/analysis/output/pythia/pythiapt.ps");