43 public std::vector< JSinglePointer<JAbstractTreeReader> >
96 int main(
int argc,
char **argv)
105 JParser<> zap(
"Auxiliary program to print ROOT TTree information.");
112 catch(
const exception &error) {
113 FATAL(error.what() << endl);
120 JTreeList inspector(typelist);
124 cout << *file << endl;
126 for (JTreeList::iterator i = inspector.begin(); i != inspector.end(); ++i) {
128 gErrorIgnoreLevel = kFatal;
130 if ((*i)->load(TFile::Open(file->c_str()))) {
131 cout << setw(24) << left << (**i)->GetName() <<
' '
132 << setw(32) << left << (*i)->getDictionary()->GetName() <<
' '
133 << setw(10) << right << (**i)->GetEntries() <<
' '
134 << setw( 6) << right << ((**i)->GetTotBytes() >> 20) <<
" [MB]" << endl;
Utility class to parse command line options.
ROOT TTree parameter settings.
Test availability of TTree parameters for given class.
Auxiliary class for a type holder.
TTree reading for template data type.
Auxiliary template class for type bool.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
General purpose messaging.
Auxiliary class for template TTree reading.
JObject_t & for_each(JObject_t &object, JType< JTypeList< JHead_t, JTail_t > > typelist)
For each data type method.
Utility class to parse command line options.
int main(int argc, char *argv[])