|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef IOVSVC_IOVSVC_H
6 #define IOVSVC_IOVSVC_H
20 #include "GaudiKernel/StatusCode.h"
21 #include "GaudiKernel/ClassID.h"
22 #include "GaudiKernel/MsgStream.h"
36 #include "GaudiKernel/ServiceHandle.h"
37 #include "GaudiKernel/ICondSvc.h"
49 class TransientAddress;
53 class IOVSvc:
public extends<AthService, IIOVSvc>
65 virtual std::vector<std::string>
getStoreNames()
const override;
87 const std::string& storeName)
override;
94 const std::string&
key,
95 const std::string& storeName)
override;
100 const std::string& storeName)
override;
105 const std::string& storeName )
override;
116 std::unique_ptr<IOpaqueAddress>& ioa)
const override;
122 std::unique_ptr<IOpaqueAddress>& ioa)
const override;
127 const std::string &
tag)
override;
131 const std::string& storeName)
override;
135 const std::string& storeName )
override;
139 const std::string& storeName )
override;
144 std::set<std::string>&
tools,
145 const std::string& storeName)
override;
150 const std::string& storeName)
override;
153 const EventIDBase&)
override;
160 bool createIF=
true );
169 typedef std::map< std::string, IIOVSvcTool* >
toolMap;
Validity Range object. Holds two IOVTimes (start and stop)
virtual StatusCode setRangeInDB(const CLID &clid, const std::string &key, const IOVRange &range, const std::string &tag) override
Set a particular IOVRange in db (and memory)
BooleanProperty m_partialPreLoadData
IIOVSvcTool * getTool(const std::string &storeName, bool createIF=true)
ServiceHandle< StoreGateSvc > p_detStore
virtual StatusCode createCondObj(CondContBase *, const DataObjID &, const EventIDBase &) override
std::recursive_mutex m_lock
virtual StatusCode reinitialize() override
BooleanProperty m_preLoadData
virtual StatusCode getRange(const CLID &clid, const std::string &key, IOVRange &io) const override
virtual StatusCode regFcn(SG::DataProxy *dp, const CallBackID &c, const IOVSvcCallBackFcn &fcn, bool trigger=false) override
register callback functions
virtual StatusCode initialize() override
Basic time unit for IOVSvc. Hold time as a combination of run and event numbers.
std::string m_updateInterval
Basic time unit for IOVSvc. Hold time as a combination of run and event numbers.
BooleanProperty m_sortKeys
The Athena Transient Store API.
ServiceHandle< IToolSvc > p_toolSvc
virtual std::vector< std::string > getStoreNames() const override
virtual StatusCode getTriggeredTools(const std::string &key, std::set< std::string > &tools, const std::string &storeName) override
return list of tools (or functions) that have been triggered by key will return FAILURE if no tools f...
virtual StatusCode getRangeFromDB(const CLID &clid, const std::string &key, IOVRange &range, std::string &tag, std::unique_ptr< IOpaqueAddress > &ioa) const override
Get IOVRange from db for current event.
BooleanProperty m_forceReset
::StatusCode StatusCode
StatusCode definition for legacy code.
std::string fullProxyName(const SG::DataProxy *proxy) const
Base class for all conditions containers.
std::map< std::string, IIOVSvcTool * > toolMap
DataProxy provides the registry services for StoreGate.
boost::function< StatusCode(IOVSVC_CALLBACK_ARGS) > IOVSvcCallBackFcn
the type of an IOVSvc call back: it wraps both the method and the object the method is called on
ServiceHandle< IClassIDSvc > p_CLIDSvc
virtual StatusCode preLoadDataTAD(const SG::TransientAddress *, const std::string &storeName) override
supply a list of TADs whose data will be preloaded
virtual StatusCode dropObjectFromDB(const CLID &clid, const std::string &key, const std::string &storeName) override
Drop the associated object from the db and trigger reload.
AthROOTErrorHandlerSvc * svc
uint32_t CLID
The Class ID type.
void fcn(int &, double *, double &result, double par[], int)
this is where we write out chi2
virtual StatusCode setRange(const CLID &clid, const std::string &key, IOVRange &) override
Update Range from dB.
ServiceHandle< StoreGateSvc > p_sgs
virtual StatusCode regProxy(SG::DataProxy *proxy, const std::string &key, const std::string &storeName) override
Subscribe method for DataProxy. key StoreGate key.
ServiceHandle< ICondSvc > p_condSvc
def time(flags, cells_name, *args, **kw)
IOVSvc(const std::string &name, ISvcLocator *svc)
virtual StatusCode finalize() override
BooleanProperty m_preLoadExtensibleFolders
virtual StatusCode deregProxy(SG::DataProxy *proxy) override
Deregister a DataProxy with the service.
defines and typedefs for IOVSvc
virtual void resetAllProxies() override
virtual StatusCode createIOVTool(const std::string &storeName) override
virtual StatusCode replaceProxy(SG::DataProxy *pOld, SG::DataProxy *pNew, const std::string &storeName) override
replace a registered DataProxy with a new version
BooleanProperty m_preLoadRanges
virtual StatusCode preLoadTAD(const SG::TransientAddress *, const std::string &storeName) override
supply a list of TADs whose proxies will be preloaded
virtual void ignoreProxy(const CLID &clid, const std::string &key, const std::string &storeName) override
ignore proxy