![]() |
DD4hep
1.33.0
Detector Description Toolkit for High Energy Physics
|
Helper union to interprete conditions keys. More...
#include <Conditions.h>
Public Member Functions | |
| KeyMaker () | |
| KeyMaker (Condition::key_type k) | |
| KeyMaker (Condition::detkey_type det, Condition::itemkey_type item) | |
| KeyMaker (Condition::detkey_type det, const std::string &value) | |
| Constructor from string. More... | |
| KeyMaker (DetElement detector, const std::string &value) | |
| Constructor from string. More... | |
| KeyMaker (DetElement detector, Condition::itemkey_type item_key) | |
| Constructor from detector element and item sub-key. More... | |
Public Attributes | |
| Condition::key_type | hash |
| struct { | |
| Condition::itemkey_type item_key | |
| Condition::detkey_type det_key | |
| } | values |
|
inline |
Definition at line 305 of file Conditions.h.
|
inline |
Definition at line 308 of file Conditions.h.
|
inline |
Definition at line 311 of file Conditions.h.
| ConditionKey::KeyMaker::KeyMaker | ( | Condition::detkey_type | det, |
| const std::string & | value | ||
| ) |
Constructor from string.
Definition at line 233 of file Conditions.cpp.
| ConditionKey::KeyMaker::KeyMaker | ( | DetElement | detector, |
| const std::string & | value | ||
| ) |
Constructor from string.
Definition at line 221 of file Conditions.cpp.
| ConditionKey::KeyMaker::KeyMaker | ( | DetElement | detector, |
| Condition::itemkey_type | item_key | ||
| ) |
Constructor from detector element and item sub-key.
Definition at line 228 of file Conditions.cpp.
| Condition::detkey_type dd4hep::ConditionKey::KeyMaker::det_key |
Definition at line 303 of file Conditions.h.
| Condition::key_type dd4hep::ConditionKey::KeyMaker::hash |
Definition at line 296 of file Conditions.h.
| Condition::itemkey_type dd4hep::ConditionKey::KeyMaker::item_key |
Definition at line 302 of file Conditions.h.
| struct { ... } dd4hep::ConditionKey::KeyMaker::values |
Note: The memory layout is important here to have properly ordered maps. The detector key MUST be on the high end of the resulting int64 'hash'.
1.8.18