BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
dchain::CandidateList< CandidateClass > Class Template Referenceabstract

#include <CandidateList.h>

+ Inheritance diagram for dchain::CandidateList< CandidateClass >:

Public Types

typedef dchain::MuteWholeCandidateItr< CandidateClass > iterator
 
typedef dchain::WholeCandidateItr< CandidateClass > const_iterator
 
typedef dchain::PartialCandidateItr< CandidateClass > const_partial_iterator
 
typedef dchain::LabeledCandidate< CandidateClass > value_type
 
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

 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
 
 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

virtual dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList ()=0
 
virtual const dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList () const =0
 
virtual dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList ()=0
 
virtual const dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList () const =0
 

Detailed Description

template<class CandidateClass>
class dchain::CandidateList< CandidateClass >

Definition at line 76 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/List/CandidateList.h.

Member Typedef Documentation

◆ const_iterator [1/2]

template<class CandidateClass >
typedef dchain::WholeCandidateItr< CandidateClass > dchain::CandidateList< CandidateClass >::const_iterator

◆ const_iterator [2/2]

template<class CandidateClass >
typedef dchain::WholeCandidateItr< CandidateClass > dchain::CandidateList< CandidateClass >::const_iterator

◆ const_partial_iterator [1/2]

template<class CandidateClass >
typedef dchain::PartialCandidateItr< CandidateClass > dchain::CandidateList< CandidateClass >::const_partial_iterator

◆ const_partial_iterator [2/2]

template<class CandidateClass >
typedef dchain::PartialCandidateItr< CandidateClass > dchain::CandidateList< CandidateClass >::const_partial_iterator

◆ iterator [1/2]

template<class CandidateClass >
typedef dchain::MuteWholeCandidateItr< CandidateClass > dchain::CandidateList< CandidateClass >::iterator

◆ iterator [2/2]

template<class CandidateClass >
typedef dchain::MuteWholeCandidateItr< CandidateClass > dchain::CandidateList< CandidateClass >::iterator

◆ value_type [1/2]

template<class CandidateClass >
typedef dchain::LabeledCandidate<CandidateClass> dchain::CandidateList< CandidateClass >::value_type

◆ value_type [2/2]

template<class CandidateClass >
typedef dchain::LabeledCandidate<CandidateClass> dchain::CandidateList< CandidateClass >::value_type

Constructor & Destructor Documentation

◆ CandidateList() [1/2]

template<class CandidateClass >
dchain::CandidateList< CandidateClass >::CandidateList

◆ ~CandidateList() [1/2]

template<class CandidateClass >
dchain::CandidateList< CandidateClass >::~CandidateList
virtual

◆ CandidateList() [2/2]

template<class CandidateClass >
dchain::CandidateList< CandidateClass >::CandidateList ( )

◆ ~CandidateList() [2/2]

template<class CandidateClass >
virtual dchain::CandidateList< CandidateClass >::~CandidateList ( )
virtual

Member Function Documentation

◆ begin() [1/4]

◆ begin() [2/4]

template<class CandidateClass >
virtual iterator dchain::CandidateList< CandidateClass >::begin ( )
virtual

◆ begin() [3/4]

template<class CandidateClass >
CandidateList< CandidateClass >::const_iterator dchain::CandidateList< CandidateClass >::begin
virtual

◆ begin() [4/4]

template<class CandidateClass >
virtual const_iterator dchain::CandidateList< CandidateClass >::begin ( ) const
virtual

◆ empty() [1/2]

◆ empty() [2/2]

template<class CandidateClass >
virtual bool dchain::CandidateList< CandidateClass >::empty ( ) const
virtual

◆ end() [1/4]

◆ end() [2/4]

template<class CandidateClass >
virtual iterator dchain::CandidateList< CandidateClass >::end ( )
virtual

◆ end() [3/4]

