BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
dchain::ChosenConjugateList< Conjugate, CandidateClass > Class Template Reference

#include <ChosenConjugateList.h>

+ Inheritance diagram for dchain::ChosenConjugateList< Conjugate, CandidateClass >:

Public Types

typedef MuteWholeItr< Conjugate > iterator
 
typedef WholeItr< Conjugate > const_iterator
 
typedef PartialItr< Conjugate > const_partial_iterator
 
- Public Types inherited from dchain::ConjugateList< CandidateClass >
typedef dchain::MuteWholeCandidateItr< CandidateClass > iterator
 
typedef dchain::WholeCandidateItr< CandidateClass > const_iterator
 
typedef dchain::PartialCandidateItr< CandidateClass > const_partial_iterator
 
- Public Types inherited from dchain::CandidateList< CandidateClass >
typedef dchain::MuteWholeCandidateItr< CandidateClass > iterator
 
typedef dchain::WholeCandidateItr< CandidateClass > const_iterator
 
typedef dchain::PartialCandidateItr< CandidateClass > const_partial_iterator
 
typedef dchain::LabeledCandidate< CandidateClass > value_type
 

Public Member Functions

virtual ~ChosenConjugateList ()
 
iterator particle_begin ()
 
iterator particle_end ()
 
const_iterator particle_begin () const
 
const_iterator particle_end () const
 
const_partial_iterator partial_particle_begin () const
 
const_partial_iterator partial_particle_end () const
 
template<class TAnalyzer >
void iterate (const TAnalyzer &analyzer) const
 
template<class TAnalyzer >
void conjugation_iterate (const TAnalyzer &analyzer) const
 
template<class TAnalyzer >
void partial_iterate (const TAnalyzer &analyzer) const
 
- Public Member Functions inherited from dchain::ConjugateList< CandidateClass >
 ConjugateList (const conjugation::Label aLabel)
 
virtual ~ConjugateList ()
 
virtual bool isSelfConjugate () const
 
bool isConjugateOf (const ConjugateList< CandidateClass > &aList) const
 
int partial_size () const
 
virtual const_partial_iterator partial_begin () const
 
virtual const_partial_iterator partial_end () const
 
template<class TAnalyzer >
void conjugation_iterate (const TAnalyzer &analyzer) const
 
template<class TAnalyzer >
void partial_iterate (const TAnalyzer &analyze) const
 
const_partial_iterator conjugate_partial_begin () const
 
const_partial_iterator conjugate_partial_end () const
 
virtual conjugation::Label label () const
 
- Public Member Functions inherited from dchain::CandidateList< CandidateClass >
 CandidateList ()
 
virtual ~CandidateList ()
 
virtual iterator begin ()
 
virtual iterator end ()
 
virtual bool empty () const
 
virtual int size () const
 
virtual const_iterator begin () const
 
virtual const_iterator end () const
 
template<class TAnalyzer >
void iterate (const TAnalyzer &analyze) const
 

Protected Member Functions

 ChosenConjugateList (LabeledParticleList< Conjugate, CandidateClass > &aLabeledParticleList, const conjugation::Label aLabel)
 
virtual LabeledCandidateList< CandidateClass > & labeledCandidateList ()
 
virtual const LabeledCandidateList< CandidateClass > & labeledCandidateList () const
 
- Protected Member Functions inherited from dchain::ConjugateList< CandidateClass >
void setLabel (const conjugation::Label aLabel)
 
virtual dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList ()=0
 
virtual const dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList () const =0
 

Friends

class DCNeutralNCVisibleList< Conjugate, CandidateClass >
 
class NeutralNCVisibleList< Conjugate, CandidateClass >
 

Detailed Description

template<class Conjugate, class CandidateClass>
class dchain::ChosenConjugateList< Conjugate, CandidateClass >

Definition at line 50 of file ChosenConjugateList.h.

Member Typedef Documentation

◆ const_iterator

template<class Conjugate , class CandidateClass >
typedef WholeItr< Conjugate > dchain::ChosenConjugateList< Conjugate, CandidateClass >::const_iterator

Definition at line 59 of file ChosenConjugateList.h.

◆ const_partial_iterator

template<class Conjugate , class CandidateClass >
typedef PartialItr< Conjugate > dchain::ChosenConjugateList< Conjugate, CandidateClass >::const_partial_iterator

Definition at line 60 of file ChosenConjugateList.h.

◆ iterator

template<class Conjugate , class CandidateClass >
typedef MuteWholeItr< Conjugate > dchain::ChosenConjugateList< Conjugate, CandidateClass >::iterator

Definition at line 58 of file ChosenConjugateList.h.

Constructor & Destructor Documentation

◆ ~ChosenConjugateList()

template<class Conjugate , class CandidateClass >
dchain::ChosenConjugateList< Conjugate, CandidateClass >::~ChosenConjugateList
virtual

Definition at line 63 of file ChosenConjugateList.cc.

64{
65}

◆ ChosenConjugateList()

template<class Conjugate , class CandidateClass >
dchain::ChosenConjugateList< Conjugate, CandidateClass >::ChosenConjugateList ( LabeledParticleList< Conjugate, CandidateClass > &  aLabeledParticleList,
const conjugation::Label  aLabel 
)
protected

Definition at line 55 of file ChosenConjugateList.cc.

56 :
57 ConjugateList< CandidateClass >( aLabel ) ,
58 m_list( &aLabeledParticleList )
59{
60}

Member Function Documentation

◆ conjugation_iterate()

template<class Conjugate , class CandidateClass >
template<class TAnalyzer >
void dchain::ChosenConjugateList< Conjugate, CandidateClass >::conjugation_iterate ( const TAnalyzer &  analyzer) const
inline

