#include <CachedGetAssocTruth.h>
Definition at line 21 of file CachedGetAssocTruth.h.
◆ CachedGetAssocTruth() [1/3]
IDPVM::CachedGetAssocTruth::CachedGetAssocTruth |
( |
| ) |
|
|
default |
◆ CachedGetAssocTruth() [2/3]
◆ ~CachedGetAssocTruth()
IDPVM::CachedGetAssocTruth::~CachedGetAssocTruth |
( |
| ) |
|
|
default |
◆ CachedGetAssocTruth() [3/3]
◆ clear()
void IDPVM::CachedGetAssocTruth::clear |
( |
| ) |
|
◆ getTruth()
Definition at line 29 of file CachedGetAssocTruth.cxx.
30 if (not trackParticle) {
33 auto pCache =
m_cache.find(trackParticle);
35 return pCache->second;
41 if (truthParticleLinkAcc.isAvailable(*trackParticle)) {
43 const ElementTruthLink_t ptruthContainer = truthParticleLinkAcc(*trackParticle);
44 if (ptruthContainer.isValid()) {
◆ neededTrackParticleDecorations()
void IDPVM::CachedGetAssocTruth::neededTrackParticleDecorations |
( |
std::vector< std::string > & |
decorations | ) |
|
|
static |
◆ operator()()
◆ operator=() [1/2]
◆ operator=() [2/2]
copy and assignment are not possible
◆ m_cache
◆ s_trackParticleLinkDecorationName
const std::string IDPVM::CachedGetAssocTruth::s_trackParticleLinkDecorationName |
|
staticprivate |
The documentation for this class was generated from the following files:
Class describing a truth particle in the MC record.