ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
TrackParticleTruth Class Reference

#include <TrackParticleTruth.h>

Collaboration diagram for TrackParticleTruth:

Public Member Functions

 TrackParticleTruth ()
 
 TrackParticleTruth (const HepMcParticleLink &particleLink, float probability)
 
 TrackParticleTruth (const TrackParticleTruth &other)
 
TrackParticleTruthoperator= (const TrackParticleTruth &)=default
 
virtual ~TrackParticleTruth ()
 
const HepMcParticleLinkparticleLink () const
 
float probability () const
 

Private Attributes

HepMcParticleLink m_particleLink
 
float m_probability
 

Detailed Description

Definition at line 15 of file TrackParticleTruth.h.

Constructor & Destructor Documentation

◆ TrackParticleTruth() [1/3]

TrackParticleTruth::TrackParticleTruth ( )

Definition at line 8 of file TrackParticleTruth.cxx.

8  :
10 {}

◆ TrackParticleTruth() [2/3]

TrackParticleTruth::TrackParticleTruth ( const HepMcParticleLink particleLink,
float  probability 
)

Definition at line 12 of file TrackParticleTruth.cxx.

◆ TrackParticleTruth() [3/3]

TrackParticleTruth::TrackParticleTruth ( const TrackParticleTruth other)

Definition at line 16 of file TrackParticleTruth.cxx.

17  :m_particleLink(other.m_particleLink),
18  m_probability(other.m_probability)
19 {}

◆ ~TrackParticleTruth()

TrackParticleTruth::~TrackParticleTruth ( )
virtual

Definition at line 21 of file TrackParticleTruth.cxx.

22 {}

Member Function Documentation

◆ operator=()

TrackParticleTruth& TrackParticleTruth::operator= ( const TrackParticleTruth )
default

◆ particleLink()

const HepMcParticleLink & TrackParticleTruth::particleLink ( ) const
inline

Definition at line 31 of file TrackParticleTruth.h.

32 {
33  return m_particleLink;
34 }

◆ probability()

float TrackParticleTruth::probability ( ) const
inline

Definition at line 36 of file TrackParticleTruth.h.

37 {
38  return m_probability;
39 }

Member Data Documentation

◆ m_particleLink

HepMcParticleLink TrackParticleTruth::m_particleLink
private

Definition at line 32 of file TrackParticleTruth.h.

◆ m_probability

float TrackParticleTruth::m_probability
private

Definition at line 33 of file TrackParticleTruth.h.


The documentation for this class was generated from the following files:
TrackParticleTruth::m_particleLink
HepMcParticleLink m_particleLink
Definition: TrackParticleTruth.h:32
TrackParticleTruth::probability
float probability() const
Definition: TrackParticleTruth.h:36
TrackParticleTruth::m_probability
float m_probability
Definition: TrackParticleTruth.h:33
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
TrackParticleTruth::particleLink
const HepMcParticleLink & particleLink() const
Definition: TrackParticleTruth.h:31