27int main(
int argc,
char **argv)
39 JParser<> zap(
"Auxiliary program to rename ROOT objects.");
41 zap[
'f'] =
make_field(inputFile,
"<input file>:<object name>");
48 catch(
const exception &error) {
62 ERROR(
"File: " << input->getFullFilename() <<
" not opened." <<
endl);
72 const TString tag(key->GetName());
78 if (tag.Contains(
regexp) && isTObject(key)) {
81 TString buffer = p->GetName();
83 buffer.ReplaceAll(rename.first.c_str(), rename.second.c_str());
85 DEBUG(p->GetName() <<
" -> " << buffer <<
endl);
General purpose messaging.
#define DEBUG(A)
Message macros.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
Template definition of a multi-dimensional oscillation probability interpolation table.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).