![]() |
Project
|
#include <RunManager.h>
Inherits o2::ctp::ctpCCDBManager.
Public Member Functions | |
| CTPRunManager ()=default | |
| void | init () |
| int | loadRun (const std::string &cfg) |
| int | setRunConfigBK (uint32_t runNumber, 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 () |
Public Member Functions inherited from o2::ctp::ctpCCDBManager | |
| ctpCCDBManager ()=default | |
| int | saveRunScalersToCCDB (CTPRunScalers &scalers, long timeStart, long timeStop) |
| int | saveRunScalersToQCDB (CTPRunScalers &scalers, long timeStart, long timeStop) |
| int | saveRunConfigToCCDB (CTPConfiguration *cfg, long timeStart) |
| int | saveSoxOrbit (uint32_t runNumber, uint32_t soxOrbit, long timeStart) |
| int | saveOrbitReset (long timeStamp) |
| int | saveCtpCfg (uint32_t runNumber, long timeStamp) |
| CTPRunScalers | getScalersFromCCDB (long timestamp, std::string, bool &ok) |
| void | setCtpCfgDir (std::string &ctpcfgdir) |
Additional Inherited Members | |
Static Public Member Functions inherited from o2::ctp::ctpCCDBManager | |
| 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) |
Protected Member Functions inherited from o2::ctp::ctpCCDBManager | |
| ClassDefNV (ctpCCDBManager, 2) | |
Protected Attributes inherited from o2::ctp::ctpCCDBManager | |
| const std::string | mCCDBPathCTPScalers = "CTP/Calib/Scalers" |
| const std::string | mQCDBPathCTPScalers = "qc/CTP/Scalers" |
| const std::string | mCCDBPathSoxOrbit = "CTP/Calib/FirstRunOrbit" |
| const std::string | mCCDBPathOrbitReset = "CTP/Calib/OrbitReset" |
| const std::string | mCCDBPathCtpCfg = "CTP/Config/CtpCfg" |
| std::string | mCtpCfgDir |
Static Protected Attributes inherited from o2::ctp::ctpCCDBManager | |
| static std::string | mCCDBHost = "http://o2-ccdb.internal" |
| Database constants. | |
| static std::string | mQCDBHost = "http://ali-qcdb.cern.ch:8083" |
Definition at line 45 of file RunManager.h.
|
default |
| int CTPRunManager::addScalers | ( | uint32_t | irun, |
| std::time_t | time, | ||
| bool | start = 0 |
||
| ) |
Definition at line 161 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 397 of file RunManager.cxx.
| void CTPRunManager::init | ( | ) |
Run Manager to manage Config and Scalers
Definition at line 73 of file RunManager.cxx.
| int CTPRunManager::loadRun | ( | const std::string & | cfg | ) |
Definition at line 93 of file RunManager.cxx.
| int CTPRunManager::loadScalerNames | ( | ) |
Definition at line 385 of file RunManager.cxx.
| void CTPRunManager::printActiveRuns | ( | ) | const |
Definition at line 373 of file RunManager.cxx.
| void CTPRunManager::printCounters | ( | ) |
Definition at line 407 of file RunManager.cxx.
| int CTPRunManager::processMessage | ( | std::string & | topic, |
| const std::string & | message | ||
| ) |
Definition at line 224 of file RunManager.cxx.
|
inline |
Definition at line 58 of file RunManager.h.
Definition at line 59 of file RunManager.h.
| int CTPRunManager::setRunConfigBK | ( | uint32_t | runNumber, |
| const std::string & | cfg | ||
| ) |
Definition at line 131 of file RunManager.cxx.
Definition at line 145 of file RunManager.cxx.