DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
#include <DetectorData.h>
Public Member Functions | |
template<typename T > | |
const T & | get (const std::string &key) const |
template<typename T > | |
T & | get (const std::string &key) |
template<typename T > | |
T | value_or (const std::string &key, T alternative) const |
template<typename T > | |
void | set (const std::string &key, T value) |
bool | contains (const std::string &key) const |
Public Attributes | |
std::map< std::string, boost::variant< double, int, std::string, bool > > | variantParameters {} |
Data structure that holds a map of string keys to a typesafe union of double, int, string or bool. It can be used as an extension object for detector elements to attach arbitrary information
Definition at line 513 of file DetectorData.h.
|
inline |
Definition at line 548 of file DetectorData.h.
|
inline |
Definition at line 526 of file DetectorData.h.
|
inline |
Definition at line 517 of file DetectorData.h.
|
inline |
Definition at line 544 of file DetectorData.h.
|
inline |
Definition at line 535 of file DetectorData.h.
std::map<std::string, boost::variant<double, int, std::string, bool> > dd4hep::rec::MapStringVariantStruct::variantParameters {} |
Definition at line 514 of file DetectorData.h.