ATLAS Offline Software
Loading...
Searching...
No Matches
ActsTrk::TruthParticleHitCountAlg::AssociationCounter< IsDebug > Struct Template Reference
Collaboration diagram for ActsTrk::TruthParticleHitCountAlg::AssociationCounter< IsDebug >:

Classes

struct  Empty

Public Member Functions

template<class T_OutStream>
void dumpStatistics (T_OutStream &out) const
void fillStatistics (unsigned int n_measurements) const

Public Attributes

std::conditional< IsDebug, std::mutex, Empty >::type m_mutex ATLAS_THREAD_SAFE
std::conditional< IsDebug, ActsUtils::StatHist, Empty >::type m_measPerTruthParticle ATLAS_THREAD_SAFE {20,-.5,40.-.5}

Detailed Description

template<bool IsDebug>
struct ActsTrk::TruthParticleHitCountAlg::AssociationCounter< IsDebug >

Definition at line 81 of file TruthParticleHitCountAlg.h.

Member Function Documentation

◆ dumpStatistics()

template<bool IsDebug>
template<class T_OutStream>
void ActsTrk::TruthParticleHitCountAlg::AssociationCounter< IsDebug >::dumpStatistics ( T_OutStream & out) const
inline

Definition at line 68 of file TruthParticleHitCountAlg.cxx.

68 {
69 if constexpr(IsDebug) {
70 out << "Measurements per truth particle :" << m_measPerTruthParticle << std::endl
71 << m_measPerTruthParticle.histogramToString();
72 }
73 }

◆ fillStatistics()

template<bool IsDebug>
void ActsTrk::TruthParticleHitCountAlg::AssociationCounter< IsDebug >::fillStatistics ( unsigned int n_measurements) const
inline

Definition at line 75 of file TruthParticleHitCountAlg.cxx.

75 {
76 if constexpr(IsDebug) {
79 }
80 }
virtual void lock()=0
Interface to allow an object to lock itself when made const in SG.

Member Data Documentation

◆ ATLAS_THREAD_SAFE [1/2]

template<bool IsDebug>
std::conditional<IsDebug,ActsUtils::StatHist,Empty>::type m_measPerTruthParticle ActsTrk::TruthParticleHitCountAlg::AssociationCounter< IsDebug >::ATLAS_THREAD_SAFE {20,-.5,40.-.5}
mutable

Definition at line 91 of file TruthParticleHitCountAlg.h.

91{20,-.5,40.-.5};

◆ ATLAS_THREAD_SAFE [2/2]

template<bool IsDebug>
std::conditional<IsDebug,std::mutex,Empty>::type m_mutex ActsTrk::TruthParticleHitCountAlg::AssociationCounter< IsDebug >::ATLAS_THREAD_SAFE
mutable

Definition at line 88 of file TruthParticleHitCountAlg.h.


The documentation for this struct was generated from the following files: