![]() |
ATLAS Offline Software
|
#include <IOVDbFolder.h>
Public Member Functions | |
| IOVDbFolder (IOVDbConn *conn, const IOVDbParser &folderprop, MsgStream &msg, IClassIDSvc *clidsvc, IIOVDbMetaDataTool *metadatatool, const bool checklock, const bool outputToFile=false, const std::string &source="COOL_DATABASE", const std::string &crestServer="", const std::string &crestTag="", const bool crestCoolToFile=false) | |
| ~IOVDbFolder () | |
| const std::string & | folderName () const |
| const std::string & | key () const |
| IOVDbConn * | conn () |
| bool | multiVersion () const |
| bool | timeStamp () const |
| bool | tagOverride () const |
| bool | retrieved () const |
| bool | noOverride () const |
| IOVDbNamespace::FolderType | folderType () const |
| bool | readMeta () const |
| bool | writeMeta () const |
| bool | fromMetaDataOnly () const |
| bool | extensible () const |
| bool | dropped () const |
| bool | iovOverridden () const |
| const std::string & | joTag () const |
| const std::string & | resolvedTag () const |
| const std::string & | eventStore () const |
| CLID | clid () const |
| unsigned long long | bytesRead () const |
| float | readTime () const |
| const IOVRange & | currentRange () const |
| void | useFileMetaData () |
| void | setFolderDescription (const std::string &description) |
| void | setTagOverride (const std::string &tag, const bool setFlag) |
| void | setWriteMeta () |
| void | setIOVOverride (const unsigned int run, const unsigned int lumiblock, const unsigned int time) |
| void | setDropped (const bool dropped) |
| cool::ValidityKey | iovTime (const IOVTime &reftime) const |
| bool | cacheValid (const cool::ValidityKey reftime) const |
| bool | loadCache (const cool::ValidityKey vkey, const unsigned int cacheDiv, const std::string &globalTag, const bool ignoreMissChan) |
| void | resetCache () |
| bool | getAddress (const cool::ValidityKey reftime, IAddressCreator *persSvc, const unsigned int poolSvcContext, std::unique_ptr< IOpaqueAddress > &address, IOVRange &range, bool &poolPayloadRequested) |
| void | summary () |
| std::unique_ptr< SG::TransientAddress > | preLoadFolder (ITagInfoMgr *tagInfoMgr, const unsigned int cacheRun, const unsigned int cacheTime) |
| void | printCache () |
| bool | loadCacheIfDbChanged (const cool::ValidityKey vkey, const std::string &globalTag, const cool::IDatabasePtr &dbPtr, const ServiceHandle< IIOVSvc > &iovSvc) |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Private Types | |
| using | IOVHash = std::pair<IOVDbNamespace::IovStore::Iov_t,std::string> |
| using | IOV2Index = std::pair<cool::ValidityKey,size_t> |
| typedef std::pair< cool::ChannelId, cool::ChannelId > | ChanRange |
Private Member Functions | |
| void | clearCache () |
| bool | resolveTag (const cool::IFolderPtr &fptr, const std::string &globalTag) |
| bool | magicTag (std::string &tag) |
| bool | addMetaAttrList (const coral::AttributeList &atrlist, const IOVRange &range) |
| bool | addMetaAttrListColl (const CondAttrListCollection *coll) |
| void | setSharedSpec (const coral::AttributeList &atrlist) |
| void | addIOVtoCache (cool::ValidityKey since, cool::ValidityKey until) |
| bool | overrideOptionsFromParsedDescription (const IOVDbParser &parsedDescription) |
| std::unique_ptr< SG::TransientAddress > | createTransientAddress (const std::vector< std::string > &symlinks) |
| void | setCacheLength (const bool timeIs_nsOfEpoch, const unsigned int cacheRun, const unsigned int cacheTime) |
| template<class T> | |
| unsigned int | cacheUpdateImplementation (T &obj, const ServiceHandle< IIOVSvc > &iovSvc) |
| bool | objectIteratorIsValid (cool::IObjectIteratorPtr &objItr) |
| bool | objectIteratorIsValid (CoraCoolObjectIterPtr &objItr) |
| void | specialCacheUpdate (CoraCoolObject &obj, const ServiceHandle< IIOVSvc > &iovSvc) |
| void | specialCacheUpdate (const cool::IObject &obj, const ServiceHandle< IIOVSvc > &iovSvc) |
| std::vector< IOVHash > | fetchCrestIOVs (cool::ValidityKey since, cool::ValidityKey until) |
| std::vector< IOVHash > | fetchCrestObjects (cool::ValidityKey since, cool::ValidityKey until, cool::ValidityKey vkey) |
| void | dumpFile (const std::string &dumpName, const cool::ValidityKey &vkey, IOVDbNamespace::Cool2Json *json, bool skipCoolIoV, CoralCrestManager *mng=NULL, const cool::ValidityKey crestVkey=0) const |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| ITagInfoMgr * | p_tagInfoMgr {nullptr} |
| IClassIDSvc * | p_clidSvc {nullptr} |
| IIOVDbMetaDataTool * | p_metaDataTool {nullptr} |
| IOVDbConn * | m_conn {nullptr} |
| std::string | m_foldername |
| std::string | m_key |
| std::string | m_folderDescription |
| bool | m_multiversion {false} |
| bool | m_timestamp {false} |
| bool | m_tagoverride {false} |
| bool | m_notagoverride {false} |
| bool | m_writemeta {false} |
| bool | m_useFileMetaData {false} |
| bool | m_fromMetaDataOnly {false} |
| bool | m_extensible {false} |
| bool | m_named {false} |
| bool | m_iovoverridden {false} |
| bool | m_jokey {false} |
| bool | m_dropped {false} |
| bool | m_autocache {true} |
| bool | m_checklock {true} |
| cool::ValidityKey | m_iovoverride {0} |
| IOVDbNamespace::FolderType | m_foldertype |
| cool::ValidityKey | m_cachelength {0} |
| int | m_cachehint {0} |
| int | m_cacheinc {0} |
| cool::ChannelSelection | m_chansel |
| std::vector< ChanRange > | m_chanrange |
| std::string | m_jotag |
| std::string | m_tag |
| std::string | m_typename |
| std::string | m_eventstore |
| std::string | m_cachepar |
| std::string | m_addrheader |
| CLID | m_clid {0} |
| unsigned int | m_ndbread {0} |
| unsigned int | m_ncacheread {0} |
| unsigned int | m_nobjread {0} |
| unsigned long long | m_nbytesread {0} |
| float | m_readtime {0} |
| unsigned int | m_nchan {0} |
| std::vector< cool::ChannelId > | m_channums |
| std::vector< std::string > | m_channames |
| bool | m_retrieved {false} |
| IOVRange | m_currange |
| coral::AttributeListSpecification * | m_cachespec {nullptr} |
| std::vector< cool::ChannelId > | m_cachechan |
| std::vector< coral::AttributeList > | m_cacheattr |
| std::vector< unsigned int > | m_cacheccstart |
| std::vector< unsigned int > | m_cacheccend |
| IOVDbNamespace::IovStore | m_iovs |
| const bool | m_outputToFile {false} |
| const bool | m_crestCoolToFile {false} |
| const std::string | m_source |
| const std::string | m_crestServer |
| const std::string | m_crestTag |
| std::optional< CoralCrestManager > | m_crest_mng |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) | |
Definition at line 50 of file IOVDbFolder.h.
|
private |
Definition at line 284 of file IOVDbFolder.h.
|
private |
Definition at line 235 of file IOVDbFolder.h.
|
private |
Definition at line 234 of file IOVDbFolder.h.
| IOVDbFolder::IOVDbFolder | ( | IOVDbConn * | conn, |
| const IOVDbParser & | folderprop, | ||
| MsgStream & | msg, | ||
| IClassIDSvc * | clidsvc, | ||
| IIOVDbMetaDataTool * | metadatatool, | ||
| const bool | checklock, | ||
| const bool | outputToFile = false, | ||
| const std::string & | source = "COOL_DATABASE", | ||
| const std::string & | crestServer = "", | ||
| const std::string & | crestTag = "", | ||
| const bool | crestCoolToFile = false ) |
Definition at line 71 of file IOVDbFolder.cxx.
| IOVDbFolder::~IOVDbFolder | ( | ) |
Definition at line 161 of file IOVDbFolder.cxx.
|
private |
Definition at line 1091 of file IOVDbFolder.cxx.
|
private |
Definition at line 1051 of file IOVDbFolder.cxx.
|
private |
Definition at line 1063 of file IOVDbFolder.cxx.
|
inline |
Definition at line 369 of file IOVDbFolder.h.
|
inlineprivate |
Definition at line 175 of file IOVDbFolder.h.
|
inline |
Definition at line 377 of file IOVDbFolder.h.
|
private |
Definition at line 976 of file IOVDbFolder.cxx.
|
inline |
Definition at line 367 of file IOVDbFolder.h.
|
inline |
Definition at line 330 of file IOVDbFolder.h.
|
private |
Definition at line 865 of file IOVDbFolder.cxx.
|
inline |
Definition at line 375 of file IOVDbFolder.h.
|
inline |
Definition at line 356 of file IOVDbFolder.h.
|
private |
Definition at line 1136 of file IOVDbFolder.cxx.
|
inline |
Definition at line 364 of file IOVDbFolder.h.
|
inline |
Definition at line 354 of file IOVDbFolder.h.
|
private |
Definition at line 1112 of file IOVDbFolder.cxx.
|
private |
Definition at line 1181 of file IOVDbFolder.cxx.
|
inline |
Definition at line 327 of file IOVDbFolder.h.
|
inline |
Definition at line 342 of file IOVDbFolder.h.
|
inline |
Definition at line 352 of file IOVDbFolder.h.
| bool IOVDbFolder::getAddress | ( | const cool::ValidityKey | reftime, |
| IAddressCreator * | persSvc, | ||
| const unsigned int | poolSvcContext, | ||
| std::unique_ptr< IOpaqueAddress > & | address, | ||
| IOVRange & | range, | ||
| bool & | poolPayloadRequested ) |
Definition at line 625 of file IOVDbFolder.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inline |
Definition at line 358 of file IOVDbFolder.h.
| cool::ValidityKey IOVDbFolder::iovTime | ( | const IOVTime & | reftime | ) | const |
Definition at line 216 of file IOVDbFolder.cxx.
|
inline |
Definition at line 360 of file IOVDbFolder.h.
|
inline |
Definition at line 328 of file IOVDbFolder.h.
| bool IOVDbFolder::loadCache | ( | const cool::ValidityKey | vkey, |
| const unsigned int | cacheDiv, | ||
| const std::string & | globalTag, | ||
| const bool | ignoreMissChan ) |
Definition at line 225 of file IOVDbFolder.cxx.
| bool IOVDbFolder::loadCacheIfDbChanged | ( | const cool::ValidityKey | vkey, |
| const std::string & | globalTag, | ||
| const cool::IDatabasePtr & | dbPtr, | ||
| const ServiceHandle< IIOVSvc > & | iovSvc ) |
Definition at line 500 of file IOVDbFolder.cxx.
|
private |
Definition at line 1043 of file IOVDbFolder.cxx.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 163 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 178 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
|
inline |
Definition at line 332 of file IOVDbFolder.h.
|
inline |
Definition at line 338 of file IOVDbFolder.h.
|
inlineprivate |
Definition at line 216 of file IOVDbFolder.h.
|
inlineprivate |
Definition at line 221 of file IOVDbFolder.h.
|
private |
Definition at line 823 of file IOVDbFolder.cxx.
| std::unique_ptr< SG::TransientAddress > IOVDbFolder::preLoadFolder | ( | ITagInfoMgr * | tagInfoMgr, |
| const unsigned int | cacheRun, | ||
| const unsigned int | cacheTime ) |
Definition at line 884 of file IOVDbFolder.cxx.
| void IOVDbFolder::printCache | ( | ) |
Definition at line 1098 of file IOVDbFolder.cxx.
|
inline |
Definition at line 348 of file IOVDbFolder.h.
|
inline |
Definition at line 372 of file IOVDbFolder.h.
| void IOVDbFolder::resetCache | ( | ) |
Definition at line 617 of file IOVDbFolder.cxx.
|
inline |
Definition at line 362 of file IOVDbFolder.h.
|
private |
Definition at line 986 of file IOVDbFolder.cxx.
|
inline |
Definition at line 340 of file IOVDbFolder.h.
|
private |
Definition at line 948 of file IOVDbFolder.cxx.
|
inline |
Definition at line 382 of file IOVDbFolder.h.
|
inline |
Definition at line 345 of file IOVDbFolder.h.
| void IOVDbFolder::setIOVOverride | ( | const unsigned int | run, |
| const unsigned int | lumiblock, | ||
| const unsigned int | time ) |
Definition at line 191 of file IOVDbFolder.cxx.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
private |
Definition at line 1077 of file IOVDbFolder.cxx.
| void IOVDbFolder::setTagOverride | ( | const std::string & | tag, |
| const bool | setFlag ) |
Definition at line 176 of file IOVDbFolder.cxx.
| void IOVDbFolder::setWriteMeta | ( | ) |
Definition at line 186 of file IOVDbFolder.cxx.
|
private |
Definition at line 590 of file IOVDbFolder.cxx.
|
private |
Definition at line 564 of file IOVDbFolder.cxx.
| void IOVDbFolder::summary | ( | ) |
Definition at line 808 of file IOVDbFolder.cxx.
|
inline |
Definition at line 336 of file IOVDbFolder.h.
|
inline |
Definition at line 334 of file IOVDbFolder.h.
| void IOVDbFolder::useFileMetaData | ( | ) |
Definition at line 165 of file IOVDbFolder.cxx.
|
inline |
Definition at line 350 of file IOVDbFolder.h.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 293 of file IOVDbFolder.h.
|
private |
Definition at line 274 of file IOVDbFolder.h.
|
private |
Definition at line 314 of file IOVDbFolder.h.
|
private |
Definition at line 316 of file IOVDbFolder.h.
|
private |
Definition at line 315 of file IOVDbFolder.h.
|
private |
Definition at line 313 of file IOVDbFolder.h.
|
private |
Definition at line 280 of file IOVDbFolder.h.
|
private |
Definition at line 281 of file IOVDbFolder.h.
|
private |
Definition at line 279 of file IOVDbFolder.h.
|
private |
Definition at line 292 of file IOVDbFolder.h.
|
private |
Definition at line 312 of file IOVDbFolder.h.
|
private |
Definition at line 305 of file IOVDbFolder.h.
|
private |
Definition at line 304 of file IOVDbFolder.h.
|
private |
Definition at line 285 of file IOVDbFolder.h.
|
private |
Definition at line 283 of file IOVDbFolder.h.
|
private |
Definition at line 275 of file IOVDbFolder.h.
|
private |
Definition at line 294 of file IOVDbFolder.h.
|
private |
Definition at line 258 of file IOVDbFolder.h.
|
private |
Definition at line 324 of file IOVDbFolder.h.
|
private |
Definition at line 319 of file IOVDbFolder.h.
|
private |
Definition at line 321 of file IOVDbFolder.h.
|
private |
Definition at line 322 of file IOVDbFolder.h.
|
private |
Definition at line 309 of file IOVDbFolder.h.
|
private |
Definition at line 273 of file IOVDbFolder.h.
|
private |
Definition at line 291 of file IOVDbFolder.h.
|
private |
Definition at line 269 of file IOVDbFolder.h.
|
private |
Definition at line 261 of file IOVDbFolder.h.
|
private |
Definition at line 259 of file IOVDbFolder.h.
|
private |
Definition at line 277 of file IOVDbFolder.h.
|
private |
Definition at line 268 of file IOVDbFolder.h.
|
mutableprivateinherited |
|
private |
Definition at line 271 of file IOVDbFolder.h.
|
private |
Definition at line 276 of file IOVDbFolder.h.
|
private |
Definition at line 317 of file IOVDbFolder.h.
|
private |
Definition at line 272 of file IOVDbFolder.h.
|
private |
Definition at line 288 of file IOVDbFolder.h.
|
private |
Definition at line 260 of file IOVDbFolder.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
private |
Definition at line 262 of file IOVDbFolder.h.
|
private |
Definition at line 270 of file IOVDbFolder.h.
|
private |
Definition at line 299 of file IOVDbFolder.h.
|
private |
Definition at line 297 of file IOVDbFolder.h.
|
private |
Definition at line 303 of file IOVDbFolder.h.
|
private |
Definition at line 296 of file IOVDbFolder.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Definition at line 298 of file IOVDbFolder.h.
|
private |
Definition at line 265 of file IOVDbFolder.h.
|
private |
Definition at line 318 of file IOVDbFolder.h.
|
private |
Definition at line 300 of file IOVDbFolder.h.
|
private |
Definition at line 308 of file IOVDbFolder.h.
|
private |
Definition at line 320 of file IOVDbFolder.h.
|
private |
Definition at line 289 of file IOVDbFolder.h.
|
private |
Definition at line 264 of file IOVDbFolder.h.
|
private |
Definition at line 263 of file IOVDbFolder.h.
|
private |
Definition at line 290 of file IOVDbFolder.h.
|
private |
Definition at line 267 of file IOVDbFolder.h.
|
private |
Definition at line 266 of file IOVDbFolder.h.
|
private |
Definition at line 256 of file IOVDbFolder.h.
|
private |
Definition at line 257 of file IOVDbFolder.h.
|
private |
Definition at line 255 of file IOVDbFolder.h.