![]() |
ATLAS Offline Software
|
#include <IOVSvcTool.h>
Public Member Functions | |
| IOVSvcTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual StatusCode | initialize () override |
| virtual void | handle (const Incident &) override |
| virtual void | setStoreName (const std::string &storeName) override |
| virtual const std::string & | getStoreName () const override |
| virtual StatusCode | setRange (const CLID &clid, const std::string &key, IOVRange &) override |
| virtual StatusCode | getRange (const CLID &clid, const std::string &key, IOVRange &iov) const override |
| virtual StatusCode | regProxy (SG::DataProxy *proxy, const std::string &key) override |
| Register a DataProxy with the service. | |
| virtual StatusCode | regProxy (const CLID &clid, const std::string &key) override |
| Register a DataProxy with the service. | |
| virtual StatusCode | deregProxy (SG::DataProxy *proxy) override |
| Deregister a DataProxy with the service. | |
| virtual StatusCode | deregProxy (const CLID &clid, const std::string &key) override |
| Deregister a DataProxy with the service. | |
| virtual StatusCode | replaceProxy (SG::DataProxy *pOld, SG::DataProxy *pNew) override |
| replace a registered DataProxy with a new version | |
| virtual StatusCode | getRangeFromDB (const CLID &clid, const std::string &key, IOVRange &range, std::string &tag, std::unique_ptr< IOpaqueAddress > &ioa, const IOVTime &curTime) const override |
| virtual StatusCode | getRangeFromDB (const CLID &clid, const std::string &key, const IOVTime &time, IOVRange &range, std::string &tag, std::unique_ptr< IOpaqueAddress > &ioa) const override |
| virtual StatusCode | setRangeInDB (const CLID &clid, const std::string &key, const IOVRange &range, const std::string &tag) override |
| virtual StatusCode | preLoadTAD (const SG::TransientAddress *) override |
| add to a set of TADs that will be registered at start of first event | |
| virtual StatusCode | preLoadDataTAD (const SG::TransientAddress *) override |
| add to a set of TADs that who's data will be preLoaded | |
| virtual bool | holdsProxy (SG::DataProxy *proxy) const override |
| virtual bool | holdsProxy (const CLID &clid, const std::string &key) const override |
| virtual void | resetAllProxies () override |
| virtual void | ignoreProxy (const CLID &clid, const std::string &key) override |
| virtual void | ignoreProxy (SG::DataProxy *proxy) override |
Private Types | |
| typedef std::tuple< CLID, std::string > | TADkey_t |
Private Member Functions | |
| StatusCode | preLoadProxies (const EventContext &ctx) |
| StatusCode | preLoadData () |
| std::string | fullProxyName (const SG::TransientAddress *) const |
| std::string | fullProxyName (const SG::DataProxy *) const |
| std::string | fullProxyName (const CLID &, const std::string &) const |
| void | setRange_impl (SG::DataProxy *proxy, IOVRange &iovr) |
| TADkey_t | TADkey (const SG::DataProxy &p) |
| TADkey_t | TADkey (const SG::TransientAddress &t) |
| void | scanStartSet (IOVEntry::StartSet_t &pSet, const std::string &type, std::set< SG::DataProxy *, SortDPptr > &proxiesToReset, const IOVTime &curTime) const |
| void | scanStopSet (IOVEntry::StopSet_t &pSet, const std::string &type, std::set< SG::DataProxy *, SortDPptr > &proxiesToReset, const IOVTime &curTime) const |
| void | PrintStartSet () const |
| void | PrintStopSet () const |
| void | PrintProxyMap () const |
| void | PrintProxyMap (const SG::DataProxy *) const |
Private Attributes | |
| std::string | m_storeName |
| ServiceHandle< StoreGateSvc > | p_cndSvc |
| ServiceHandle< IIncidentSvc > | p_incSvc |
| ServiceHandle< IProxyProviderSvc > | p_PPSvc |
| ServiceHandle< IClassIDSvc > | p_CLIDSvc |
| ServiceHandle< IToolSvc > | p_toolSvc |
| std::map< const SG::DataProxy *, std::string > | m_names |
| std::recursive_mutex m_handleMutex | ATLAS_THREAD_SAFE |
| std::set< SG::DataProxy *, SortDPptr > | m_proxies |
| std::set< SG::DataProxy * > | m_ignoredProxies |
| std::set< std::pair< CLID, std::string > > | m_ignoredProxyNames |
| std::map< const SG::DataProxy *, std::unique_ptr< IOVEntry > > | m_entries |
| IOVEntry::StartSet_t * | p_startSet {nullptr} |
| IOVEntry::StopSet_t * | p_stopSet {nullptr} |
| IOVEntry::StartSet_t | m_startSet_Clock |
| IOVEntry::StartSet_t | m_startSet_RE |
| IOVEntry::StopSet_t | m_stopSet_Clock |
| IOVEntry::StopSet_t | m_stopSet_RE |
| std::set< std::unique_ptr< const SG::TransientAddress >, SortTADptr > | m_preLoad |
| std::set< TADkey_t > | m_partPreLoad |
| std::atomic< bool > | m_first {true} |
| bool | m_checkOnce {false} |
| bool | m_firstEventOfRun {false} |
| std::string | m_checkTrigger |
| Gaudi::Property< bool > | m_preLoadRanges {this, "preLoadRanges", false} |
| Gaudi::Property< bool > | m_preLoadData {this, "preLoadData", false} |
| Gaudi::Property< bool > | m_partialPreLoadData {this, "partialPreLoadData", true} |
| Gaudi::Property< bool > | m_preLoadExtensibleFolders {this, "preLoadExtensibleFolders", true} |
| Gaudi::Property< bool > | m_sortKeys {this, "sortKeys", true} |
| Gaudi::Property< bool > | m_forceReset {this, "forceResetAtBeginRun", false} |
| Gaudi::Property< std::string > | m_updateInterval {this, "updateInterval", "Event"} |
Definition at line 67 of file IOVSvcTool.h.
|
private |
Definition at line 189 of file IOVSvcTool.h.
| IOVSvcTool::IOVSvcTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 70 of file IOVSvcTool.cxx.
|
overridevirtual |
Deregister a DataProxy with the service.
Definition at line 558 of file IOVSvcTool.cxx.
|
overridevirtual |
Deregister a DataProxy with the service.
Definition at line 440 of file IOVSvcTool.cxx.
|
private |
Definition at line 1084 of file IOVSvcTool.cxx.
|
private |
Definition at line 1077 of file IOVSvcTool.cxx.
|
private |
Definition at line 1068 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 707 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 744 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 727 of file IOVSvcTool.cxx.
|
inlineoverridevirtual |
Definition at line 87 of file IOVSvcTool.h.
|
overridevirtual |
Read in the next set of IOVRanges
Definition at line 153 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 1038 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 1029 of file IOVSvcTool.cxx.
|
inlineoverridevirtual |
Definition at line 138 of file IOVSvcTool.h.
|
inlineoverridevirtual |
Definition at line 142 of file IOVSvcTool.h.
|
overridevirtual |
Definition at line 83 of file IOVSvcTool.cxx.
|
private |
|
overridevirtual |
add to a set of TADs that who's data will be preLoaded
Definition at line 607 of file IOVSvcTool.cxx.
|
private |
Definition at line 803 of file IOVSvcTool.cxx.
|
overridevirtual |
add to a set of TADs that will be registered at start of first event
Definition at line 578 of file IOVSvcTool.cxx.
|
private |
Definition at line 931 of file IOVSvcTool.cxx.
|
private |
|
private |
Definition at line 878 of file IOVSvcTool.cxx.
|
private |
Definition at line 905 of file IOVSvcTool.cxx.
|
overridevirtual |
Register a DataProxy with the service.
Definition at line 538 of file IOVSvcTool.cxx.
|
overridevirtual |
Register a DataProxy with the service.
Definition at line 405 of file IOVSvcTool.cxx.
|
overridevirtual |
replace a registered DataProxy with a new version
Definition at line 490 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 1055 of file IOVSvcTool.cxx.
|
private |
Definition at line 957 of file IOVSvcTool.cxx.
|
private |
Definition at line 994 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 676 of file IOVSvcTool.cxx.
|
private |
Definition at line 632 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 767 of file IOVSvcTool.cxx.
|
inlineoverridevirtual |
Definition at line 84 of file IOVSvcTool.h.
|
inlineprivate |
Definition at line 190 of file IOVSvcTool.h.
|
inlineprivate |
Definition at line 192 of file IOVSvcTool.h.
|
mutableprivate |
Definition at line 165 of file IOVSvcTool.h.
|
private |
Definition at line 197 of file IOVSvcTool.h.
|
private |
Definition at line 199 of file IOVSvcTool.h.
|
private |
Definition at line 179 of file IOVSvcTool.h.
|
private |
Definition at line 196 of file IOVSvcTool.h.
|
private |
Definition at line 198 of file IOVSvcTool.h.
|
private |
Definition at line 206 of file IOVSvcTool.h.
|
private |
Definition at line 176 of file IOVSvcTool.h.
|
private |
Definition at line 177 of file IOVSvcTool.h.
|
private |
Definition at line 163 of file IOVSvcTool.h.
|
private |
Definition at line 203 of file IOVSvcTool.h.
|
private |
Definition at line 194 of file IOVSvcTool.h.
|
private |
Definition at line 187 of file IOVSvcTool.h.
|
private |
Definition at line 202 of file IOVSvcTool.h.
|
private |
Definition at line 204 of file IOVSvcTool.h.
|
private |
Definition at line 201 of file IOVSvcTool.h.
|
private |
Definition at line 174 of file IOVSvcTool.h.
|
private |
Definition at line 205 of file IOVSvcTool.h.
|
private |
Definition at line 184 of file IOVSvcTool.h.
|
private |
Definition at line 184 of file IOVSvcTool.h.
|
private |
Definition at line 185 of file IOVSvcTool.h.
|
private |
Definition at line 185 of file IOVSvcTool.h.
|
private |
Definition at line 155 of file IOVSvcTool.h.
|
private |
Definition at line 207 of file IOVSvcTool.h.
|
private |
Definition at line 160 of file IOVSvcTool.h.
|
private |
Definition at line 157 of file IOVSvcTool.h.
|
private |
Definition at line 158 of file IOVSvcTool.h.
|
private |
Definition at line 159 of file IOVSvcTool.h.
|
private |
Definition at line 181 of file IOVSvcTool.h.
|
private |
Definition at line 182 of file IOVSvcTool.h.
|
private |
Definition at line 161 of file IOVSvcTool.h.