CGEM BOSS
6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
CalibModelSvc.cxx
Go to the documentation of this file.
1
// $Header: /bes/bes/BossCvs/Calibration/CalibData/src/CalibModelSvc.cxx,v 1.2 2006/11/17 02:37:06 huangb Exp $
2
3
#include "
CalibData/CalibModelSvc.h
"
4
#include "
CalibData/CalibModel.h
"
5
6
// extern const CLID& CLID_Calib_CalibCLIDNode;
7
8
namespace
CalibData
{
9
const
std::vector<CalibModelSvc::CalibPair>&
CalibModelSvc::getPairs
()
10
const
{
11
return
pairs
;
12
}
13
14
CLID
CalibModelSvc::getCLIDNodeCLID
()
const
{
15
return
CLID_Calib_CalibCLIDNode
;
16
}
17
18
19
std::string
CalibModelSvc::getCalibType
(
const
std::string& fullpath) {
20
unsigned
lastSlash = fullpath.rfind(
"/"
);
21
return
fullpath.substr(lastSlash+1, fullpath.size() - lastSlash);
22
23
}
24
25
26
}
CalibModelSvc.h
CalibModel.h
CLID_Calib_CalibCLIDNode
const CLID CLID_Calib_CalibCLIDNode
Definition
CalibModel.h:31
CalibData::CalibModelSvc::getCalibType
static std::string getCalibType(const std::string &fullpath)
Return calibration type name, extracted from full path name in TCDS.
Definition
CalibModelSvc.cxx:19
CalibData::CalibModelSvc::getPairs
const std::vector< CalibPair > & getPairs() const
Definition
CalibModelSvc.cxx:9
CalibData::CalibModelSvc::getCLIDNodeCLID
CLID getCLIDNodeCLID() const
Definition
CalibModelSvc.cxx:14
CalibData
Definition
Calibration/CalibData/CalibData-00-01-09/CalibData/CalibBase.h:27
CalibData::pairs
_EXTERN_ CalibPairCol pairs
Definition
CalibModel.h:111
6.6.5.h
Calibration
CalibData
CalibData-00-01-09
src
CalibModelSvc.cxx
Generated by
1.12.0