#include "TP.h" #include "TH2.h" #include "TStyle.h" #include "TCanvas.h" #include #include "TROOT.h" #include "TFile.h" #include "TMath.h" #include "TTree.h" #include "TObject.h" using namespace std; int main( int argc, char* argv[]) { int howMany = 0; const char *struttntu = "/CBNT/t3333"; // cout << "n. eventi" << endl; //cin >> howMany; if(argc >1){ /* char * nomedellaChain = new char[300] ; nomedellaChain = strncpy(nomedellaChain,argv[1],300); nomedellaChain = strncat(nomedellaChain, struttntu,300); cout <Add(nomedeiRootfiles); TTree * tree = chain; debug *susyT = new debug(tree); susyT->Loop(howMany); */ } else{ TP * t = new TP(); // rpc->Loop(howMany); t->Loop(); } cout<<"... Done check .root file!!"<