59int main(
int argc,
char **argv)
71 JParser<> zap(
"Auxiliary program to convert 2D histograms to PDFs.");
73 zap[
'f'] =
make_field(inputFile,
"<input file>:<object name>");
80 catch(
const exception &error) {
94 ERROR(
"File: " << input->getFullFilename() <<
" not opened." <<
endl);
104 const TString tag(key->GetName());
110 if (tag.Contains(
regexp) && isTObject(key)) {
112 TObject*
object = key->ReadObj();
114 TH3*
h3 =
dynamic_cast<TH3*
>(object);
119 ERROR(
"Incompatible object " << object->GetName() <<
endl);
129 convertToPDF(**
h3, option);
int main(int argc, char **argv)
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
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).