![]() |
ATLAS Offline Software
|
#include <IOVDbCrestTag.h>
Classes | |
| struct | Resident |
Public Types | |
| enum class | source_t { COOLDB =0 , CRESTDB } |
Public Member Functions | |
| IOVDbCrestTag (IOVDbConn *conn, const IOVDbParser &folderprop, MsgStream &msg, IClassIDSvc *clidsvc, IIOVDbMetaDataTool *metadatatool, chai::Database &db, const std::string &crestTagName) | |
| ~IOVDbCrestTag () | |
| const std::string & | key () const override |
| const source_t & | source () const override |
| IOVDbConn * | conn () override |
| bool | multiVersion () const override |
| bool | timeStamp () const override |
| bool | tagOverride () const override |
| bool | retrieved () const override |
| bool | noOverride () const override |
| IOVDbNamespace::FolderType | folderType () const override |
| bool | readMeta () const override |
| bool | writeMeta () const override |
| bool | fromMetaDataOnly () const override |
| bool | extensible () const override |
| bool | dropped () const override |
| bool | iovOverridden () const override |
| const std::string & | joTag () const override |
| const std::string & | resolvedTag () const override |
| const std::string & | eventStore () const override |
| CLID | clid () const override |
| unsigned long long | bytesRead () const override |
| float | readTime () const override |
| const IOVRange & | currentRange () const override |
| void | useFileMetaData () override |
| void | setFolderDescription (const std::string &description) override |
| void | setTagOverride (const std::string &tag, const bool setFlag) override |
| void | setWriteMeta () override |
| void | setIOVOverride (const unsigned int run, const unsigned int lumiblock, const unsigned int time) override |
| void | setDropped (const bool dropped) override |
| cool::ValidityKey | iovTime (const IOVTime &reftime) const override |
| bool | isResident (const cool::ValidityKey reftime) const override |
| bool | loadAt (const cool::ValidityKey vkey) override |
| void | reset () override |
| bool | getAddress (const cool::ValidityKey reftime, IAddressCreator *persSvc, const unsigned int poolSvcContext, std::unique_ptr< IOpaqueAddress > &address, IOVRange &range, bool &poolPayloadRequested) override |
| void | summary () override |
| std::unique_ptr< SG::TransientAddress > | preload (ITagInfoMgr *tagInfoMgr, const unsigned int cacheRun, const unsigned int cacheTime) override |
| std::string | dumpChannelsAsJson (cool::ValidityKey reftime) const |
| void | printState () override |
| bool | loadCacheIfDbChanged (const cool::ValidityKey vkey, const cool::IDatabasePtr &dbPtr, const ServiceHandle< IIOVSvc > &iovSvc) override |
| 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. | |
| const std::string & | folderName () const |
Protected Attributes | |
| std::string | m_foldername |
| Folder name, as it appears in COOL or as a CREST tag label. | |
| std::string | m_key |
| SG key where data is loaded (unique). | |
Private Member Functions | |
| IOVDbNamespace::FolderType | determineFolderType () const |
| std::unique_ptr< SG::TransientAddress > | createTransientAddress (const std::vector< std::string > &symlinks) |
| bool | addMetaAttrList (const coral::AttributeList &atrlist, const IOVRange &range) |
| bool | addMetaAttrListColl (const CondAttrListCollection *coll) |
| bool | channelInSelection (cool::ChannelId chan) const |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| IClassIDSvc * | p_clidSvc {nullptr} |
| IIOVDbMetaDataTool * | p_metaDataTool {nullptr} |
| IOVDbConn * | m_conn {nullptr} |
| Unused for CREST I/O; kept for per-connection usage counting. | |
| chai::Database * | m_db {nullptr} |
| Non-owning pointer to the shared chai::Database. | |
| chai::TagPtr | m_tag |
| Resolved in preload(). Stays null for a metadata-only folder. | |
| std::string | m_folderDescription |
| bool | m_timestamp {false} |
| Indexed by timestamp (else runLB), from tag->getIovType(). | |
| bool | m_tagoverride {false} |
| Unused on the CREST path. Present to satisfy IOVDbConditionsSource. | |
| bool | m_notagoverride {false} |
| Unused on the CREST path. Present to satisfy IOVDbConditionsSource. | |
| 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} |
| cool::ValidityKey | m_iovoverride {0} |
| IOVDbNamespace::FolderType | m_foldertype {IOVDbNamespace::UNKNOWN} |
| std::string | m_jotag |
| Explicit <tag>/<ctag> from job options. Used only for /TagInfo. | |
| std::string | m_resolvedTagName |
| The CREST tag name actually used for lookup. | |
| std::string | m_eventstore |
| std::string | m_addrheader |
| std::string | m_typename |
| CLID | m_clid {0} |
| unsigned int | m_ncacheread {0} |
| unsigned int | m_ndbread {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 |
| std::vector< std::pair< cool::ChannelId, cool::ChannelId > > | m_chanrange |
| bool | m_retrieved {false} |
| IOVRange | m_currange |
| coral::AttributeListSpecification * | m_cachespec {nullptr} |
| std::optional< Resident > | m_resident |
| 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 51 of file IOVDbCrestTag.h.
|
stronginherited |
| Enumerator | |
|---|---|
| COOLDB | |
| CRESTDB | |
Definition at line 36 of file IOVDbConditionsSource.h.
| IOVDbCrestTag::IOVDbCrestTag | ( | IOVDbConn * | conn, |
| const IOVDbParser & | folderprop, | ||
| MsgStream & | msg, | ||
| IClassIDSvc * | clidsvc, | ||
| IIOVDbMetaDataTool * | metadatatool, | ||
| chai::Database & | db, | ||
| const std::string & | crestTagName ) |
Definition at line 43 of file IOVDbCrestTag.cxx.
| IOVDbCrestTag::~IOVDbCrestTag | ( | ) |
Definition at line 100 of file IOVDbCrestTag.cxx.
|
private |
Definition at line 451 of file IOVDbCrestTag.cxx.
|
private |
Definition at line 458 of file IOVDbCrestTag.cxx.
|
inlineoverridevirtual |
|
private |
Definition at line 471 of file IOVDbCrestTag.cxx.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
private |
Definition at line 191 of file IOVDbCrestTag.cxx.
|
private |
Definition at line 157 of file IOVDbCrestTag.cxx.
|
inlineoverridevirtual |
| std::string IOVDbCrestTag::dumpChannelsAsJson | ( | cool::ValidityKey | reftime | ) | const |
Definition at line 697 of file IOVDbCrestTag.cxx.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineinherited |
Definition at line 62 of file IOVDbConditionsSource.h.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
Implements IOVDbConditionsSource.
Definition at line 483 of file IOVDbCrestTag.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inlineoverridevirtual |
Implements IOVDbConditionsSource.
Definition at line 146 of file IOVDbCrestTag.cxx.
|
inlineoverridevirtual |
Implements IOVDbConditionsSource.
Definition at line 269 of file IOVDbCrestTag.h.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
Implements IOVDbConditionsSource.
Definition at line 348 of file IOVDbCrestTag.cxx.
|
overridevirtual |
Implements IOVDbConditionsSource.
Definition at line 444 of file IOVDbCrestTag.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 167 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 182 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.
|
inlineoverridevirtual |
Implements IOVDbConditionsSource.
Definition at line 227 of file IOVDbCrestTag.h.
|
inlineoverridevirtual |
|
overridevirtual |
Implements IOVDbConditionsSource.
Definition at line 209 of file IOVDbCrestTag.cxx.
|
overridevirtual |
Implements IOVDbConditionsSource.
Definition at line 679 of file IOVDbCrestTag.cxx.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
Implements IOVDbConditionsSource.
Definition at line 153 of file IOVDbCrestTag.cxx.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
Implements IOVDbConditionsSource.
Definition at line 127 of file IOVDbCrestTag.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.
Implements IOVDbConditionsSource.
Definition at line 114 of file IOVDbCrestTag.cxx.
|
overridevirtual |
Implements IOVDbConditionsSource.
Definition at line 123 of file IOVDbCrestTag.cxx.
|
inlineoverridevirtual |
Implements IOVDbConditionsSource.
Definition at line 220 of file IOVDbCrestTag.h.
|
overridevirtual |
Implements IOVDbConditionsSource.
Definition at line 669 of file IOVDbCrestTag.cxx.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
Implements IOVDbConditionsSource.
Definition at line 106 of file IOVDbCrestTag.cxx.
|
inlineoverridevirtual |
|
mutableprivateinherited |
Messaging initialized (initMessaging).
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 191 of file IOVDbCrestTag.h.
|
private |
Definition at line 214 of file IOVDbCrestTag.h.
|
private |
Definition at line 203 of file IOVDbCrestTag.h.
|
private |
Definition at line 202 of file IOVDbCrestTag.h.
|
private |
Definition at line 207 of file IOVDbCrestTag.h.
|
private |
Definition at line 193 of file IOVDbCrestTag.h.
|
private |
Unused for CREST I/O; kept for per-connection usage counting.
Definition at line 167 of file IOVDbCrestTag.h.
|
private |
Definition at line 210 of file IOVDbCrestTag.h.
|
private |
Non-owning pointer to the shared chai::Database.
Definition at line 168 of file IOVDbCrestTag.h.
|
private |
Definition at line 184 of file IOVDbCrestTag.h.
|
private |
Definition at line 190 of file IOVDbCrestTag.h.
|
private |
Definition at line 180 of file IOVDbCrestTag.h.
|
private |
Definition at line 171 of file IOVDbCrestTag.h.
|
protectedinherited |
Folder name, as it appears in COOL or as a CREST tag label.
Definition at line 123 of file IOVDbConditionsSource.h.
|
private |
Definition at line 186 of file IOVDbCrestTag.h.
|
private |
Definition at line 179 of file IOVDbCrestTag.h.
|
mutableprivateinherited |
|
private |
Definition at line 182 of file IOVDbCrestTag.h.
|
private |
Definition at line 185 of file IOVDbCrestTag.h.
|
private |
Definition at line 183 of file IOVDbCrestTag.h.
|
private |
Explicit <tag>/<ctag> from job options. Used only for /TagInfo.
Definition at line 188 of file IOVDbCrestTag.h.
|
protectedinherited |
SG key where data is loaded (unique).
Definition at line 124 of file IOVDbConditionsSource.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 181 of file IOVDbCrestTag.h.
|
private |
Definition at line 198 of file IOVDbCrestTag.h.
|
private |
Definition at line 195 of file IOVDbCrestTag.h.
|
private |
Definition at line 201 of file IOVDbCrestTag.h.
|
private |
Definition at line 196 of file IOVDbCrestTag.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Definition at line 197 of file IOVDbCrestTag.h.
|
private |
Unused on the CREST path. Present to satisfy IOVDbConditionsSource.
Definition at line 175 of file IOVDbCrestTag.h.
|
private |
Definition at line 199 of file IOVDbCrestTag.h.
|
private |
Definition at line 216 of file IOVDbCrestTag.h.
|
private |
The CREST tag name actually used for lookup.
Definition at line 189 of file IOVDbCrestTag.h.
|
private |
Definition at line 209 of file IOVDbCrestTag.h.
|
private |
Resolved in preload(). Stays null for a metadata-only folder.
Definition at line 169 of file IOVDbCrestTag.h.
|
private |
Unused on the CREST path. Present to satisfy IOVDbConditionsSource.
Definition at line 174 of file IOVDbCrestTag.h.
|
private |
Indexed by timestamp (else runLB), from tag->getIovType().
Definition at line 172 of file IOVDbCrestTag.h.
|
private |
Definition at line 192 of file IOVDbCrestTag.h.
|
private |
Definition at line 178 of file IOVDbCrestTag.h.
|
private |
Definition at line 177 of file IOVDbCrestTag.h.
|
private |
Definition at line 165 of file IOVDbCrestTag.h.
|
private |
Definition at line 166 of file IOVDbCrestTag.h.