15 int main(
int argc , 
char** argv){
 
   29   catch(
const exception &error) {
 
   30     ERROR(error.what() << endl);
 
   37     cout << 
" Now processing: " << *i << endl;
 
   38     TFile in(i->c_str() , 
"read");
 
   40     TIter iter(in.GetListOfKeys());
 
   42     for(TKey *key; (key = (TKey*) iter.Next()) != NULL; ){
 
   44       TH1* h = 
dynamic_cast<TH1*
>(key->ReadObj());
 
   48         map_type::iterator p = zmap.find(h->GetName());
 
   52           p = zmap.insert( make_pair( h->GetName(), (TH1*) h->Clone() )).first;
 
   61     for (map_type::iterator i = zmap.begin(); i != zmap.end(); ++i) {
 
   62       i->second->SetDirectory(0);
 
   68   TFile output(outFile.c_str() , 
"recreate") ;
 
   69   for (map_type::iterator i = zmap.begin(); i != zmap.end(); ++i) {
 
   71     TH1D* hist = (TH1D*) i->second;
 
int main(int argc, char **argv)
 
Utility class to parse command line options.
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
 
Utility class to parse command line options.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
std::map< int, range_type > map_type