26 const std::string& value)
31 const JEquationParameters
parameters(
":",
"\n",
"",
"");
34 JRootReadableClass cls(*
this);
36 const string buffer =
replace(key,
"-",
"_");
38 for (string::size_type il = 0, ir = 0; ir != string::npos && cls.is_valid(); il = ir + 1) {
39 ir = buffer.substr(il).find(parameters.getDefaultDivision());
40 cls = cls.find(buffer.substr(il, ir - il).c_str());
45 JRedirectString redirect(reader, value);
47 reader.getObject(cls);
68 bool has_next =
false;
73 catch(
const exception& error) {
79 if (quality.
run != -1) {
83 }
else if (!has_next) {
TString replace(const TString &target, const TRegexp ®exp, const T &replacement)
Replace regular expression in input by given replacement.
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
ASCII I/O of objects with ROOT dictionary.
friend std::istream & operator>>(std::istream &in, JRunQuality &object)
Read quality data from input stream.
T & getInstance(const T &object)
Get static instance from temporary object.
void put(const std::string &key, const std::string &value)
Put value at given key.
static const JDetectorsHelper & getDetector
Function object for mapping serial number and object identifier of detectors.
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null
Auxiliary data structure for data quality.