#include "readpedsig.cpp" #include "readpedsig-limits.cpp" #include /** * readpedsig-main --> is the main program that call the function * readpedsig and readpedsig-limits * * autor: D.Fedele * version 1.0 * Parameters: * file - the path to the root file to analyse * outdir - total path of output file * */ int main(int argc, char* argv[]){ TString FILE,OUTDIR=""; if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help") || argc==1){ printf("Usage: readpedsig FILE OUTDIR \n"); printf("\t FILE: path of the root file to analize (give at least this parameter) \n"); printf("\t OUTDIR: output directory [default = same directory of the root file] \n"); exit(1); } if(argc>=2){ for(int i=1; i