ATLAS Offline Software
|
Small structure to hold an algorithm's name and store, plus some details on its EventView. The AI also keeps a pointer to the EventContext and MsgService, this is for convenience such that methods which use the AI don't need to be additionally passed these. More...
#include <AlgorithmIdentifier.h>
Public Member Functions | |
AlgorithmIdentifier () | |
AlgorithmIdentifier (const size_t realSlot, const size_t saveSlot, const std::string &caller, const std::string &storeName, const int16_t viewID=-1) | |
~AlgorithmIdentifier ()=default | |
TrigConf::HLTHash | callerHash (MsgStream &msg) const |
TrigConf::HLTHash | storeHash (MsgStream &msg) const |
StatusCode | isValid () const |
void | dump (MsgStream &msg) |
Public Attributes | |
size_t | m_realSlot |
The actual slot of the algorithm. More... | |
size_t | m_slotToSaveInto |
The slot which is used for the purposes of recording data on this algorithm's execution. More... | |
std::string | m_caller |
Name of the algorithm. More... | |
std::string | m_store |
Name of the algorithm's store. More... | |
int16_t | m_viewID |
If not within an event view, then the m_iewID = s_noView = -1. More... | |
size_t | m_hash |
Hash of algorithm + store + realSlot. More... | |
Static Public Attributes | |
static constexpr int16_t | s_noView = -1 |
Constant value used to express an Algorithm which is not running in a View. More... | |
Small structure to hold an algorithm's name and store, plus some details on its EventView. The AI also keeps a pointer to the EventContext and MsgService, this is for convenience such that methods which use the AI don't need to be additionally passed these.
Definition at line 21 of file AlgorithmIdentifier.h.
AlgorithmIdentifier::AlgorithmIdentifier | ( | ) |
Definition at line 13 of file AlgorithmIdentifier.cxx.
AlgorithmIdentifier::AlgorithmIdentifier | ( | const size_t | realSlot, |
const size_t | saveSlot, | ||
const std::string & | caller, | ||
const std::string & | storeName, | ||
const int16_t | viewID = -1 |
||
) |
Definition at line 24 of file AlgorithmIdentifier.cxx.
|
default |
TrigConf::HLTHash AlgorithmIdentifier::callerHash | ( | MsgStream & | msg | ) | const |
Definition at line 35 of file AlgorithmIdentifier.cxx.
void AlgorithmIdentifier::dump | ( | MsgStream & | msg | ) |
Definition at line 66 of file AlgorithmIdentifier.cxx.
StatusCode AlgorithmIdentifier::isValid | ( | ) | const |
Definition at line 57 of file AlgorithmIdentifier.cxx.
TrigConf::HLTHash AlgorithmIdentifier::storeHash | ( | MsgStream & | msg | ) | const |
Definition at line 46 of file AlgorithmIdentifier.cxx.
std::string AlgorithmIdentifier::m_caller |
Name of the algorithm.
Definition at line 33 of file AlgorithmIdentifier.h.
size_t AlgorithmIdentifier::m_hash |
Hash of algorithm + store + realSlot.
Multi-event-unique quantity (I.e. unique even with –concurrent-events > 1). Cached for speed.
Definition at line 36 of file AlgorithmIdentifier.h.
size_t AlgorithmIdentifier::m_realSlot |
The actual slot of the algorithm.
Definition at line 31 of file AlgorithmIdentifier.h.
size_t AlgorithmIdentifier::m_slotToSaveInto |
The slot which is used for the purposes of recording data on this algorithm's execution.
Note: might not be the actual slot of the alg
Definition at line 32 of file AlgorithmIdentifier.h.
std::string AlgorithmIdentifier::m_store |
Name of the algorithm's store.
e.g. '0_StoreGateSvc_Impl' for the main store.
Definition at line 34 of file AlgorithmIdentifier.h.
int16_t AlgorithmIdentifier::m_viewID |
If not within an event view, then the m_iewID = s_noView = -1.
Definition at line 35 of file AlgorithmIdentifier.h.
|
staticconstexpr |
Constant value used to express an Algorithm which is not running in a View.
Definition at line 38 of file AlgorithmIdentifier.h.