DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Public Member Functions | |
LazyEncodingExtraction (Geant4HitCollection *coll) | |
operator std::string () const | |
Private Attributes | |
Geant4HitCollection * | m_coll {nullptr} |
Helper struct that can be used together with map::try_emplace to construct the encoding only once per collection (name).
Definition at line 488 of file Geant4Output2EDM4hep.cpp.
|
inline |
Constructor that does effectively nothing. This will be called in every try_emplace call
Definition at line 491 of file Geant4Output2EDM4hep.cpp.
|
inline |
Defer the real work to the implicit conversion to std::string that will only be called if the value is actually emplaced into the map
Definition at line 494 of file Geant4Output2EDM4hep.cpp.
|
private |
Definition at line 499 of file Geant4Output2EDM4hep.cpp.