DrawCollectionRate.C
Go to the documentation of this file.
1 {
2  gROOT->ForceStyle();
3 
4  TFile* file = new TFile("dT_dZ_CollectionRate.root");
5  TH2D* histo = (TH2D*)file->Get("dT_dZ_CollectionRate");
6 
7  TCanvas* canv = new TCanvas("cdT_dZ_CollectionRate","cdT_dZ_CollectionRate");
8  CenterTitles(histo);
9  histo->SetStats(false);
10  histo->SetTitle(";|Z^{collection} - Z^{emission}| (cm);T^{collection} - T^{emission} (ns);");
11  histo->SetMinimum(1.0e-9);
12  canv->SetLogz();
13  histo->Draw("colz");
14 
15 
16  Simulation();
17 
18 }
TCanvas * canv
Simulation()
Definition: tools.h:16
CenterTitles(histo)
TH2D * histo
TFile * file
Float_t e
Definition: plot.C:35