ATLAS Offline Software
Loading...
Searching...
No Matches
IIOVSvc Class Referenceabstract

Abstract interface for IOVSvc. More...

#include <IIOVSvc.h>

Inheritance diagram for IIOVSvc:
Collaboration diagram for IIOVSvc:

Public Member Functions

 DeclareInterfaceID (IIOVSvc, 1, 0)
virtual StatusCode createIOVTool (const std::string &storeName)=0
virtual std::vector< std::string > getStoreNames () const =0
virtual StatusCode regProxy (SG::DataProxy *proxy, const std::string &key, const std::string &storeName="StoreGateSvc")=0
 Subscribe method for DataProxy. key StoreGate key.
virtual StatusCode replaceProxy (SG::DataProxy *pOld, SG::DataProxy *pNew, const std::string &storeName="StoreGateSvc")=0
 replace a registered proxy with a new version
virtual StatusCode regProxy (const CLID &clid, const std::string &key, const std::string &storeName="StoreGateSvc")=0
 Another way to subscribe.
virtual StatusCode deregProxy (SG::DataProxy *proxy)=0
virtual StatusCode deregProxy (const CLID &clid, const std::string &key)=0
IOVRange accessors
virtual StatusCode setRange (const CLID &clid, const std::string &key, IOVRange &)=0
virtual StatusCode setRange (const CLID &clid, const std::string &key, IOVRange &, const std::string &storeName)=0
virtual StatusCode getRange (const CLID &clid, const std::string &key, IOVRange &iov) const =0
virtual StatusCode getRangeFromDB (const CLID &clid, const std::string &key, IOVRange &range, std::string &tag, std::unique_ptr< IOpaqueAddress > &ioa, const EventIDBase &now) const =0
 Get IOVRange from db for current event.
virtual StatusCode getRangeFromDB (const CLID &clid, const std::string &key, const IOVTime &time, IOVRange &range, std::string &tag, std::unique_ptr< IOpaqueAddress > &ioa) const =0
 Get IOVRange from db for a particular event.
virtual StatusCode setRangeInDB (const CLID &clid, const std::string &key, const IOVRange &range, const std::string &tag)=0
 Set a particular IOVRange in db (and memory)
virtual StatusCode dropObjectFromDB (const CLID &clid, const std::string &key, const std::string &storeName)=0
 Drop the associated object from the db and trigger reload.
virtual StatusCode preLoadTAD (const SG::TransientAddress *, const std::string &storeName="StoreGateSvc")=0
 pre-load transient Addresses
virtual StatusCode preLoadDataTAD (const SG::TransientAddress *, const std::string &storeName="StoreGateSvc")=0
virtual void resetAllProxies ()=0
 reset all proxies known to IOVSvc
virtual void ignoreProxy (const CLID &clid, const std::string &key, const std::string &storeName="StoreGateSvc")=0
virtual StatusCode createCondObj (CondContBase *, const DataObjID &, const EventIDBase &)=0

Detailed Description

Abstract interface for IOVSvc.

This is used (usually via StoreGateSvc regFcn and regHandle methods) to setup access to time-varying data, such as calibration. See http://annwm.lbl.gov/~leggett/Atlas/IOVSvc/main.shtml for details

Author
Charles Leggett

Definition at line 35 of file IIOVSvc.h.

Member Function Documentation

◆ createCondObj()

virtual StatusCode IIOVSvc::createCondObj ( CondContBase * ,
const DataObjID & ,
const EventIDBase &  )
pure virtual

◆ createIOVTool()

virtual StatusCode IIOVSvc::createIOVTool ( const std::string & storeName)
pure virtual

◆ DeclareInterfaceID()

IIOVSvc::DeclareInterfaceID ( IIOVSvc ,
1 ,
0  )

◆ deregProxy() [1/2]

virtual StatusCode IIOVSvc::deregProxy ( const CLID & clid,
const std::string & key )
pure virtual

◆ deregProxy() [2/2]

virtual StatusCode IIOVSvc::deregProxy ( SG::DataProxy * proxy)
pure virtual

◆ dropObjectFromDB()

virtual StatusCode IIOVSvc::dropObjectFromDB ( const CLID & clid,
const std::string & key,
const std::string & storeName )
pure virtual

Drop the associated object from the db and trigger reload.

◆ getRange()

virtual StatusCode IIOVSvc::getRange ( const CLID & clid,
const std::string & key,
IOVRange & iov ) const
pure virtual

◆ getRangeFromDB() [1/2]

virtual StatusCode IIOVSvc::getRangeFromDB ( const CLID & clid,
const std::string & key,
const IOVTime & time,
IOVRange & range,
std::string & tag,
std::unique_ptr< IOpaqueAddress > & ioa ) const
pure virtual

Get IOVRange from db for a particular event.

◆ getRangeFromDB() [2/2]

virtual StatusCode IIOVSvc::getRangeFromDB ( const CLID & clid,
const std::string & key,
IOVRange & range,
std::string & tag,
std::unique_ptr< IOpaqueAddress > & ioa,
const EventIDBase & now ) const
pure virtual

Get IOVRange from db for current event.

◆ getStoreNames()

virtual std::vector< std::string > IIOVSvc::getStoreNames ( ) const
pure virtual

◆ ignoreProxy()

virtual void IIOVSvc::ignoreProxy ( const CLID & clid,
const std::string & key,
const std::string & storeName = "StoreGateSvc" )
pure virtual

◆ preLoadDataTAD()

virtual StatusCode IIOVSvc::preLoadDataTAD ( const SG::TransientAddress * ,
const std::string & storeName = "StoreGateSvc" )
pure virtual

◆ preLoadTAD()

virtual StatusCode IIOVSvc::preLoadTAD ( const SG::TransientAddress * ,
const std::string & storeName = "StoreGateSvc" )
pure virtual

pre-load transient Addresses

◆ regProxy() [1/2]

virtual StatusCode IIOVSvc::regProxy ( const CLID & clid,
const std::string & key,
const std::string & storeName = "StoreGateSvc" )
pure virtual

Another way to subscribe.

◆ regProxy() [2/2]

virtual StatusCode IIOVSvc::regProxy ( SG::DataProxy * proxy,
const std::string & key,
const std::string & storeName = "StoreGateSvc" )
pure virtual

Subscribe method for DataProxy. key StoreGate key.

◆ replaceProxy()

virtual StatusCode IIOVSvc::replaceProxy ( SG::DataProxy * pOld,
SG::DataProxy * pNew,
const std::string & storeName = "StoreGateSvc" )
pure virtual

replace a registered proxy with a new version

◆ resetAllProxies()

virtual void IIOVSvc::resetAllProxies ( )
pure virtual

reset all proxies known to IOVSvc

◆ setRange() [1/2]

virtual StatusCode IIOVSvc::setRange ( const CLID & clid,
const std::string & key,
IOVRange &  )
pure virtual

◆ setRange() [2/2]

virtual StatusCode IIOVSvc::setRange ( const CLID & clid,
const std::string & key,
IOVRange & ,
const std::string & storeName )
pure virtual

◆ setRangeInDB()

virtual StatusCode IIOVSvc::setRangeInDB ( const CLID & clid,
const std::string & key,
const IOVRange & range,
const std::string & tag )
pure virtual

Set a particular IOVRange in db (and memory)


The documentation for this class was generated from the following file: