1 #ifndef __JDB_JDBSUPPORTKIT__ 
    2 #define __JDB_JDBSUPPORTKIT__ 
   65         return this->
run      < 
object.run;
 
   67         return this->detector < 
object.detector;
 
   79         return this->
run      < 
object.RUN;
 
   81         return this->
detector < 
object.DETID;
 
   93         return this->
run      > 
object.RUN;
 
   95         return this->
detector > 
object.DETID;
 
  107         return this->
run      < 
object.run;
 
  109         return this->detector < 
object.detector;
 
  121         return this->
run      > 
object.run;
 
  123         return this->detector > 
object.detector;
 
  160         if (i->find(
to_string(version)) != string::npos) {
 
  165       THROW(
JValueOutOfRange, 
"JDBTestTypesTuneHV::operator(): No HV-tuning database test type corresponding to given version number \'" << version << 
"\'.");
 
  181         if (i->compare(testType) == 0) {
 
  183           const int pos = i->find(
'v') + 1;
 
  185           return stoi(i->substr(pos));
 
  189       THROW(
JValueOutOfRange, 
"JDBTestTypesTuneHV::operator(): Given HV-tuning database test type \'" << testType << 
"\' is invalid.");
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
 
Exception for accessing a value in a collection that is outside of its range.
 
Auxiliary classes and methods for database I/O.
 
JEEP::JVersion JDBAPIVersion
 
static JDBTestTypesTuneHV & getDBVersionTuneHV
Function object for looking up the HV-tuning database version number corresponding to a specific test...
 
JDBTestTypesTuneHV getDBTestTypeTuneHV
Function object for looking up the HV-tuning database test type corresponding to a specific version n...
 
std::string to_string(const T &value)
Convert value to string.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Table listing HV-tuning database test types.
 
std::set< std::string > DBTestTypesTuneHV
 
const int operator()(const std::string &testType) const
Get version number corresponding to given HV-tuning DB test type.
 
const std::string & operator()(const int version) const
Get HV-tuning DB test type corresponding to given version number.
 
JDBTestTypesTuneHV()
Constructor.
 
Auxiliary data structure for data quality.
 
Auxiliary class for detector/run comparisons.
 
bool more(const JRuns &object) const
More-than method.
 
bool less(const JRunQuality &object) const
Less-than method.
 
bool more(const JRunQuality &object) const
More-than method.
 
JRun_t(const int detector, const int run)
Constructor.
 
bool less(const JRun_t &object) const
Less-than method.
 
bool less(const JRuns &object) const
Less-than method.
 
Auxiliary data structure for general purpose version number.
 
Template definition of auxiliary base class for comparison of data structures.