171     JParser<> zap(
"Auxiliary program to print ROOT TTree information.");
 
  180   catch(
const exception &error) {
 
  181     FATAL(error.what() << endl);
 
  184   gErrorIgnoreLevel = kFatal;
 
  188   int number_of_errors = 0;
 
  192     TFile* file = TFile::Open(file_name->c_str());
 
  198       cerr << *file_name << 
" not opened." << endl;
 
  204       cout << *file_name << endl;
 
  207     TIter iter(file->GetListOfKeys(), kIterBackward);
 
  209     for (TKey* _key; (_key = (TKey*) iter.Next()) != NULL; ) {
 
  211       TKey* p = 
dynamic_cast<TKey*
>(file->GetListOfKeys()->Before(_key));
 
  213       if (p == NULL || strcmp(_key->GetName(), p->GetName()) != 0) {                     
 
  215         tb = tree_info(
dynamic_cast<TTree*
>(_key->ReadObj()));
 
  217         if (tb.is_valid() && ta == tb) {
 
  222             format.
write(cout, key) << 
' ';
 
  232   return (number_of_errors == 0 ? 0 : 1);
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
 
#define gmake_property(A)
macros to convert (template) parameter to JPropertiesElement object
 
Utility class to parse parameter values.
 
std::ostream & write(std::ostream &out) const
Write the current parameter values.
 
Utility class to parse command line options.
 
const array_type< JKey_t > & get_keys(const std::map< JKey_t, JValue_t, JComparator_t, JAllocator_t > &data)
Method to create array of keys of map.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
static JGlob getFilenames
Function object to get list of files for given pattern.
 
Empty structure for specification of parser element that is initialised (i.e. does not require input)...