template<class CandidateClass >
CandidateList< CandidateClass >::const_iterator dchain::CandidateList< CandidateClass >::end
virtual

Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >.

Definition at line 160 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/List/Template/CandidateList.cc.

161{
162// do this casting to make sure const 'end' function is called
163 return ( static_cast<const dchain::LabeledCandidateList< CandidateClass >*>(&labeledCandidateList())->end() );
164}

◆ end() [4/4]

template<class CandidateClass >
virtual const_iterator dchain::CandidateList< CandidateClass >::end ( ) const
virtual

◆ iterate() [1/2]

template<class CandidateClass >
template<class TAnalyzer >
void dchain::CandidateList< CandidateClass >::iterate ( const TAnalyzer &  analyze) const
inline

Definition at line 102 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/List/CandidateList.h.

102 {
103 const_iterator finished ( end() );
104 for ( const_iterator entry ( begin() ) ;
105 entry != finished ;
106 ++entry ) {
107 analyze( (*entry)() ) ;
108 }
109 }

◆ iterate() [2/2]

template<class CandidateClass >
template<class TAnalyzer >
void dchain::CandidateList< CandidateClass >::iterate ( const TAnalyzer &  analyze) const
inline

Definition at line 102 of file InstallArea/include/DecayChain/DecayChain/List/CandidateList.h.

102 {
103 const_iterator finished ( end() );
104 for ( const_iterator entry ( begin() ) ;
105 entry != finished ;
106 ++entry ) {
107 analyze( (*entry)() ) ;
108 }
109 }

◆ labeledCandidateList() [1/4]

template<class CandidateClass >
virtual const dchain::LabeledCandidateList< CandidateClass > & dchain::CandidateList< CandidateClass >::labeledCandidateList ( ) const
protectedpure virtual

Implemented in dchain::ChargedVisibleList< Charged, CandidateClass >, dchain::ChargedVisibleList< Charged, CandidateClass >, dchain::ChargedVisibleList< Charged, Charged::CandidateClass >, dchain::ChosenChargeList< Charged, CandidateClass >, dchain::ChosenChargeList< Charged, Charged::CandidateClass >, dchain::ChosenChargeList< Charged, typename Charged::CandidateClass >, dchain::ChosenConjugateList< Conjugate, CandidateClass >, dchain::ChosenConjugateList< NeutralNC, NeutralNC::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, CandidateClass >, dchain::ChosenConjugateList< NeutralNC, typename NeutralNC::CandidateClass >, dchain::CombinatoricList< CandidateClass >, dchain::DecayList< DecayClass, CandidateClass >, dchain::DecayList< DecayClass, CandidateClass >, dchain::DecayList< DCCandidateTraits< CandidateClass >::DecayClass, CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, NeutralNC::CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >, dchain::NeutralVisibleList< Neutral, CandidateClass >, dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >, dchain::NeutralVisibleList< Neutral, CandidateClass >, dchain::ChargedVisibleList< Charged, CandidateClass >, dchain::ChargedVisibleList< Charged, CandidateClass >, dchain::ChargedVisibleList< Charged, Charged::CandidateClass >, dchain::ChosenChargeList< Charged, CandidateClass >, dchain::ChosenChargeList< Charged, Charged::CandidateClass >, dchain::ChosenChargeList< Charged, typename Charged::CandidateClass >, dchain::ChosenConjugateList< Conjugate, CandidateClass >, dchain::ChosenConjugateList< NeutralNC, NeutralNC::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, CandidateClass >, dchain::ChosenConjugateList< NeutralNC, typename NeutralNC::CandidateClass >, dchain::CombinatoricList< CandidateClass >, dchain::DecayList< DecayClass, CandidateClass >, dchain::DecayList< DecayClass, CandidateClass >, dchain::DecayList< DCCandidateTraits< CandidateClass >::DecayClass, CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, NeutralNC::CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >, dchain::NeutralVisibleList< Neutral, CandidateClass >, dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >, and dchain::NeutralVisibleList< Neutral, CandidateClass >.

