106 const string& keyExplainer =
MAKE_STRING(
"Summary information:" << endl << listOfKeys);
110 properties[*i] = selections[*i];
113 JParser<> zap(
"Auxiliary program to print histogram comparison results.");
115 zap[
'f'] =
make_field(inputFile,
"Histogram comparison ASCII output file");
122 catch (
const exception &error) {
123 FATAL(error.what() << endl);
126 ifstream in(inputFile);
128 for (
string buffer;
getline(in, buffer); ) {
130 istringstream iss(buffer);
133 if (iss.peek() == (
int) COMMENT) {
141 print(cout, summary, keys.cbegin(), keys.cend(),
' ',
false);
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
#define MAKE_STRING(A)
Make string.
Class dedicated to standardize the title of the graphical objects produced by the JTest_t() derived c...
JProperties getProperties(const JEquationParameters &equation=JTestSummary::getEquationParameters())
Get properties of this class.
Utility class to parse parameter values.
Utility class to parse command line options.
std::ostream & print(std::ostream &out, const JTestSummary &summary, const char delimiter=' ', const bool useColors=true)
Print test summary.
std::istream & read(std::istream &in, JTestSummary &summary, const char delimiter=' ')
Read test summary.
JProperties & getProperties(T &object, const JEquationParameters ¶meters=JEquationParameters(), const int debug=1)
Get properties of a given object.
const array_type< JKey_t > & get_keys(const std::map< JKey_t, JValue_t, JComparator_t, JAllocator_t > &data)
Method to create array of keys of map.
std::istream & getline(std::istream &in, JString &object)
Read string from input stream until end of line.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
static const char WILDCARD
Auxiliary data structure for return type of make methods.
Empty structure for specification of parser element that is initialised (i.e. does not require input)...