11 #ifndef StEmcDbHandler_HH
12 #define StEmcDbHandler_HH
23 #include "StDbLib/StDbManager.hh"
24 #include "StDbLib/StDbConfigNode.hh"
25 #include "StDbLib/StDbTable.h"
26 #include "StDbLib/StDataBaseI.hh"
38 std::vector<std::string> getTimeStampList(
const char * beginTime,
const char * endTime);
40 void setTableNode(
const char* node =
"Calibrations_emc") { mTableNode = node; }
41 void setTableName(
const char* name) { mTableName = name; }
42 void setTimeStamp(
const char*
stamp =
"2030-01-01 00:00:00") { mTimeStamp =
stamp; }
43 void setMaxEntryTime(
const char*
stamp =
"2030-01-01 00:00:00") { mMaxTime =
stamp; }
44 void setFlavor(
const char* flavor =
"ofl") { mFlavor = flavor; }
46 void writeToDb(
char*
data);
48 static std::string timeToSqlTime(
const char* apiTime);
std::string mMaxTime
EMC database max entry time.
std::string mFlavor
flavor for BEMC tables
std::string mTableName
EMC database table name, according to input.
std::string mTimeStamp
EMC database table time stamp.
std::string mTableNode
Database node for EMC tables.
std::vector< std::string > mTimeStampList
Time stamp list of specified EMC database table.