CalibData::CalibModelSvc Class Reference

#include <CalibModelSvc.h>

List of all members.

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

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

Definition at line 20 of file CalibModelSvc.h.


Member Function Documentation

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.

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

00019                                                                  {
00020       unsigned lastSlash = fullpath.rfind("/");
00021     return fullpath.substr(lastSlash+1, fullpath.size() - lastSlash);
00022 
00023   }

CLID CalibData::CalibModelSvc::getCLIDNodeCLID (  )  const

Definition at line 14 of file CalibModelSvc.cxx.

References CLID_Calib_CalibCLIDNode.

00014                                             {
00015     return CLID_Calib_CalibCLIDNode;
00016   }

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

Definition at line 9 of file CalibModelSvc.cxx.

References CalibData::pairs.

Referenced by CalibDataSvc::initialize().

00010           {
00011     return pairs;
00012   }


Generated on Tue Nov 29 23:36:23 2016 for BOSS_7.0.2 by  doxygen 1.4.7