30 int main(
int argc, 
char **argv)
 
   40     JParser<> zap(
"Auxiliary program to print result from ROOT histograms."\
 
   41                   "\nNote that the formula may contain method names of the specified object.");
 
   43     zap[
'f'] = 
make_field(inputFile,  
"<input file>:<object name>");
 
   48   catch(
const exception &error) {
 
   49     FATAL(error.what() << endl);
 
   54     DEBUG(
"Input: " << *input << endl);
 
   59       ERROR(
"File: " << input->getFullFilename() << 
" not opened." << endl);
 
   63     const TRegexp regexp(input->getObjectName());
 
   65     TIter iter(dir->GetListOfKeys());
 
   67     for (TKey* key; (key = (TKey*) iter.Next()) != NULL; ) {
 
   69       const TString tag(key->GetName());
 
   71       DEBUG(
"Key: " << tag << 
" match = " << tag.Contains(regexp) << endl);
 
   75       if (tag.Contains(regexp)) {
 
   77         TObject* 
object = key->ReadObj();
 
   79         cout << 
object->GetTitle() << endl;