Go to the documentation of this file. 1 #ifndef __JDB_JSELECTORSUPPORTKIT__
2 #define __JDB_JSELECTORSUPPORTKIT__
30 template<class T, class JTable_t = T, bool is_same = JConversion<T, JTable_t>::is_same>
47 this->add(&T::SERIALNUMBER,
id);
59 this->add(&T::OID, detid);
78 this->add(&T::DETID,
id);
92 this->add(&T::DETID,
id);
93 this->add(&T::RUN, run);
116 this->add(&T::DETID, detid);
117 this->add(
"MINRUN", minrun);
118 this->add(
"MAXRUN", maxrun);
137 this->add(&T::SUBSYSTEMID, ssid);
160 this->add(&T::DETID, detid);
161 this->add(
"MINRUN", minrun);
162 this->add(
"MAXRUN", maxrun);
181 this->add(&T::DETOID, detoid);
204 this->add(&T::DETID, detid);
205 this->add(
"MINRUN", minrun);
206 this->add(
"MAXRUN", maxrun);
247 const std::string& rs_oid)
249 this->add(&T::DETID, detid);
250 this->add(&T::RS_OID, rs_oid);
271 this->add(&T::DETOID, detid);
272 this->add(&T::RUN, run);
getSelector(const int id)
Get selector for the JRuns table based on the detector serial number.
getSelector(const std::string &detoid)
Get selector for the JCLBMap table based on the detector identifier and a run range.
Template class test for polymorphism.
getSelector(const std::string &detid, const int run)
Get selector for the JPMTHVRunSettings table based on the detector and run number.
getSelector(const std::string &detid, const int minrun, const int maxrun)
Get selector for the JRunSummaryNumbers table based on the detector identifier and a run range.
Auxiliary classes and methods for database I/O.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
getSelector(const std::string &detid, const int minrun, const int maxrun)
Get selector for the JToAshort table based on the detector identifier and a run range.
getSelector(const std::string &ssid)
Get selector for the JAllParams table based on the sub-system identifier.
getSelector(const std::string &detid)
Get selector for the JDetectors table based on the object identifier.
getSelector(const int id)
Get selector for the JDetectors table based on the serial number.
Template definition for getting table specific selector.
getSelector(const std::string &detid, const int minrun, const int maxrun)
Get selector for the JToAshort table based on the detector identifier and a run range.
getSelector(const std::string &detid, const int minrun, const int maxrun)
Get selector for the JRunSummaryNumbers table based on the detector identifier and a run range.
Auxiliary data structure for data quality.
getSelector(const std::string &detid, const std::string &rs_oid)
Get selector for the JRunSetupParams table based on the detector and run-setup identifier.
Auxiliary class for specifying selection of database data.
getSelector(const int id, const int run)
Get selector for the JRuns table based on the detector serial number and run number.