1 #ifndef __JDB_JSELECTORSUPPORTKIT__
2 #define __JDB_JSELECTORSUPPORTKIT__
18 namespace JDATABASE {};
19 namespace JPP {
using namespace JDATABASE; }
34 template<class T, class JTable_t = T, bool is_same = JConversion<T, JTable_t>::is_same>
61 this->add(&T::LOGIN, login);
80 this->add(&T::SERIALNUMBER,
id);
91 this->add(&T::OID, detid);
140 this->add(&
T::RUN, minrun, Selector::RelOp::GreaterEqual);
141 this->add(&
T::RUN, maxrun, Selector::RelOp::LessEqual);
165 this->add(
"MINRUN", minrun);
166 this->add(
"MAXRUN", maxrun);
185 this->add(&T::SUBSYSTEMID, ssid);
209 this->add(
"MINRUN", minrun);
210 this->add(
"MAXRUN", maxrun);
229 this->add(&T::DETOID, detoid);
259 this->add(&T::DETOID, detoid);
283 this->add(
"MINRUN", minrun);
284 this->add(
"MAXRUN", maxrun);
325 const std::string& rs_oid)
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);
384 this->add(&T::DETOID, detoid);
421 this->add(&T::CLBID, -1, Selector::RelOp::Different);
440 this->add(&T::PBS, pbs);
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);
561 this->add(&T::DetOID, detoid);
563 this->add(&T::Ranking, ranking);
set_variable LOCATIONID(getLocationID-L ${LOGIN}) if(($
getSelector(const int id, const int run)
Get selector for the given table based on the detector serial number 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)
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.
Wrapper class to read string until end-of-line.
getSelector(const std::string &detoid, const int run, const int ranking)
Get selector for the given table based on the detector and run number.
This file is automatically created by make.
getSelector()
Get selector for the given table.
getSelector(const JDBString &locID)
Get selector for the given table based on the location identifier.
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.
Auxiliary class for specifying selection of database data.
getSelector(const JPBS_t pbs)
Get selector for the given table based on the detector identifier.
getSelector(const std::string &detoid)
Get selector for the given table based on the detector identifier.
getSelector(const std::string &detoid)
Get selector for the given table based on the detector identifier and a run range.
getSelector(const std::string &login)
Get selector for the given table based on the login name.
do set_variable OUTPUT_DIRECTORY $WORKDIR T
Template class test for polymorphism.
then rm i $OUTPUT_FILE fi let RUN
getSelector(const std::string &detoid, const std::string &operation)
Get selector for the given table based on the detector and run number.
getSelector(const int detid)
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, const int run)
Get selector for the given table based on the detector and run number.
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 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 detector serial number.
getSelector(const std::string &ssid)
Get selector for the given table based on the sub-system identifier.
then error Missing CDF files error Run
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.
Product breakdown structure (PBS).
getSelector(const std::string &detoid)
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 int id)
Get selector for the given table based on the 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.
Template definition for getting table specific selector.
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.
Auxiliary data structure for data quality.