StRoot
1
|
Public Member Functions | |
StEmcDbHandler () | |
Class ctor. More... | |
virtual | ~StEmcDbHandler () |
Class dtor. More... | |
StDbTable * | getDbTable () |
std::vector< std::string > | getTimeStampList (const char *beginTime, const char *endTime) |
void | setTableNode (const char *node="Calibrations_emc") |
void | setTableName (const char *name) |
void | setTimeStamp (const char *stamp="2030-01-01 00:00:00") |
void | setMaxEntryTime (const char *stamp="2030-01-01 00:00:00") |
void | setFlavor (const char *flavor="ofl") |
void | writeToDb (char *data) |
Static Public Member Functions | |
static std::string | timeToSqlTime (const char *apiTime) |
Protected Attributes | |
std::string | mFlavor |
flavor for BEMC tables | |
std::string | mTableNode |
Database node for EMC tables. | |
std::string | mTableName |
EMC database table name, according to input. | |
std::string | mTimeStamp |
EMC database table time stamp. | |
std::string | mMaxTime |
EMC database max entry time. | |
std::vector< std::string > | mTimeStampList |
Time stamp list of specified EMC database table. | |
Definition at line 31 of file StEmcDbHandler.h.
StEmcDbHandler::StEmcDbHandler | ( | ) |
|
virtual |
StDbTable * StEmcDbHandler::getDbTable | ( | ) |
Retrieving of specified database Emc Table
Definition at line 39 of file StEmcDbHandler.cxx.
References StDbManager::Instance(), mFlavor, mMaxTime, mTableName, mTableNode, and mTimeStamp.
Referenced by StBemcTablesWriter::loadTables().
std::vector< std::string > StEmcDbHandler::getTimeStampList | ( | const char * | beginTime, |
const char * | endTime | ||
) |
Return time stamp list of an EMC table within specified limits
Definition at line 70 of file StEmcDbHandler.cxx.
References StDbManager::Instance(), mFlavor, mMaxTime, mTableName, mTableNode, and mTimeStampList.