◆ labeledCandidateList() [2/4]

template<class CandidateClass >
virtual const dchain::LabeledCandidateList< CandidateClass > & dchain::CandidateList< CandidateClass >::labeledCandidateList ( ) const
protectedpure virtual

Implemented in dchain::ChargedVisibleList< Charged, CandidateClass >, dchain::ChargedVisibleList< Charged, CandidateClass >, dchain::ChargedVisibleList< Charged, Charged::CandidateClass >, dchain::ChosenChargeList< Charged, CandidateClass >, dchain::ChosenChargeList< Charged, Charged::CandidateClass >, dchain::ChosenChargeList< Charged, typename Charged::CandidateClass >, dchain::ChosenConjugateList< Conjugate, CandidateClass >, dchain::ChosenConjugateList< NeutralNC, NeutralNC::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, CandidateClass >, dchain::ChosenConjugateList< NeutralNC, typename NeutralNC::CandidateClass >, dchain::CombinatoricList< CandidateClass >, dchain::DecayList< DecayClass, CandidateClass >, dchain::DecayList< DecayClass, CandidateClass >, dchain::DecayList< DCCandidateTraits< CandidateClass >::DecayClass, CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, NeutralNC::CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >, dchain::NeutralVisibleList< Neutral, CandidateClass >, dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >, dchain::NeutralVisibleList< Neutral, CandidateClass >, dchain::ChargedVisibleList< Charged, CandidateClass >, dchain::ChargedVisibleList< Charged, CandidateClass >, dchain::ChargedVisibleList< Charged, Charged::CandidateClass >, dchain::ChosenChargeList< Charged, CandidateClass >, dchain::ChosenChargeList< Charged, Charged::CandidateClass >, dchain::ChosenChargeList< Charged, typename Charged::CandidateClass >, dchain::ChosenConjugateList< Conjugate, CandidateClass >, dchain::ChosenConjugateList< NeutralNC, NeutralNC::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, CandidateClass >, dchain::ChosenConjugateList< NeutralNC, typename NeutralNC::CandidateClass >, dchain::CombinatoricList< CandidateClass >, dchain::DecayList< DecayClass, CandidateClass >, dchain::DecayList< DecayClass, CandidateClass >, dchain::DecayList< DCCandidateTraits< CandidateClass >::DecayClass, CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, NeutralNC::CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >, dchain::NeutralVisibleList< Neutral, CandidateClass >, dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >, and dchain::NeutralVisibleList< Neutral, CandidateClass >.

◆ labeledCandidateList() [3/4]

template<class CandidateClass >
virtual dchain::LabeledCandidateList< CandidateClass > & dchain::CandidateList< CandidateClass >::labeledCandidateList ( )
protectedpure virtual

