95 int main(
int argc,
char **argv)
107 JParser<> zap(
"Auxiliary program to print ROOT TChain information.");
114 catch(
const exception &error) {
115 FATAL(error.what() << endl);
122 JChainList inspector(type);
124 for (JChainList::iterator i = inspector.begin(); i != inspector.end(); ++i) {
126 (*i)->Add(file->c_str());
130 DEBUG(
"Number of files " << inputFile.size() << endl);
132 gErrorIgnoreLevel = kFatal;
134 for (JChainList::iterator i = inspector.begin(); i != inspector.end(); ++i) {
135 cout << setw(24) << left << (*i)->GetName() <<
' '
136 << setw(10) << right << (*i)->GetEntries() << endl;
Utility class to parse command line options.
ROOT TTree parameter settings of various packages.
Test availability of TTree parameters for given class.
Auxiliary class for a type holder.
Auxiliary class for template TChain reading.
Auxiliary template class for type bool.
TChain reading for template data type.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
General purpose messaging.
JObject_t & for_each(JObject_t &object, JType< JTypeList< JHead_t, JTail_t > > typelist)
For each data type method.
JROOT::JTreeParameters getTreeParameters(JLANG::JType< JRECONSTRUCTION::JEvt >)
Get TTree parameters for given data type.
Utility class to parse command line options.
#define DEBUG(A)
Message macros.
int main(int argc, char *argv[])