![]() |
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 StatusCode | reinitialize () override |
| virtual void | handle (const Incident &) override |
| virtual void | setStoreName (const std::string &storeName) override |
| virtual const std::string & | getStoreName () const override |
| virtual StatusCode | regFcn (SG::DataProxy *dp, const CallBackID &c, const IOVSvcCallBackFcn &fcn, bool trigger=false) override |
| virtual StatusCode | regFcn (const CallBackID &c1, const CallBackID &c2, const IOVSvcCallBackFcn &fcn2, bool trigger=false) override |
| virtual StatusCode | regFcn (const IAlgTool *ia, const CallBackID &c2, const IOVSvcCallBackFcn &fcn2, bool trigger=false) 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 StatusCode | getTriggeredTools (const std::string &key, std::set< std::string > &tools) override |
| virtual bool | holdsProxy (SG::DataProxy *proxy) const override |
| virtual bool | holdsProxy (const CLID &clid, const std::string &key) const override |
| virtual bool | holdsCallback (const CallBackID &) const override |
| virtual bool | holdsAlgTool (const IAlgTool *ia) const override |
| virtual void | resetAllProxies () override |
| virtual void | ignoreProxy (const CLID &clid, const std::string &key) override |
| virtual void | ignoreProxy (SG::DataProxy *proxy) override |
| virtual | ~IOVSvcTool () |
Private Types | |
| typedef IOVSvcCallBackFcn | BFCN |
| typedef std::multimap< constSG::DataProxy *, BFCN * >::iterator | pmITR |
| typedef std::multimap< BFCN *, constSG::DataProxy * >::iterator | fnITR |
| typedef std::multiset< IOVEntry *, IOVEntry::IOVEntryStartCritereon > | startSet |
| typedef std::multiset< IOVEntry *, IOVEntry::IOVEntryStopCritereon > | stopSet |
| typedef startSet::iterator | startITR |
| typedef stopSet::iterator | stopITR |
| typedef std::map< const void *, std::set< CallBackID > * > | ObjMap |
| typedef std::tuple< CLID, std::string > | TADkey_t |
Private Member Functions | |
| StatusCode | preLoadProxies (const EventContext &ctx) |
| StatusCode | preLoadData () |
| StatusCode | triggerCallback (IOVSvcCallBackFcn *, const std::string &key) |
| StatusCode | triggerCallback (const SG::DataProxy *, const std::string &key) |
| 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 (startSet &pSet, const std::string &type, std::set< SG::DataProxy *, SortDPptr > &proxiesToReset, const IOVTime &curTime) const |
| void | scanStopSet (stopSet &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::multimap< const SG::DataProxy *, BFCN * > | m_proxyMap |
| std::multimap< BFCN *, const SG::DataProxy * > | m_bfcnMap |
| std::set< SG::DataProxy * > | m_ignoredProxies |
| std::set< std::pair< CLID, std::string > > | m_ignoredProxyNames |
| std::map< BFCN *, CallBackID > | m_fcnMap |
| std::map< CallBackID, BFCN * > | m_cbidMap |
| ObjMap | m_objMap |
| std::map< const SG::DataProxy *, IOVEntry * > | m_entries |
| startSet * | p_startSet {nullptr} |
| stopSet * | p_stopSet {nullptr} |
| startSet | m_startSet_Clock |
| startSet | m_startSet_RE |
| stopSet | m_stopSet_Clock |
| stopSet | m_stopSet_RE |
| CBTree * | m_trigTree {nullptr} |
| std::set< const SG::TransientAddress *, SortTADptr > | m_preLoad |
| std::set< TADkey_t > | m_partPreLoad |
| std::atomic< bool > | m_first {true} |
| bool | m_checkOnce {false} |
| bool | m_triggered {false} |
| bool | m_firstEventOfRun {false} |
| bool | m_resetAllCallbacks {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 70 of file IOVSvcTool.h.
|
private |
Definition at line 193 of file IOVSvcTool.h.
|
private |
Definition at line 195 of file IOVSvcTool.h.
|
private |
Definition at line 222 of file IOVSvcTool.h.
|
private |
Definition at line 194 of file IOVSvcTool.h.
|
private |
Definition at line 198 of file IOVSvcTool.h.
|
private |
Definition at line 196 of file IOVSvcTool.h.
|
private |
Definition at line 199 of file IOVSvcTool.h.
|
private |
Definition at line 197 of file IOVSvcTool.h.
|
private |
Definition at line 237 of file IOVSvcTool.h.
| IOVSvcTool::IOVSvcTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 103 of file IOVSvcTool.cxx.
|
virtual |
Definition at line 118 of file IOVSvcTool.cxx.
|
overridevirtual |
Deregister a DataProxy with the service.
Definition at line 704 of file IOVSvcTool.cxx.
|
overridevirtual |
Deregister a DataProxy with the service.
Definition at line 584 of file IOVSvcTool.cxx.
|
private |
Definition at line 1608 of file IOVSvcTool.cxx.
|
private |
Definition at line 1601 of file IOVSvcTool.cxx.
|
private |
Definition at line 1592 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 862 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 899 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 882 of file IOVSvcTool.cxx.
|
inlineoverridevirtual |
Definition at line 91 of file IOVSvcTool.h.
|
overridevirtual |
Definition at line 1431 of file IOVSvcTool.cxx.
|
overridevirtual |
Trigger Callback functions
Clear trigger tree
On reinitialize, one sets a flag to force reset of all callbacks. After executing the callbacks, reset flag and return - no proxies reset and don't need to read in new ranges
Read in the next set of IOVRanges
Definition at line 220 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 1565 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 1556 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 1539 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 1530 of file IOVSvcTool.cxx.
|
inlineoverridevirtual |
Definition at line 161 of file IOVSvcTool.h.
|
inlineoverridevirtual |
Definition at line 165 of file IOVSvcTool.h.
|
overridevirtual |
Definition at line 153 of file IOVSvcTool.cxx.
|
private |
|
overridevirtual |
add to a set of TADs that who's data will be preLoaded
Definition at line 754 of file IOVSvcTool.cxx.
|
private |
Trigger Callback functions
Definition at line 959 of file IOVSvcTool.cxx.
|
overridevirtual |
add to a set of TADs that will be registered at start of first event
Definition at line 724 of file IOVSvcTool.cxx.
|
private |
Definition at line 1167 of file IOVSvcTool.cxx.
|
private |
Definition at line 1182 of file IOVSvcTool.cxx.
|
private |
Definition at line 1112 of file IOVSvcTool.cxx.
|
private |
Definition at line 1140 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 1295 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 1398 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 1206 of file IOVSvcTool.cxx.
|
overridevirtual |
Register a DataProxy with the service.
Definition at line 684 of file IOVSvcTool.cxx.
|
overridevirtual |
Register a DataProxy with the service.
Definition at line 547 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 1449 of file IOVSvcTool.cxx.
|
overridevirtual |
replace a registered DataProxy with a new version
Definition at line 634 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 1576 of file IOVSvcTool.cxx.
|
private |
Definition at line 1458 of file IOVSvcTool.cxx.
|
private |
Definition at line 1495 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 831 of file IOVSvcTool.cxx.
|
private |
Definition at line 779 of file IOVSvcTool.cxx.
|
overridevirtual |
Definition at line 922 of file IOVSvcTool.cxx.
|
inlineoverridevirtual |
Definition at line 88 of file IOVSvcTool.h.
|
inlineprivate |
Definition at line 238 of file IOVSvcTool.h.
|
inlineprivate |
Definition at line 240 of file IOVSvcTool.h.
|
private |
Definition at line 1091 of file IOVSvcTool.cxx.
|
private |
Definition at line 1073 of file IOVSvcTool.cxx.
|
mutableprivate |
Definition at line 203 of file IOVSvcTool.h.
|
private |
Definition at line 214 of file IOVSvcTool.h.
|
private |
Definition at line 220 of file IOVSvcTool.h.
|
private |
Definition at line 245 of file IOVSvcTool.h.
|
private |
Definition at line 249 of file IOVSvcTool.h.
|
private |
Definition at line 225 of file IOVSvcTool.h.
|
private |
Definition at line 219 of file IOVSvcTool.h.
|
private |
Definition at line 244 of file IOVSvcTool.h.
|
private |
Definition at line 247 of file IOVSvcTool.h.
|
private |
Definition at line 256 of file IOVSvcTool.h.
|
private |
Definition at line 216 of file IOVSvcTool.h.
|
private |
Definition at line 217 of file IOVSvcTool.h.
|
private |
Definition at line 201 of file IOVSvcTool.h.
|
private |
Definition at line 223 of file IOVSvcTool.h.
|
private |
Definition at line 253 of file IOVSvcTool.h.
|
private |
Definition at line 242 of file IOVSvcTool.h.
|
private |
Definition at line 235 of file IOVSvcTool.h.
|
private |
Definition at line 252 of file IOVSvcTool.h.
|
private |
Definition at line 254 of file IOVSvcTool.h.
|
private |
Definition at line 251 of file IOVSvcTool.h.
|
private |
Definition at line 212 of file IOVSvcTool.h.
|
private |
Definition at line 213 of file IOVSvcTool.h.
|
private |
Definition at line 248 of file IOVSvcTool.h.
|
private |
Definition at line 255 of file IOVSvcTool.h.
|
private |
Definition at line 230 of file IOVSvcTool.h.
|
private |
Definition at line 230 of file IOVSvcTool.h.
|
private |
Definition at line 231 of file IOVSvcTool.h.
|
private |
Definition at line 231 of file IOVSvcTool.h.
|
private |
Definition at line 183 of file IOVSvcTool.h.
|
private |
Definition at line 246 of file IOVSvcTool.h.
|
private |
Definition at line 233 of file IOVSvcTool.h.
|
private |
Definition at line 257 of file IOVSvcTool.h.
|
private |
Definition at line 188 of file IOVSvcTool.h.
|
private |
Definition at line 185 of file IOVSvcTool.h.
|
private |
Definition at line 186 of file IOVSvcTool.h.
|
private |
Definition at line 187 of file IOVSvcTool.h.
|
private |
Definition at line 227 of file IOVSvcTool.h.
|
private |
Definition at line 228 of file IOVSvcTool.h.
|
private |
Definition at line 189 of file IOVSvcTool.h.