Definition at line 88 of file ChosenConjugateList.h.

89 {
90 const_iterator finished ( particle_end() ) ;
91 for ( const_iterator entry ( particle_begin() ) ;
92 entry != finished ;
93 ++entry ) {
94 analyze( (*entry)() , (*entry).label() == this->label() ) ;
95 }
96 }
WholeItr< Conjugate > const_iterator

◆ iterate()

template<class Conjugate , class CandidateClass >
template<class TAnalyzer >
void dchain::ChosenConjugateList< Conjugate, CandidateClass >::iterate ( const TAnalyzer &  analyzer) const
inline

Definition at line 78 of file ChosenConjugateList.h.

79 {
80 const_iterator finished ( particle_end() ) ;
81 for ( const_iterator entry ( particle_begin() ) ;
82 entry != finished ;
83 ++entry ) {
84 analyze( (*entry)() ) ;
85 }
86 }

◆ labeledCandidateList() [1/2]

template<class Conjugate , class CandidateClass >
LabeledCandidateList< CandidateClass > & dchain::ChosenConjugateList< Conjugate, CandidateClass >::labeledCandidateList
protectedvirtual

Implements dchain::CandidateList< CandidateClass >.

Definition at line 83 of file ChosenConjugateList.cc.

84{
85 return ( *m_list ) ;
86}

◆ labeledCandidateList() [2/2]

template<class Conjugate , class CandidateClass >
const LabeledCandidateList< CandidateClass > & dchain::ChosenConjugateList< Conjugate, CandidateClass >::labeledCandidateList
protectedvirtual

Implements dchain::CandidateList< CandidateClass >.

Definition at line 121 of file ChosenConjugateList.cc.

122{
123 return ( *m_list ) ;
124}

◆ partial_iterate()

template<class Conjugate , class CandidateClass >
template<class TAnalyzer >
void dchain::ChosenConjugateList< Conjugate, CandidateClass >::partial_iterate ( const TAnalyzer &  analyzer) const
inline

Definition at line 99 of file ChosenConjugateList.h.

99 {
102 entry != finished ;
103 ++entry ) {
104 analyze( (*entry)() ) ;
105 }
106 }
PartialItr< Conjugate > const_partial_iterator
const_partial_iterator partial_particle_end() const
const_partial_iterator partial_particle_begin() const

◆ partial_particle_begin()

template<class Conjugate , class CandidateClass >
ChosenConjugateList< Conjugate, CandidateClass >::const_partial_iterator dchain::ChosenConjugateList< Conjugate, CandidateClass >::partial_particle_begin

Definition at line 106 of file ChosenConjugateList.cc.

107{
108// Need to cast to 'const' to get the right function call
109 return ( (*(const LabeledParticleList< Conjugate , CandidateClass >*)(m_list.pointer())).begin( this->label() ) ) ;
110}

Referenced by dchain::ChosenConjugateList< Conjugate, CandidateClass >::partial_iterate().

◆ partial_particle_end()

template<class Conjugate , class CandidateClass >
ChosenConjugateList< Conjugate, CandidateClass >::const_partial_iterator dchain::ChosenConjugateList< Conjugate, CandidateClass >::partial_particle_end

Definition at line 113 of file ChosenConjugateList.cc.

114{
115// Need to cast to 'const' to get the right function call
116 return ( (*(const LabeledParticleList< Conjugate , CandidateClass >*)(m_list.pointer())).end( this->label() ) ) ;
117}

Referenced by dchain::ChosenConjugateList< Conjugate, CandidateClass >::partial_iterate().

◆ particle_begin() [1/2]

template<class Conjugate , class CandidateClass >
ChosenConjugateList< Conjugate, CandidateClass >::iterator dchain::ChosenConjugateList< Conjugate, CandidateClass >::particle_begin

◆ particle_begin() [2/2]

template<class Conjugate , class CandidateClass >
ChosenConjugateList< Conjugate, CandidateClass >::const_iterator dchain::ChosenConjugateList< Conjugate, CandidateClass >::particle_begin

Definition at line 92 of file ChosenConjugateList.cc.

93{
94// Need to cast to 'const' to get the right function call
95 return ( (*(const LabeledParticleList< Conjugate , CandidateClass >*)(m_list.pointer())).begin() ) ;
96}

◆ particle_end() [1/2]

template<class Conjugate , class CandidateClass >
ChosenConjugateList< Conjugate, CandidateClass >::iterator dchain::ChosenConjugateList< Conjugate, CandidateClass >::particle_end

◆ particle_end() [2/2]

template<class Conjugate , class CandidateClass >
ChosenConjugateList< Conjugate, CandidateClass >::const_iterator dchain::ChosenConjugateList< Conjugate, CandidateClass >::particle_end

Definition at line 99 of file ChosenConjugateList.cc.

100{
101// Need to cast to 'const' to get the right function call
102 return ( (*(const LabeledParticleList< Conjugate , CandidateClass >*)(m_list.pointer())).end() ) ;
103}

Friends And Related Function Documentation

◆ DCNeutralNCVisibleList< Conjugate, CandidateClass >

template<class Conjugate , class CandidateClass >
friend class DCNeutralNCVisibleList< Conjugate, CandidateClass >
friend

Definition at line 1 of file ChosenConjugateList.h.

◆ NeutralNCVisibleList< Conjugate, CandidateClass >

template<class Conjugate , class CandidateClass >
friend class NeutralNCVisibleList< Conjugate, CandidateClass >
friend

Definition at line 1 of file ChosenConjugateList.h.


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