1 #ifndef __JDB_JSELECTORSUPPORTKIT__
2 #define __JDB_JSELECTORSUPPORTKIT__
16 namespace JDATABASE {};
17 namespace JPP {
using namespace JDATABASE; }
30 template<class T, class JTable_t = T, bool is_same = JConversion<T, JTable_t>::is_same>
48 this->add(&T::LOCATIONID, locID);
58 this->add(&T::LOGIN, login);
77 this->add(&T::SERIALNUMBER,
id);
89 this->add(&T::OID, detid);
108 this->add(&T::DETID,
id);
122 this->add(&T::DETID,
id);
146 this->add(&T::DETID, detid);
147 this->add(
"MINRUN", minrun);
148 this->add(
"MAXRUN", maxrun);
167 this->add(&T::SUBSYSTEMID, ssid);
190 this->add(&T::DETID, detid);
191 this->add(
"MINRUN", minrun);
192 this->add(
"MAXRUN", maxrun);
211 this->add(&T::DETOID, detoid);
230 this->add(&T::DETID,
id);
241 this->add(&T::DETOID, detoid);
264 this->add(&T::DETID, detid);
265 this->add(
"MINRUN", minrun);
266 this->add(
"MAXRUN", maxrun);
307 const std::string& rs_oid)
309 this->add(&T::DETID, detid);
310 this->add(&T::RS_OID, rs_oid);
331 this->add(&T::DETOID, detid);
getSelector(const int id, const int run)
Get selector for the JRuns table based on the detector serial number and run number.
getSelector(const int id)
Get selector for the JDetectorIntegration table based on the serial number.
Wrapper class to read string until end-of-line.
Template class test for polymorphism.
This file is automatically created by make.
getSelector(const JDBString &locID)
Get selector for the JPersons table based on the location ID.
Auxiliary class for specifying selection of database data.
getSelector(const std::string &detoid)
Get selector for the JCLBMap table based on the detector identifier and a run range.
getSelector(const std::string &detoid)
Get selector for the JDetectorIntegration table based on the detector identifier and a run range...
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 &login)
Get selector for the JPersons 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 &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 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...
getSelector(const std::string &detid)
Get selector for the JDetectors table based on the object identifier.
getSelector(const int id)
Get selector for the JRuns table based on the detector serial number.
getSelector(const std::string &ssid)
Get selector for the JAllParams table based on the sub-system identifier.
getSelector(const int id)
Get selector for the JDetectors table based on the serial number.
getSelector(const std::string &detid, const std::string &rs_oid)
Get selector for the JRunSetupParams 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 JRunSummaryNumbers table based on the detector identifier and a run range...
Auxiliary data structure for data quality.