BOSS 7.0.8
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
5
6// extern const CLID& CLID_Calib_CalibCLIDNode;
7
8namespace CalibData {
9 const std::vector<CalibModelSvc::CalibPair>& CalibModelSvc::getPairs()
10 const {
11 return pairs;
12 }
13
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}
const CLID CLID_Calib_CalibCLIDNode
Definition: CalibModel.h:31
static std::string getCalibType(const std::string &fullpath)
Return calibration type name, extracted from full path name in TCDS.
const std::vector< CalibPair > & getPairs() const
_EXTERN_ CalibPairCol pairs
Definition: CalibModel.h:125