![]() |
Project
|
#include <RunManager.h>
Inherits o2::ctp::ctpCCDBManager.
Public Member Functions | |
CTPRunManager ()=default | |
void | init () |
int | loadRun (const std::string &cfg) |
int | startRun (const std::string &cfg) |
int | stopRun (uint32_t irun, long timeStamp) |
int | addScalers (uint32_t irun, std::time_t time, bool start=0) |
int | processMessage (std::string &topic, const std::string &message) |
void | printActiveRuns () const |
int | loadScalerNames () |
int | getNRuns () |
void | setBKHost (std::string host) |
void | setQCWritePeriod (int period) |
uint64_t | checkOverflow (uint32_t lcnt0, uint32_t lcnt1, uint64_t lcntcor) |
void | printCounters () |
![]() | |
ctpCCDBManager ()=default | |
int | saveRunScalersToCCDB (CTPRunScalers &scalers, long timeStart, long timeStop) |
int | saveRunScalersToQCDB (CTPRunScalers &scalers, long timeStart, long timeStop) |
int | saveRunConfigToCCDB (CTPConfiguration *cfg, long timeStart) |
CTPRunScalers | getScalersFromCCDB (long timestamp, std::string, bool &ok) |
void | setCCDBPathConfig (std::string path) |
void | setCCDBPathScalers (std::string path) |
void | setQCDBPathScalers (std::string path) |
Additional Inherited Members | |
![]() | |
static CTPConfiguration | getConfigFromCCDB (long timestamp, std::string run, bool &ok) |
static CTPConfiguration | getConfigFromCCDB (long timestamp, std::string run) |
static void | setCCDBHost (std::string host) |
static void | setQCDBHost (std::string host) |
![]() | |
ClassDefNV (ctpCCDBManager, 1) | |
![]() | |
std::string | mCCDBPathCTPScalers = "CTP/Calib/Scalers" |
std::string | mCCDBPathCTPConfig = "CTP/Config/Config" |
std::string | mQCDBPathCTPScalers = "qc/CTP/Scalers" |
![]() | |
static std::string | mCCDBHost = "http://o2-ccdb.internal" |
Database constants. | |
static std::string | mQCDBHost = "http://ali-qcdb.cern.ch:8083" |
Definition at line 44 of file RunManager.h.
|
default |
int CTPRunManager::addScalers | ( | uint32_t | irun, |
std::time_t | time, | ||
bool | start = 0 |
||
) |
Definition at line 147 of file RunManager.cxx.
uint64_t o2::ctp::CTPRunManager::checkOverflow | ( | uint32_t | lcnt0, |
uint32_t | lcnt1, | ||
uint64_t | lcntcor | ||
) |
int CTPRunManager::getNRuns | ( | ) |
Definition at line 340 of file RunManager.cxx.
void CTPRunManager::init | ( | ) |
Run Manager to manage Config and Scalers
Definition at line 72 of file RunManager.cxx.
int CTPRunManager::loadRun | ( | const std::string & | cfg | ) |
Definition at line 91 of file RunManager.cxx.
int CTPRunManager::loadScalerNames | ( | ) |
Definition at line 328 of file RunManager.cxx.
void CTPRunManager::printActiveRuns | ( | ) | const |
Definition at line 316 of file RunManager.cxx.
void CTPRunManager::printCounters | ( | ) |
Definition at line 350 of file RunManager.cxx.
int CTPRunManager::processMessage | ( | std::string & | topic, |
const std::string & | message | ||
) |
Definition at line 210 of file RunManager.cxx.
|
inline |
Definition at line 57 of file RunManager.h.
Definition at line 58 of file RunManager.h.
int CTPRunManager::startRun | ( | const std::string & | cfg | ) |
Definition at line 127 of file RunManager.cxx.
Definition at line 131 of file RunManager.cxx.