BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
dchain::ChosenChargeList< Charged, CandidateClass > Class Template Reference

#include <ChosenChargeList.h>

+ Inheritance diagram for dchain::ChosenChargeList< Charged, CandidateClass >:

Public Types

typedef dchain::MuteWholeItr< Charged > iterator
 
typedef dchain::WholeItr< Charged > const_iterator
 
typedef dchain::PartialItr< Charged > 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 ~ChosenChargeList ()
 
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
 
void setLabel (const conjugation::Label aLabel)
 
- 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

 ChosenChargeList (dchain::LabeledParticleList< Charged, CandidateClass > &aLabeledDecayList, const conjugation::Label aLabel)
 
virtual dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList ()
 
virtual const dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList () const
 
- Protected Member Functions inherited from dchain::CandidateList< CandidateClass >

Friends

class dchain::ChargedVisibleList< Charged, CandidateClass >
 

Detailed Description

template<class Charged, class CandidateClass>
class dchain::ChosenChargeList< Charged, CandidateClass >

Definition at line 54 of file ChosenChargeList.h.

Member Typedef Documentation

◆ const_iterator

template<class Charged , class CandidateClass >
dchain::WholeItr< Charged > dchain::ChosenChargeList< Charged, CandidateClass >::const_iterator

Definition at line 62 of file ChosenChargeList.h.

◆ const_partial_iterator

template<class Charged , class CandidateClass >
dchain::PartialItr< Charged > dchain::ChosenChargeList< Charged, CandidateClass >::const_partial_iterator

Definition at line 63 of file ChosenChargeList.h.

◆ iterator

template<class Charged , class CandidateClass >
dchain::MuteWholeItr< Charged > dchain::ChosenChargeList< Charged, CandidateClass >::iterator

Definition at line 61 of file ChosenChargeList.h.

Constructor & Destructor Documentation

◆ ~ChosenChargeList()

template<class Charged , class CandidateClass >
dchain::ChosenChargeList< Charged, CandidateClass >::~ChosenChargeList ( )
virtual

Definition at line 109 of file ChosenChargeList.cc.

110{
111}

◆ ChosenChargeList()

template<class Charged , class CandidateClass >
dchain::ChosenChargeList< Charged, CandidateClass >::ChosenChargeList ( dchain::LabeledParticleList< Charged, CandidateClass > & aLabeledDecayList,
const conjugation::Label aLabel )
protected

Definition at line 101 of file ChosenChargeList.cc.

102 :
103 ConjugateList< CandidateClass >( aLabel ) ,
104 m_list( &aLabeledDecayList )
105{
106}

Member Function Documentation

◆ conjugation_iterate()

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

Definition at line 89 of file ChosenChargeList.h.

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

◆ iterate()

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

Definition at line 79 of file ChosenChargeList.h.

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

◆ labeledCandidateList() [1/2]

template<class Charged , class CandidateClass >
dchain::LabeledCandidateList< CandidateClass > & dchain::ChosenChargeList< Charged, CandidateClass >::labeledCandidateList ( )
protectedvirtual

Implements dchain::CandidateList< CandidateClass >.

Definition at line 137 of file ChosenChargeList.cc.

138{
139 return ( *m_list ) ;
140}

◆ labeledCandidateList() [2/2]

template<class Charged , class CandidateClass >
const dchain::LabeledCandidateList< CandidateClass > & dchain::ChosenChargeList< Charged, CandidateClass >::labeledCandidateList ( ) const
protectedvirtual

Implements dchain::CandidateList< CandidateClass >.

Definition at line 174 of file ChosenChargeList.cc.

175{
176 return ( *m_list ) ;
177}

◆ partial_iterate()

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

Definition at line 100 of file ChosenChargeList.h.

100 {
103 entry != finished ;
104 ++entry ) {
105 analyze( (*entry)() ) ;
106 }
107 }
dchain::PartialItr< Charged > const_partial_iterator
const_partial_iterator partial_particle_begin() const
const_partial_iterator partial_particle_end() const

◆ partial_particle_begin()

template<class Charged , class CandidateClass >
ChosenChargeList< Charged, CandidateClass >::const_partial_iterator dchain::ChosenChargeList< Charged, CandidateClass >::partial_particle_begin ( ) const

Definition at line 160 of file ChosenChargeList.cc.

161{
162// Need to cast to 'const' to get the right function call
163 return ( (*(const dchain::LabeledParticleList< Charged , CandidateClass >*)(m_list.pointer())).begin( this->label() ) ) ;
164}

Referenced by dchain::ChosenChargeList< Charged, CandidateClass >::partial_iterate().

◆ partial_particle_end()

template<class Charged , class CandidateClass >
ChosenChargeList< Charged, CandidateClass >::const_partial_iterator dchain::ChosenChargeList< Charged, CandidateClass >::partial_particle_end ( ) const

Definition at line 167 of file ChosenChargeList.cc.

168{
169// Need to cast to 'const' to get the right function call
170 return ( (*(const dchain::LabeledParticleList< Charged , CandidateClass >*)(m_list.pointer())).end( this->label() ) ) ;
171}

Referenced by dchain::ChosenChargeList< Charged, CandidateClass >::partial_iterate().

◆ particle_begin() [1/2]

template<class Charged , class CandidateClass >
ChosenChargeList< Charged, CandidateClass >::iterator dchain::ChosenChargeList< Charged, CandidateClass >::particle_begin ( )

◆ particle_begin() [2/2]

template<class Charged , class CandidateClass >
ChosenChargeList< Charged, CandidateClass >::const_iterator dchain::ChosenChargeList< Charged, CandidateClass >::particle_begin ( ) const

Definition at line 146 of file ChosenChargeList.cc.

147{
148// Need to cast to 'const' to get the right function call
149 return ( (*(const dchain::LabeledParticleList< Charged , CandidateClass >*)(m_list.pointer())).begin() ) ;
150}

◆ particle_end() [1/2]

template<class Charged , class CandidateClass >
ChosenChargeList< Charged, CandidateClass >::iterator dchain::ChosenChargeList< Charged, CandidateClass >::particle_end ( )

◆ particle_end() [2/2]

template<class Charged , class CandidateClass >
ChosenChargeList< Charged, CandidateClass >::const_iterator dchain::ChosenChargeList< Charged, CandidateClass >::particle_end ( ) const

Definition at line 153 of file ChosenChargeList.cc.

154{
155// Need to cast to 'const' to get the right function call
156 return ( (*(const dchain::LabeledParticleList< Charged , CandidateClass >*)(m_list.pointer())).end() ) ;
157}

Friends And Related Symbol Documentation

◆ dchain::ChargedVisibleList< Charged, CandidateClass >

template<class Charged , class CandidateClass >
friend class dchain::ChargedVisibleList< Charged, CandidateClass >
friend

Definition at line 1 of file ChosenChargeList.h.


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