BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
dchain::LabeledParticle< T > Class Template Reference

#include <LabeledParticle.h>

+ Inheritance diagram for dchain::LabeledParticle< T >:

Public Member Functions

 LabeledParticle ()
 
 LabeledParticle (const LabeledParticle< T > &aOtherLabeled)
 
template<class THolder >
 LabeledParticle (THolder aT, const typename conjugation::Label aLabel)
 
const T & operator() () const
 
const T & particle () const
 
- Public Member Functions inherited from dchain::LabeledCandidate< ParticleTraits< T >::CandidateType >
 LabeledCandidate ()
 
 LabeledCandidate (const LabeledCandidate< ParticleTraits< T >::CandidateType > &aOtherLabeled)
 
virtual ~LabeledCandidate ()
 
const LabeledCandidateoperator= (const LabeledCandidate< ParticleTraits< T >::CandidateType > &aOtherLabeled)
 
const ParticleTraits< T >::CandidateType & operator() () const
 
const ParticleTraits< T >::CandidateType & labeledClass () const
 
conjugation::Label label () const
 
bool operator== (const conjugation::Label &aLabel) const
 
bool operator!= (const conjugation::Label &aLabel) const
 

Additional Inherited Members

- Protected Member Functions inherited from dchain::LabeledCandidate< ParticleTraits< T >::CandidateType >
 LabeledCandidate (THolder aCandidateClass, const conjugation::Label aLabel)
 
ParticleTraits< T >::CandidateType * pointer ()
 
const ParticleTraits< T >::CandidateType * pointer () const
 

Detailed Description

template<class T>
class dchain::LabeledParticle< T >

Definition at line 41 of file IndexedLabeledParticles.h.

Constructor & Destructor Documentation

◆ LabeledParticle() [1/3]

template<class T >
dchain::LabeledParticle< T >::LabeledParticle ( )
inline

Definition at line 81 of file LabeledParticle.h.

81{}

◆ LabeledParticle() [2/3]

template<class T >
dchain::LabeledParticle< T >::LabeledParticle ( const LabeledParticle< T > & aOtherLabeled)
inline

Definition at line 82 of file LabeledParticle.h.

82 :
83 LabeledCandidate<typename ParticleTraits<T>::CandidateType>(aOtherLabeled) {}

◆ LabeledParticle() [3/3]

template<class T >
template<class THolder >
dchain::LabeledParticle< T >::LabeledParticle ( THolder aT,
const typename conjugation::Label aLabel )
inline

Definition at line 86 of file LabeledParticle.h.

87 :
88 LabeledCandidate<typename ParticleTraits<T>::CandidateType>(aT,aLabel) {}

Member Function Documentation

◆ operator()()

template<class T >
const T & dchain::LabeledParticle< T >::operator() ( ) const
inline

Definition at line 98 of file LabeledParticle.h.

98 {
99 return *static_cast<const T*>(this->pointer());
100 }

◆ particle()

template<class T >
const T & dchain::LabeledParticle< T >::particle ( ) const
inline

Definition at line 102 of file LabeledParticle.h.

102 {
103 return *static_cast<const T*>(this->pointer());
104 }

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