 |
ATLAS Offline Software
|
Go to the documentation of this file.
16 #ifndef REGISTRATIONSERVICES_IOVREGISTRATIONSVC_H
17 # define REGISTRATIONSERVICES_IOVREGISTRATIONSVC_H
24 #include "GaudiKernel/ServiceHandle.h"
25 #include "GaudiKernel/ClassID.h"
26 #include "CoolKernel/StorageType.h"
32 class IAddressCreator;
63 virtual const InterfaceID&
type()
const;
81 const std::string&
tag )
const;
86 const std::string&
tag,
87 unsigned int beginRun,
90 unsigned int endLB )
const;
96 const std::string&
tag,
103 const std::string&
key,
104 const std::string&
tag,
105 unsigned int beginRun,
107 unsigned int beginLB,
108 unsigned int endLB )
const;
113 const std::string&
key,
114 const std::string&
tag,
121 const std::string&
key,
122 const std::string&
folder,
123 const std::string&
tag,
124 unsigned int beginRun,
126 unsigned int beginLB,
127 unsigned int endLB )
const;
132 const std::string&
key,
133 const std::string&
folder,
134 const std::string&
tag,
151 const std::string&
key,
152 const std::string&
folder,
153 const std::string&
tag,
158 const std::string&
key,
160 const std::string&
tag,
165 const std::string& coralName)
const;
168 const std::string&
key,
169 std::string& saddr)
const;
176 const std::string&
value,
181 std::string& address_header,
182 std::string& address_data)
const;
193 Gaudi::Property<std::string>
m_tag{
this,
"IOVDbTag",
""};
195 Gaudi::Property<std::string>
m_tagDescription{
this,
"TagDescription",
"Athena IOVRegistrationSvc"};
202 Gaudi::Property<std::vector<std::string>>
m_overrideName{
this,
"OverrideNames", {}};
203 Gaudi::Property<std::vector<std::string>>
m_overrideType{
this,
"OverrideTypes", {}};
216 #endif // REGISTRATIONSERVICES_IOVREGISTRATIONSVC_H
virtual ~IOVRegistrationSvc()
Gaudi::Property< bool > m_timeStamp
Gaudi::Property< bool > m_userTags
static constexpr uint32_t MAXRUN
Gaudi::Property< std::vector< std::string > > m_overrideName
Gaudi::Property< bool > m_recreateFolders
Gaudi::Property< std::vector< std::string > > m_overrideType
This is an interface to a tool used to register conditions objects in the Interval of Validity (IOV) ...
StatusCode registerIOVCOOL(const std::string &typeName, const std::string &key, const std::string &folderName, const std::string &tag, const IOVTime &begin, const IOVTime &end) const
StatusCode getStringAddress(const CLID &clid, const std::string &key, std::string &saddr) const
Basic time unit for IOVSvc. Hold time as a combination of run and event numbers.
static constexpr uint32_t MINRUN
StatusCode splitAddress(const std::string &address, std::string &address_header, std::string &address_data) const
Split address in its header and data parts.
Basic time unit for IOVSvc. Hold time as a combination of run and event numbers.
The Athena Transient Store API.
virtual StatusCode initialize()
Initialize AlgTool.
Gaudi::Property< unsigned int > m_beginLB
ServiceHandle< IIOVCondDbSvc > m_iov_db
::StatusCode StatusCode
StatusCode definition for legacy code.
cool::StorageType::TypeId coralToCoolType(const std::string &parname, const std::string &coralName) const
Gaudi::Property< unsigned long > m_beginTime
Gaudi::Property< bool > m_forceGlobalIOV
AthROOTErrorHandlerSvc * svc
Gaudi::Property< unsigned int > m_beginRun
Gaudi::Property< unsigned int > m_endLB
uint32_t CLID
The Class ID type.
Gaudi::Property< unsigned int > m_endRun
ServiceHandle< IAddressCreator > m_persSvc
static constexpr uint32_t MAXEVENT
static constexpr uint32_t MINEVENT
ServiceHandle< IClassIDSvc > m_clidSvc
virtual StatusCode finalize()
Finalize AlgTool.
virtual StatusCode buildDescription(const std::string &identifier, const std::string &value, std::string &description) const
Build the folder description field add in front of the description the value with identifier-markups.
virtual const InterfaceID & type() const
Service type.
Gaudi::Property< bool > m_userTagsUH
Gaudi::Property< bool > m_payloadTable
virtual StatusCode registerIOV(const std::string &typeName) const
Register IOV DB for an object given its typeName - run/LB numbers interval or times interval and tag ...
static constexpr uint64_t MINTIMESTAMP
Gaudi::Property< bool > m_writeKeyInfo
Gaudi::Property< bool > m_svFolder
IOVRegistrationSvc(const std::string &name, ISvcLocator *svc)
Gaudi::Property< std::string > m_tag
Gaudi::Property< unsigned long > m_endTime
ServiceHandle< StoreGateSvc > m_detStore
uint64_t timeToNano(const unsigned long int timesec) const
Gaudi::Property< std::string > m_tagDescription
std::string description
glabal timer - how long have I taken so far?