Project
Loading...
Searching...
No Matches
o2::ctp::ctpCCDBManager Class Reference

#include <ctpCCDBManager.h>

Inherited by o2::ctp::CTPRunManager.

Public Member Functions

 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)
 
CTPRunScalers getScalersFromCCDB (long timestamp, std::string, bool &ok)
 

Static Public Member Functions

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

 ClassDefNV (ctpCCDBManager, 1)
 

Protected Attributes

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"
 

Static Protected Attributes

static std::string mCCDBHost = "http://o2-ccdb.internal"
 Database constants.
 
static std::string mQCDBHost = "http://ali-qcdb.cern.ch:8083"
 

Detailed Description

Definition at line 23 of file ctpCCDBManager.h.

Constructor & Destructor Documentation

◆ ctpCCDBManager()

o2::ctp::ctpCCDBManager::ctpCCDBManager ( )
default

Member Function Documentation

◆ ClassDefNV()

o2::ctp::ctpCCDBManager::ClassDefNV ( ctpCCDBManager  ,
 
)
protected

◆ getConfigFromCCDB() [1/2]

CTPConfiguration ctpCCDBManager::getConfigFromCCDB ( long  timestamp,
std::string  run 
)
static

Definition at line 186 of file ctpCCDBManager.cxx.

◆ getConfigFromCCDB() [2/2]

CTPConfiguration ctpCCDBManager::getConfigFromCCDB ( long  timestamp,
std::string  run,
bool &  ok 
)
static

Definition at line 169 of file ctpCCDBManager.cxx.

◆ getScalersFromCCDB()

CTPRunScalers ctpCCDBManager::getScalersFromCCDB ( long  timestamp,
std::string  run,
bool &  ok 
)

Definition at line 196 of file ctpCCDBManager.cxx.

◆ saveOrbitReset()

int ctpCCDBManager::saveOrbitReset ( long  timeStamp)

Definition at line 141 of file ctpCCDBManager.cxx.

◆ saveRunConfigToCCDB()

int ctpCCDBManager::saveRunConfigToCCDB ( CTPConfiguration cfg,
long  timeStart 
)

Definition at line 83 of file ctpCCDBManager.cxx.

◆ saveRunScalersToCCDB()

int ctpCCDBManager::saveRunScalersToCCDB ( CTPRunScalers scalers,
long  timeStart,
long  timeStop 
)

Definition at line 27 of file ctpCCDBManager.cxx.

◆ saveRunScalersToQCDB()

int ctpCCDBManager::saveRunScalersToQCDB ( CTPRunScalers scalers,
long  timeStart,
long  timeStop 
)

Definition at line 55 of file ctpCCDBManager.cxx.

◆ saveSoxOrbit()

int ctpCCDBManager::saveSoxOrbit ( uint32_t  runNumber,
uint32_t  soxOrbit,
long  timeStart 
)

Definition at line 110 of file ctpCCDBManager.cxx.

◆ setCCDBHost()

static void o2::ctp::ctpCCDBManager::setCCDBHost ( std::string  host)
inlinestatic

Definition at line 35 of file ctpCCDBManager.h.

◆ setQCDBHost()

static void o2::ctp::ctpCCDBManager::setQCDBHost ( std::string  host)
inlinestatic

Definition at line 36 of file ctpCCDBManager.h.

Member Data Documentation

◆ mCCDBHost

std::string ctpCCDBManager::mCCDBHost = "http://o2-ccdb.internal"
staticprotected

Database constants.

Definition at line 42 of file ctpCCDBManager.h.

◆ mCCDBPathCTPScalers

const std::string o2::ctp::ctpCCDBManager::mCCDBPathCTPScalers = "CTP/Calib/Scalers"
protected

Definition at line 44 of file ctpCCDBManager.h.

◆ mCCDBPathOrbitReset

const std::string o2::ctp::ctpCCDBManager::mCCDBPathOrbitReset = "CTP/Calib/OrbitReset"
protected

Definition at line 48 of file ctpCCDBManager.h.

◆ mCCDBPathSoxOrbit

const std::string o2::ctp::ctpCCDBManager::mCCDBPathSoxOrbit = "CTP/Calib/FirstRunOrbit"
protected

Definition at line 47 of file ctpCCDBManager.h.

◆ mQCDBHost

std::string ctpCCDBManager::mQCDBHost = "http://ali-qcdb.cern.ch:8083"
staticprotected

Definition at line 43 of file ctpCCDBManager.h.

◆ mQCDBPathCTPScalers

const std::string o2::ctp::ctpCCDBManager::mQCDBPathCTPScalers = "qc/CTP/Scalers"
protected

Definition at line 46 of file ctpCCDBManager.h.


The documentation for this class was generated from the following files: