BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
CalibData::CalibModelSvc Class Reference

#include <CalibModelSvc.h>

Public Types

typedef std::pair< std::string, CLID > CalibPair
typedef std::pair< std::string, CLID > CalibPair
typedef std::pair< std::string, CLID > CalibPair

Public Member Functions

const std::vector< CalibPair > & getPairs () const
CLID getCLIDNodeCLID () const
const std::vector< CalibPair > & getPairs () const
CLID getCLIDNodeCLID () const
const std::vector< CalibPair > & getPairs () const
CLID getCLIDNodeCLID () const

Static Public Member Functions

static std::string getCalibType (const std::string &fullpath)
 Return calibration type name, extracted from full path name in TCDS.
static std::string getCalibType (const std::string &fullpath)
 Return calibration type name, extracted from full path name in TCDS.
static std::string getCalibType (const std::string &fullpath)
 Return calibration type name, extracted from full path name in TCDS.

Detailed Description

Member Typedef Documentation

◆ CalibPair [1/3]

typedef std::pair<std::string, CLID> CalibData::CalibModelSvc::CalibPair

◆ CalibPair [2/3]

typedef std::pair<std::string, CLID> CalibData::CalibModelSvc::CalibPair

◆ CalibPair [3/3]

typedef std::pair<std::string, CLID> CalibData::CalibModelSvc::CalibPair

Member Function Documentation

◆ getCalibType() [1/3]

std::string CalibData::CalibModelSvc::getCalibType ( const std::string & fullpath)
static

Return calibration type name, extracted from full path name in TCDS.

Definition at line 16 of file CalibModelSvc.cxx.

16 {
17 unsigned lastSlash = fullpath.rfind( "/" );
18 return fullpath.substr( lastSlash + 1, fullpath.size() - lastSlash );
19 }

Referenced by CalibMySQLCnvSvc::createCalib(), and CalibMySQLCnvSvc::updateCalib().

◆ getCalibType() [2/3]

std::string CalibData::CalibModelSvc::getCalibType ( const std::string & fullpath)
static

Return calibration type name, extracted from full path name in TCDS.

◆ getCalibType() [3/3]

std::string CalibData::CalibModelSvc::getCalibType ( const std::string & fullpath)
static

Return calibration type name, extracted from full path name in TCDS.

◆ getCLIDNodeCLID() [1/3]

CLID CalibData::CalibModelSvc::getCLIDNodeCLID ( ) const

Definition at line 14 of file CalibModelSvc.cxx.

◆ getCLIDNodeCLID() [2/3]

CLID CalibData::CalibModelSvc::getCLIDNodeCLID ( ) const

◆ getCLIDNodeCLID() [3/3]

CLID CalibData::CalibModelSvc::getCLIDNodeCLID ( ) const

◆ getPairs() [1/3]

const std::vector< CalibModelSvc::CalibPair > & CalibData::CalibModelSvc::getPairs ( ) const

Definition at line 10 of file CalibModelSvc.cxx.

10 {
11 return pairs;
12 }

Referenced by CalibDataSvc::initialize().

◆ getPairs() [2/3]

const std::vector< CalibPair > & CalibData::CalibModelSvc::getPairs ( ) const

◆ getPairs() [3/3]

const std::vector< CalibPair > & CalibData::CalibModelSvc::getPairs ( ) const

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