FairRoot/PandaRoot
Functions
plotall.C File Reference

Go to the source code of this file.

Functions

int plotall (TString filename="Data/HistoVertexing.root")
 

Function Documentation

int plotall ( TString  filename = "Data/HistoVertexing.root")

Definition at line 2 of file plotall.C.

References filename, LoadPandaStyle(), and plothistosfromfile().

3 {
4  gROOT->LoadMacro("$VMCWORKDIR/macro/run/Tools.C");
6  //swotch things off
7  gStyle->SetOptTitle(1);
8  gStyle->SetOptStat(0);
9  gStyle->SetOptFit(0);
10 
11  // use bigger font for many plots on a page
12  gStyle->SetTextSize(0.10);
13  gStyle->SetLabelSize(0.07,"x");
14  gStyle->SetTitleSize(0.07,"x");
15  gStyle->SetLabelSize(0.07,"y");
16  gStyle->SetTitleSize(0.07,"y");
17  gStyle->SetLabelSize(0.07,"z");
18  gStyle->SetTitleSize(0.07,"z");
19  gStyle->SetPadBottomMargin(0.17);
20 
21  plothistosfromfile(filename.Data(),"pdf",3,3);
22  return 0;
23 
24 }
bool plothistosfromfile(TString filename="histos.root", TString ext=".pdf", Int_t divx=2, Int_t divy=2, Int_t pix=300)
Definition: style/Tools.C:318
LoadPandaStyle()
const string filename