#include "TrkQLook_EXPERT.cpp" #include /** * TrakerQLookExpert.cpp * * autor: D.Fedele * version 1.0 * Parameters: * base - the path to the root directory for the specific * Pamela unpack session * fromevent - first event to analyse * toevent - last event to analyse * outdir - total path of output file * outfile - extension of output file (pdf,ps,gif,jpg) * */ int main(int argc, char* argv[]){ TString FILE,OUTDIR="",OUTFILE="gif"; Int_t FROMEVENT=0,TOEVENT=0; if(argc>1){ if (!strcmp(argv[1], "-h")||!strcmp(argv[1], "--help")){ printf("Usage: TrackerQlookExpert FILE FROMEVENT TOEVENT OUTDIR OUTFILE \n"); printf("\t FILE: path of the root file to analize (give at least this parameter) \n"); printf("\t FROMEVENT: first event to analize [default = 0] \n"); printf("\t TOEVENT: last event to analize [default = 0] \n"); printf("\t OUTDIR: output directory [default = same directory of the root file] \n"); printf("\t OUTFILE: type of output file (without . )[default = gif] \n"); return(0); } if(argc>=2){ for(int i=1; i