16int main(
int argc,
char** argv)
29 JParser<> zap(
"Program to test methods of `JROOT::JBinsMap`");
37 catch(
const exception& error) {
45 if (i->second.find(
'z') != i->second.cend()) {
47 }
else if (i->second.find(
'y') != i->second.cend()) {
49 }
else if (i->second.find(
'x') != i->second.cend()) {
64 DEBUG (p->GetXaxis()->GetBinLowEdge(n) <<
" =?= " <<
Xbins[n-1] <<
endl);
65 ASSERT(p->GetXaxis()->GetBinLowEdge(n) ==
Xbins[n-1]);
75 DEBUG (p->GetYaxis()->GetBinLowEdge(n) <<
" =?= " <<
Ybins[n-1] <<
endl);
76 ASSERT(p->GetYaxis()->GetBinLowEdge(n) ==
Ybins[n-1]);
86 DEBUG (p->GetZaxis()->GetBinLowEdge(n) <<
" =?= " <<
Zbins[n-1] <<
endl);
87 ASSERT(p->GetZaxis()->GetBinLowEdge(n) ==
Zbins[n-1]);
93 FATAL(
"Unexpected dimensionality for histogram " << p->GetName());
int main(int argc, char **argv)
General purpose messaging.
#define DEBUG(A)
Message macros.
#define ASSERT(A,...)
Assert macro.
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.
Class for I/O of variable-width binning of multiple histograms.
std::unique_ptr< T > getHistogram(const std::string &name) const
Get histogram with binning corresponding to a given histogram name.
map_type::const_iterator const_iterator
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).