ATLAS Offline Software
|
This is a helper class to query the version tags from GeoModelSvc and determine the appropriate tag and node to pass to RDBAccessServer. More...
#include <DecodeVersionKey.h>
Public Member Functions | |
DecodeVersionKey (const IGeoModelSvc *, const std::string &node) | |
Constructor is passed a pointer to GeoModelSvc plus the node for which you want the tag. More... | |
DecodeVersionKey (const IGeoDbTagSvc *, const std::string &node) | |
DecodeVersionKey (const std::string &node) | |
const std::string & | tag () const |
Return version tag. More... | |
const std::string & | node () const |
Return the version node. More... | |
bool | custom () const |
Return true if CUSTOM is selected. More... | |
Private Member Functions | |
template<class T > | |
void | defineTag (const T *svc, const std::string &node) |
bool | getCustomTag (const std::string &inputTag, std::string &outputTag) |
Private Attributes | |
std::string | m_tag |
std::string | m_node |
bool | m_custom |
This is a helper class to query the version tags from GeoModelSvc and determine the appropriate tag and node to pass to RDBAccessServer.
If a subsystem has an override tag then that tag is used otherwise the ATLAS tag is used.
Definition at line 17 of file DecodeVersionKey.h.
DecodeVersionKey::DecodeVersionKey | ( | const IGeoModelSvc * | geoModel, |
const std::string & | node | ||
) |
Constructor is passed a pointer to GeoModelSvc plus the node for which you want the tag.
Possible nodes are ATLAS, InnerDetector, Pixel, SCT, TRT, LAr, TileCal, or MuonSpectrometer.
Definition at line 13 of file DecodeVersionKey.cxx.
DecodeVersionKey::DecodeVersionKey | ( | const IGeoDbTagSvc * | geoDbTag, |
const std::string & | node | ||
) |
Definition at line 18 of file DecodeVersionKey.cxx.
DecodeVersionKey::DecodeVersionKey | ( | const std::string & | node | ) |
Definition at line 23 of file DecodeVersionKey.cxx.
bool DecodeVersionKey::custom | ( | ) | const |
Return true if CUSTOM is selected.
Definition at line 103 of file DecodeVersionKey.cxx.
|
private |
Definition at line 31 of file DecodeVersionKey.cxx.
|
private |
Definition at line 111 of file DecodeVersionKey.cxx.
const std::string & DecodeVersionKey::node | ( | ) | const |
Return the version node.
Definition at line 97 of file DecodeVersionKey.cxx.
const std::string & DecodeVersionKey::tag | ( | ) | const |
|
private |
Definition at line 48 of file DecodeVersionKey.h.
|
private |
Definition at line 47 of file DecodeVersionKey.h.
|
private |
Definition at line 46 of file DecodeVersionKey.h.