GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
void Distribution ( TH1F &  histo,
const char *  filebasename,
const char *  pathtofile = "./",
Int_t  istart = 1,
Int_t  iend = 10 
)

Function to draw a single distribution.

Just allocate the histogram with a title corresponding to the distribution you want to draw. For instance:

TH1F h("MyHisto","MG",20,0,20)

then, call Distribution(h,...) and the distribution will be drawn.

  • filebasename is the base file name of the pax files to be scanned
  • pathtofile the directory where are stored the pax files to be chained

Definition at line 233 of file FirstPax.C.