BOSS 7.0.9
BESIII Offline Software System
|
#include <ConnectionProvider.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 | |
ConnectionProvider () | |
Constructor keeps track of table of interest. | |
~ConnectionProvider () | |
ConnectionProvider::eRet | getReadLumInfo (std::string &Lum, int runNo, std::string SftVer, std::string ParVer, std::string BossRelease) |
ConnectionProvider::eRet | getReadBunchInfo (std::vector< std::string > &bunch, int runNo, std::string SftVer, std::string ParVer, std::string BossRelease) |
ConnectionProvider::eRet | getReadTrgTableInfo (std::vector< std::string > &trgTable, int runNo) |
ConnectionProvider::eRet | getReadBackgroundInfo (std::vector< std::string > &fileInfor, int runNo) |
ConnectionProvider::eRet | getReadBackgroundInfo (std::vector< std::string > &fileInfor, std::string query) |
ConnectionProvider::eRet | getReadTofThreshInfo (std::vector< std::string > &tofThresh, int runNo) |
ConnectionProvider::eRet | getRunInfo (std::vector< std::string > &runInfo, int runNo) |
ConnectionProvider::eRet | getLumCurvePar (std::string &runTotalTime, std::string &tau_value, int runNo, std::string SftVer, std::string ParVer, std::string BossRelease) |
ConnectionProvider::eRet | getEmcGain (std::vector< double > &emcGain, int runNo) |
std::vector< std::string > | split (const std::string &src, std::string delimit, std::string null_subst="") |
bool | getcal (int runNo, std::string ids) |
ConnectionProvider::eRet | getTrgConfigInfo (int runNo) |
int | getEtotDataSteps () |
int | getVthBEtotH () |
int | getVthEEtotH () |
int | getVthEtotL () |
int | getVthEtotM () |
int | getVthBLZ () |
int | getVthDiffB () |
int | getVthDiffE () |
int | getVthBalBLK () |
int | getVthBalEEMC () |
int | getVthDiffMin () |
Definition at line 20 of file ConnectionProvider.h.
Used to form bit masks for dbs queries.
Enumerator | |
---|---|
LEVELProd | |
LEVELDev | |
LEVELTest | |
LEVELSuperseded |
Definition at line 42 of file ConnectionProvider.h.
Enumerator | |
---|---|
RETOk | |
RETBadCnfFile | |
RETBadHost | |
RETNoConnect | |
RETWrongState | |
RETBadValue | |
RETMySQLError | |
RETNoSchemaMatch |
Definition at line 31 of file ConnectionProvider.h.
RealDBUtil::ConnectionProvider::ConnectionProvider | ( | ) |
Constructor keeps track of table of interest.
Definition at line 144 of file ConnectionProvider.cxx.
RealDBUtil::ConnectionProvider::~ConnectionProvider | ( | ) |
Definition at line 153 of file ConnectionProvider.cxx.
bool RealDBUtil::ConnectionProvider::getcal | ( | int | runNo, |
std::string | ids | ||
) |
Definition at line 47 of file ConnectionProvider.cxx.
Referenced by getEmcGain().
ConnectionProvider::eRet RealDBUtil::ConnectionProvider::getEmcGain | ( | std::vector< double > & | emcGain, |
int | runNo | ||
) |
Definition at line 484 of file ConnectionProvider.cxx.
Referenced by RealizationSvc::readDB().
|
inline |
Definition at line 67 of file ConnectionProvider.h.
Referenced by RealizationSvc::readDB().
ConnectionProvider::eRet RealDBUtil::ConnectionProvider::getLumCurvePar | ( | std::string & | runTotalTime, |
std::string & | tau_value, | ||
int | runNo, | ||
std::string | SftVer, | ||
std::string | ParVer, | ||
std::string | BossRelease | ||
) |
Definition at line 239 of file ConnectionProvider.cxx.
Referenced by RealizationSvc::readDB().
ConnectionProvider::eRet RealDBUtil::ConnectionProvider::getReadBackgroundInfo | ( | std::vector< std::string > & | fileInfor, |
int | runNo | ||
) |
Definition at line 618 of file ConnectionProvider.cxx.
Referenced by RealizationSvc::getBgFileName(), and RealizationSvc::readDB().
ConnectionProvider::eRet RealDBUtil::ConnectionProvider::getReadBackgroundInfo | ( | std::vector< std::string > & | fileInfor, |
std::string | query | ||
) |
Definition at line 660 of file ConnectionProvider.cxx.
ConnectionProvider::eRet RealDBUtil::ConnectionProvider::getReadBunchInfo | ( | std::vector< std::string > & | bunch, |
int | runNo, | ||
std::string | SftVer, | ||
std::string | ParVer, | ||
std::string | BossRelease | ||
) |
Definition at line 317 of file ConnectionProvider.cxx.
Referenced by RealizationSvc::readDB().
ConnectionProvider::eRet RealDBUtil::ConnectionProvider::getReadLumInfo | ( | std::string & | Lum, |
int | runNo, | ||
std::string | SftVer, | ||
std::string | ParVer, | ||
std::string | BossRelease | ||
) |
Definition at line 156 of file ConnectionProvider.cxx.
Referenced by RealizationSvc::getLuminosity().
ConnectionProvider::eRet RealDBUtil::ConnectionProvider::getReadTofThreshInfo | ( | std::vector< std::string > & | tofThresh, |
int | runNo | ||
) |
Definition at line 699 of file ConnectionProvider.cxx.
Referenced by RealizationSvc::readDB().
ConnectionProvider::eRet RealDBUtil::ConnectionProvider::getReadTrgTableInfo | ( | std::vector< std::string > & | trgTable, |
int | runNo | ||
) |
Definition at line 413 of file ConnectionProvider.cxx.
Referenced by RealizationSvc::readDB().
ConnectionProvider::eRet RealDBUtil::ConnectionProvider::getRunInfo | ( | std::vector< std::string > & | runInfo, |
int | runNo | ||
) |
Definition at line 754 of file ConnectionProvider.cxx.
Referenced by RealizationSvc::readDB().
ConnectionProvider::eRet RealDBUtil::ConnectionProvider::getTrgConfigInfo | ( | int | runNo | ) |
Definition at line 568 of file ConnectionProvider.cxx.
Referenced by RealizationSvc::readDB().
|
inline |
Definition at line 75 of file ConnectionProvider.h.
Referenced by RealizationSvc::readDB().
|
inline |
Definition at line 76 of file ConnectionProvider.h.
Referenced by RealizationSvc::readDB().
|
inline |
Definition at line 68 of file ConnectionProvider.h.
Referenced by RealizationSvc::readDB().
|
inline |
Definition at line 72 of file ConnectionProvider.h.
Referenced by RealizationSvc::readDB().
|
inline |
Definition at line 73 of file ConnectionProvider.h.
Referenced by RealizationSvc::readDB().
|
inline |
Definition at line 74 of file ConnectionProvider.h.
Referenced by RealizationSvc::readDB().
|
inline |
Definition at line 77 of file ConnectionProvider.h.
Referenced by RealizationSvc::readDB().
|
inline |
Definition at line 69 of file ConnectionProvider.h.
Referenced by RealizationSvc::readDB().
|
inline |
Definition at line 70 of file ConnectionProvider.h.
Referenced by RealizationSvc::readDB().
|
inline |
Definition at line 71 of file ConnectionProvider.h.
Referenced by RealizationSvc::readDB().
std::vector< std::string > RealDBUtil::ConnectionProvider::split | ( | const std::string & | src, |
std::string | delimit, | ||
std::string | null_subst = "" |
||
) |
Definition at line 27 of file ConnectionProvider.cxx.
Referenced by getcal().