1 #ifndef __JDB_JSELECTORSUPPORTKIT__
2 #define __JDB_JSELECTORSUPPORTKIT__
16 namespace JDATABASE {};
17 namespace JPP {
using namespace JDATABASE; }
32 template<class T, class JTable_t = T, bool is_same = JConversion<T, JTable_t>::is_same>
59 this->add(&T::LOGIN, login);
78 this->add(&T::SERIALNUMBER,
id);
89 this->add(&T::OID, detid);
138 this->add(&
T::RUN, minrun, Selector::RelOp::GreaterEqual);
139 this->add(&
T::RUN, maxrun, Selector::RelOp::LessEqual);
163 this->add(
"MINRUN", minrun);
164 this->add(
"MAXRUN", maxrun);
183 this->add(&T::SUBSYSTEMID, ssid);
207 this->add(
"MINRUN", minrun);
208 this->add(
"MAXRUN", maxrun);
227 this->add(&T::DETOID, detoid);
257 this->add(&T::DETOID, detoid);
281 this->add(
"MINRUN", minrun);
282 this->add(
"MAXRUN", maxrun);
326 this->add(&T::RS_OID, rs_oid);
347 this->add(&T::DETOID, detoid);
348 this->add(&T::CG_NAME, cg_name);
382 this->add(&T::DETOID, detoid);
419 this->add(&T::CLBID, -1, Selector::RelOp::Different);
438 this->add(&T::PBS, pbs);
462 this->add(
"MINRUN", minrun);
463 this->add(
"MAXRUN", maxrun);
482 this->add(&T::DETOID, detoid);
503 this->add(&T::DetOID, detoid);
504 this->add(&T::OperationId, operation);
525 this->add(&T::DetOID, detoid);
540 this->add(&T::DetOID, detoid);
542 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 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.