Implemented in dchain::ChargedVisibleList< Charged, CandidateClass >, dchain::ChargedVisibleList< Charged, CandidateClass >, dchain::ChargedVisibleList< Charged, Charged::CandidateClass >, dchain::ChosenChargeList< Charged, CandidateClass >, dchain::ChosenChargeList< Charged, Charged::CandidateClass >, dchain::ChosenChargeList< Charged, typename Charged::CandidateClass >, dchain::ChosenConjugateList< Conjugate, CandidateClass >, dchain::ChosenConjugateList< NeutralNC, NeutralNC::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, CandidateClass >, dchain::ChosenConjugateList< NeutralNC, typename NeutralNC::CandidateClass >, dchain::CombinatoricList< CandidateClass >, dchain::DecayList< DecayClass, CandidateClass >, dchain::DecayList< DecayClass, CandidateClass >, dchain::DecayList< DCCandidateTraits< CandidateClass >::DecayClass, CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, NeutralNC::CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >, dchain::NeutralVisibleList< Neutral, CandidateClass >, dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >, dchain::NeutralVisibleList< Neutral, CandidateClass >, dchain::ChargedVisibleList< Charged, CandidateClass >, dchain::ChargedVisibleList< Charged, CandidateClass >, dchain::ChargedVisibleList< Charged, Charged::CandidateClass >, dchain::ChosenChargeList< Charged, CandidateClass >, dchain::ChosenChargeList< Charged, Charged::CandidateClass >, dchain::ChosenChargeList< Charged, typename Charged::CandidateClass >, dchain::ChosenConjugateList< Conjugate, CandidateClass >, dchain::ChosenConjugateList< NeutralNC, NeutralNC::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, CandidateClass >, dchain::ChosenConjugateList< NeutralNC, typename NeutralNC::CandidateClass >, dchain::CombinatoricList< CandidateClass >, dchain::DecayList< DecayClass, CandidateClass >, dchain::DecayList< DecayClass, CandidateClass >, dchain::DecayList< DCCandidateTraits< CandidateClass >::DecayClass, CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, NeutralNC::CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >, dchain::NeutralVisibleList< Neutral, CandidateClass >, dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >, and dchain::NeutralVisibleList< Neutral, CandidateClass >.

Referenced by dchain::ConjugateList< CandidateClass >::isConjugateOf().

◆ labeledCandidateList() [4/4]

template<class CandidateClass >
virtual dchain::LabeledCandidateList< CandidateClass > & dchain::CandidateList< CandidateClass >::labeledCandidateList ( )
protectedpure virtual

Implemented in dchain::ChargedVisibleList< Charged, CandidateClass >, dchain::ChargedVisibleList< Charged, CandidateClass >, dchain::ChargedVisibleList< Charged, Charged::CandidateClass >, dchain::ChosenChargeList< Charged, CandidateClass >, dchain::ChosenChargeList< Charged, Charged::CandidateClass >, dchain::ChosenChargeList< Charged, typename Charged::CandidateClass >, dchain::ChosenConjugateList< Conjugate, CandidateClass >, dchain::ChosenConjugateList< NeutralNC, NeutralNC::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, CandidateClass >, dchain::ChosenConjugateList< NeutralNC, typename NeutralNC::CandidateClass >, dchain::CombinatoricList< CandidateClass >, dchain::DecayList< DecayClass, CandidateClass >, dchain::DecayList< DecayClass, CandidateClass >, dchain::DecayList< DCCandidateTraits< CandidateClass >::DecayClass, CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, NeutralNC::CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >, dchain::NeutralVisibleList< Neutral, CandidateClass >, dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >, dchain::NeutralVisibleList< Neutral, CandidateClass >, dchain::ChargedVisibleList< Charged, CandidateClass >, dchain::ChargedVisibleList< Charged, CandidateClass >, dchain::ChargedVisibleList< Charged, Charged::CandidateClass >, dchain::ChosenChargeList< Charged, CandidateClass >, dchain::ChosenChargeList< Charged, Charged::CandidateClass >, dchain::ChosenChargeList< Charged, typename Charged::CandidateClass >, dchain::ChosenConjugateList< Conjugate, CandidateClass >, dchain::ChosenConjugateList< NeutralNC, NeutralNC::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, CandidateClass >, dchain::ChosenConjugateList< NeutralNC, typename NeutralNC::CandidateClass >, dchain::CombinatoricList< CandidateClass >, dchain::DecayList< DecayClass, CandidateClass >, dchain::DecayList< DecayClass, CandidateClass >, dchain::DecayList< DCCandidateTraits< CandidateClass >::DecayClass, CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, NeutralNC::CandidateClass >, dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >, dchain::NeutralVisibleList< Neutral, CandidateClass >, dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >, and dchain::NeutralVisibleList< Neutral, CandidateClass >.

◆ size() [1/2]

◆ size() [2/2]

template<class CandidateClass >
virtual int dchain::CandidateList< CandidateClass >::size ( ) const
virtual

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