CGEM BOSS 6.6.5.h
BESIII Offline Software System
|
#include <ConnectionDB.h>
Public Types | |
enum | eRet { RETOk = 0 , RETBadCnfFile = 1 , RETBadHost = 2 , RETNoConnect = 3 , RETWrongState = 4 , RETBadValue = 5 , RETMySQLError = 6 , RETNoSchemaMatch = 7 } |
enum | eLevel { LEVELProd = 1 , LEVELDev = 2 , LEVELTest = 4 , LEVELSuperseded = 8 } |
Used to form bit masks for dbs queries. More... | |
Public Member Functions | |
ConnectionDB () | |
Constructor keeps track of table of interest. | |
~ConnectionDB () | |
ConnectionDB::eRet | getReadSC_MagnetInfo (std::vector< double > ¤t, int runNo) |
ConnectionDB::eRet | getBeamEnergy (std::vector< double > &beamE, int runNo) |
Definition at line 13 of file ConnectionDB.h.
Used to form bit masks for dbs queries.
Enumerator | |
---|---|
LEVELProd | |
LEVELDev | |
LEVELTest | |
LEVELSuperseded |
Definition at line 36 of file ConnectionDB.h.
Enumerator | |
---|---|
RETOk | |
RETBadCnfFile | |
RETBadHost | |
RETNoConnect | |
RETWrongState | |
RETBadValue | |
RETMySQLError | |
RETNoSchemaMatch |
Definition at line 25 of file ConnectionDB.h.
FieldDBUtil::ConnectionDB::ConnectionDB | ( | ) |
Constructor keeps track of table of interest.
Definition at line 24 of file ConnectionDB.cxx.
|
inline |
Definition at line 23 of file ConnectionDB.h.
ConnectionDB::eRet FieldDBUtil::ConnectionDB::getBeamEnergy | ( | std::vector< double > & | beamE, |
int | runNo ) |
Definition at line 77 of file ConnectionDB.cxx.
Referenced by MagneticFieldSvc::init_params().
ConnectionDB::eRet FieldDBUtil::ConnectionDB::getReadSC_MagnetInfo | ( | std::vector< double > & | current, |
int | runNo ) |
Definition at line 32 of file ConnectionDB.cxx.
Referenced by MagneticFieldSvc::init_params().