CGEM BOSS 6.6.5.f
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
 

Public Member Functions

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.
 

Detailed Description

Member Typedef Documentation

◆ CalibPair [1/2]

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

◆ CalibPair [2/2]

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

Member Function Documentation

◆ getCalibType() [1/2]

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

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

Definition at line 19 of file CalibModelSvc.cxx.

19 {
20 unsigned lastSlash = fullpath.rfind("/");
21 return fullpath.substr(lastSlash+1, fullpath.size() - lastSlash);
22
23 }

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

◆ getCalibType() [2/2]

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

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

◆ getCLIDNodeCLID() [1/2]

CLID CalibData::CalibModelSvc::getCLIDNodeCLID ( ) const

Definition at line 14 of file CalibModelSvc.cxx.

◆ getCLIDNodeCLID() [2/2]

CLID CalibData::CalibModelSvc::getCLIDNodeCLID ( ) const

◆ getPairs() [1/2]

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

Definition at line 9 of file CalibModelSvc.cxx.

10 {
11 return pairs;
12 }

Referenced by CalibDataSvc::initialize().

◆ getPairs() [2/2]

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

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