#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 22 of file CachedGetAssocTruth.cxx.
23 if (not trackParticle) {
26 auto pCache =
m_cache.find(trackParticle);
28 return pCache->second;
34 if (truthParticleLinkAcc.isAvailable(*trackParticle)) {
36 const ElementTruthLink_t ptruthContainer = truthParticleLinkAcc(*trackParticle);
37 if (ptruthContainer.isValid()) {
◆ operator()()
◆ operator=() [1/2]
◆ operator=() [2/2]
copy and assignment are not possible
◆ m_cache
The documentation for this class was generated from the following files:
Class describing a truth particle in the MC record.