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

#include <CalibModelSvc.h>

Public Types

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

Public Member Functions

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.
 

Detailed Description

Definition at line 18 of file CalibModelSvc.h.

Member Typedef Documentation

◆ CalibPair

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

Definition at line 20 of file CalibModelSvc.h.

Member Function Documentation

◆ getCalibType()

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().

◆ getCLIDNodeCLID()

CLID CalibData::CalibModelSvc::getCLIDNodeCLID ( ) const

Definition at line 14 of file CalibModelSvc.cxx.

14 {
16 }
const CLID CLID_Calib_CalibCLIDNode
Definition: CalibModel.h:31

◆ getPairs()

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

Definition at line 9 of file CalibModelSvc.cxx.

10 {
11 return pairs;
12 }
_EXTERN_ CalibPairCol pairs
Definition: CalibModel.h:125

Referenced by CalibDataSvc::initialize().


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