ATLAS Offline Software
TagFunctions.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 //@file TagFunctions.h
5 //@brief Helper functions for tag resolution
6 //@author Shaun Roe
7 #ifndef IOVDbSvc_TagFunctions_h
8 #define IOVDbSvc_TagFunctions_h
9 
10 #include "CoolKernel/IFolder.h"
11 #include <string>
12 #include <optional>
13 class ITagInfoMgr;
14 
15 namespace IOVDbNamespace{
17  std::string getTagInfo(const std::string &tag, const ITagInfoMgr *tagInfoMgr);
18 
20  std::string getGeoAtlasVersion();
21 
23  std::optional<bool>
24  checkTagLock(const cool::IFolderPtr& fptr, const std::string & tag);
25 
26  std::string
27  resolveUsingTagInfo(const std::string & tag, const ITagInfoMgr *tagInfoMgr);
28 }
29 #endif
IOVDbNamespace::getGeoAtlasVersion
std::string getGeoAtlasVersion()
Get the GeoAtlas version directly from GeoModelSvc.
Definition: TagFunctions.cxx:33
IOVDbNamespace::getTagInfo
std::string getTagInfo(const std::string &tag, const ITagInfoMgr *tagInfoMgr)
Retrieve the TagInfo.
Definition: TagFunctions.cxx:21
IOVDbNamespace::checkTagLock
std::optional< bool > checkTagLock(const cool::IFolderPtr &fptr, const std::string &tag)
Check whether a tag is locked on a folder, if possible.
Definition: TagFunctions.cxx:46
fptr
std::vector< TFile * > fptr
Definition: hcg.cxx:48
IOVDbNamespace::resolveUsingTagInfo
std::string resolveUsingTagInfo(const std::string &tag, const ITagInfoMgr *tagInfoMgr)
Definition: TagFunctions.cxx:57
ITagInfoMgr
This is a Athena service which manages detector description tag information. It maintains a TagInfo o...
Definition: ITagInfoMgr.h:58
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:24
IOVDbNamespace
Definition: Base64Codec.cxx:16