1 #ifndef __JDB_JSELECTORSUPPORTKIT__
2 #define __JDB_JSELECTORSUPPORTKIT__
9 #include "JDB/JDBTypes.hh"
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);
369 this->add(&T::DETOID, detoid);
406 this->add(&T::CLBID, -1, Selector::RelOp::Different);
425 this->add(&T::PBS, pbs);
449 this->add(
"MINRUN", minrun);
450 this->add(
"MAXRUN", maxrun);
469 this->add(&T::DETOID, detoid);
490 this->add(&T::DetOID, detoid);
491 this->add(&T::OperationId, operation);
512 this->add(&T::DetOID, detoid);
527 this->add(&T::DetOID, detoid);
529 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.
Template class test for polymorphism.
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
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 &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.