1 #ifndef __JDB_JSELECTORSUPPORTKIT__
2 #define __JDB_JSELECTORSUPPORTKIT__
34 template<class T, class JTable_t = T, bool is_same = JConversion<T, JTable_t>::is_same>
51 this->add(&T::LOCATIONID, locID);
61 this->add(&T::LOGIN, login);
80 this->add(&T::SERIALNUMBER,
id);
91 this->add(&T::OID, detid);
110 this->add(&T::DETID,
id);
123 this->add(&T::DETID,
id);
124 this->add(&T::RUN, run);
139 this->add(&T::DETID,
id);
140 this->add(&T::RUN, minrun, Selector::RelOp::GreaterEqual);
141 this->add(&T::RUN, maxrun, Selector::RelOp::LessEqual);
164 this->add(&T::DETID, detid);
165 this->add(
"MINRUN", minrun);
166 this->add(
"MAXRUN", maxrun);
185 this->add(&T::SUBSYSTEMID, ssid);
208 this->add(&T::DETID, detid);
209 this->add(
"MINRUN", minrun);
210 this->add(
"MAXRUN", maxrun);
229 this->add(&T::DETOID, detoid);
248 this->add(&T::DETID,
id);
259 this->add(&T::DETOID, detoid);
282 this->add(&T::DETID, detid);
283 this->add(
"MINRUN", minrun);
284 this->add(
"MAXRUN", maxrun);
325 const std::string& rs_oid)
327 this->add(&T::DETID, detid);
328 this->add(&T::RS_OID, rs_oid);
347 const std::string& cg_name)
349 this->add(&T::DETOID, detoid);
350 this->add(&T::CG_NAME, cg_name);
371 this->add(&T::DETID,
id);
372 this->add(&T::RUN, run);
384 this->add(&T::DETOID, detoid);
385 this->add(&T::RUN, run);
404 this->add(&T::DETID, detid);
421 this->add(&T::CLBID, -1, Selector::RelOp::Different);
440 this->add(&T::PBS, pbs);
463 this->add(&T::DETID, detid);
464 this->add(
"MINRUN", minrun);
465 this->add(
"MAXRUN", maxrun);
484 this->add(&T::DETOID, detoid);
503 this->add(&T::DETOID, detoid);
522 const std::string& operation)
524 this->add(&T::DetOID, detoid);
525 this->add(&T::OperationId, operation);
546 this->add(&T::DetOID, detoid);
547 this->add(&T::Run, run);
561 this->add(&T::DetOID, detoid);
562 this->add(&T::Run, run);
563 this->add(&T::Ranking, ranking);
This file is automatically created by make.
Auxiliary class for specifying selection of database data.
Auxiliary classes and methods for database I/O.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Wrapper class to read string until end-of-line.
Product breakdown structure (PBS).
Auxiliary data structure for data quality.
getSelector(const std::string &detoid, const std::string &operation)
Get selector for the given table based on the detector and run number.
getSelector(const std::string &detoid, const int run)
Get selector for the given table based on the detector and run number.
getSelector(const std::string &detoid, const int run, const int ranking)
Get selector for the given table based on the detector and run number.
getSelector(const std::string &detoid)
Get selector for the given table based on the detector and run number.
getSelector(const int detid, const int minrun, const int maxrun)
Get selector for the given table based on the detector identifier and a run range.
getSelector(const std::string &ssid)
Get selector for the given table based on the sub-system identifier.
getSelector()
Get selector for the given table.
getSelector(const std::string &detoid)
Get selector for the given table based on the detector identifier.
getSelector(const std::string &detid, const int minrun, const int maxrun)
Get selector for the given table based on the detector identifier and a run range.
getSelector(const std::string &detoid)
Get selector for the given table based on the detector and run number.
getSelector(const int id)
Get selector for the given table based on the serial number.
getSelector(const std::string &detoid)
Get selector for the given table based on the detector identifier and a run range.
getSelector(const std::string &detid)
Get selector for the given table based on the object identifier.
getSelector(const int id)
Get selector for the given table based on the serial number.
getSelector(const int id, const int run)
Get selector for the given table based on the detector and run number.
getSelector(const std::string &detoid, const int run)
Get selector for the given table based on the detector and run number.
getSelector(const std::string &detoid, const std::string &cg_name)
Get selector for the given table based on the detector and run number.
getSelector(const std::string &login)
Get selector for the given table based on the login name.
getSelector(const JDBString &locID)
Get selector for the given table based on the location identifier.
getSelector(const std::string &detid, const int minrun, const int maxrun)
Get selector for the given 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 given table based on the detector identifier and a run range.
getSelector(const int id, const int run)
Get selector for the given table based on the detector serial number and run number.
getSelector(const int id, const int minrun, const int maxrun)
Get selector for the given table based on the detector serial number and run number.
getSelector(const int id)
Get selector for the given table based on the detector serial number.
getSelector(const std::string &detid, const std::string &rs_oid)
Get selector for the given table based on the detector and run-setup identifier.
getSelector(const std::string &detid, const int minrun, const int maxrun)
Get selector for the given table based on the detector identifier and a run range.
getSelector(const JPBS_t pbs)
Get selector for the given table based on the detector identifier.
getSelector(const int detid)
Get selector for the given table based on the detector identifier.
Template definition for getting table specific selector.
Template class test for polymorphism.