main.C
Go to the documentation of this file.
1 #include "readNtuple.h"
2 #include <iostream>
3 #include <fstream>
4 using namespace std;
5 int main(int argc, char** argv)
6 {
7  if(argc != 4){
8  cout<<"********************************************************"<<endl;
9  cout<<" usage : "<<argv[0]<<" input_file nu_type interaction_type"<<endl;
10  cout<<" nu_type: ccnumu, ccnue, ccnumubar, ccnuebar"<<endl;
11  cout<<" interaction_type: all, qe, res, dis, mec, coh"<<endl;
12  cout<<" please use lower case for all options !!! "<<endl;
13  cout<<"********************************************************"<<endl;
14  return 1;
15  }
16 
17  readNtuple t(argv[1],argv[2],argv[3]);
18  t.Loop(argv[2],argv[3]);
19  return 0;
20 }
21 
22 
int main(int argc, char **argv)
Definition: main.C:5
OStream cout
Definition: OStream.cxx:6
virtual void Loop(const char *TypeNameNu, const char *TypeNameInt)
Definition: readNtuple.C:18