3 TFile* f = new TFile("GlauberMC_PbPb_ntuple.root");
4 TTree* t = (TTree*)gDirectory->Get("nt_Pb_Pb"); // get the tree
6 gStyle->SetCanvasColor(0);
7 gStyle->SetFrameBorderMode(0);
8 gStyle->SetStatBorderSize(1);
9 gStyle->SetFrameFillColor(0);
10 gStyle->SetTitleFillColor(0);
11 gStyle->SetPalette(1);
13 TCanvas* c = new TCanvas("GlauberMC","GlauberMC");
16 // plot number of collisions
17 t->Draw("Ncoll:B","","prof");
19 // plot number of wounded nucleons
20 t->Draw("Npart:B","","prof");
22 t->Draw("VarE:Npart","","prof");
24 t->Draw("VarEPart:Npart","","prof");
28 t->Draw("dNdEtaGBW:B");