BOSS 8.0.0
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
2// 02:37:06 huangb Exp $
3
4#include "CalibData/CalibModelSvc.h"
5#include "CalibData/CalibModel.h"
6
7// extern const CLID& CLID_Calib_CalibCLIDNode;
8
9namespace CalibData {
10 const std::vector<CalibModelSvc::CalibPair>& CalibModelSvc::getPairs() const {
11 return pairs;
12 }
13
15
16 std::string CalibModelSvc::getCalibType( const std::string& fullpath ) {
17 unsigned lastSlash = fullpath.rfind( "/" );
18 return fullpath.substr( lastSlash + 1, fullpath.size() - lastSlash );
19 }
20
21} // namespace CalibData
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