BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
dchain::ConjugateList< CandidateClass > Class Template Reference

#include <ConjugateList.h>

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

Public Types

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

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

void setLabel (const conjugation::Label aLabel)
 
void setLabel (const conjugation::Label aLabel)
 
- Protected Member Functions inherited from dchain::CandidateList< CandidateClass >
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
 

Friends

class DCCombinatoricQuery< CandidateClass >
 

Detailed Description

template<class CandidateClass>
class dchain::ConjugateList< CandidateClass >

Definition at line 83 of file InstallArea/include/DecayChain/DecayChain/List/ConjugateList.h.

Member Typedef Documentation

◆ const_iterator [1/2]

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

◆ const_iterator [2/2]

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

◆ const_partial_iterator [1/2]

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

◆ const_partial_iterator [2/2]

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

◆ iterator [1/2]

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

◆ iterator [2/2]

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

Constructor & Destructor Documentation

◆ ConjugateList() [1/2]

template<class CandidateClass >
dchain::ConjugateList< CandidateClass >::ConjugateList ( const conjugation::Label  aLabel)

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

85 :
86 m_label( aLabel )
87{
88}

◆ ~ConjugateList() [1/2]

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

◆ ConjugateList() [2/2]

template<class CandidateClass >
dchain::ConjugateList< CandidateClass >::ConjugateList ( const conjugation::Label  aLabel)

◆ ~ConjugateList() [2/2]

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

Member Function Documentation

◆ conjugate_partial_begin() [1/2]

template<class CandidateClass >
ConjugateList< CandidateClass >::const_partial_iterator dchain::ConjugateList< CandidateClass >::conjugate_partial_begin

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

153{
154 return ( this->labeledCandidateList().begin( otherLabel( m_label ) ) ) ;
155}
virtual dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList()=0
conjugation::Label otherLabel(const conjugation::Label &aLabel)

◆ conjugate_partial_begin() [2/2]

template<class CandidateClass >
const_partial_iterator dchain::ConjugateList< CandidateClass >::conjugate_partial_begin ( ) const

◆ conjugate_partial_end() [1/2]

template<class CandidateClass >
ConjugateList< CandidateClass >::const_partial_iterator dchain::ConjugateList< CandidateClass >::conjugate_partial_end

◆ conjugate_partial_end() [2/2]

template<class CandidateClass >
const_partial_iterator dchain::ConjugateList< CandidateClass >::conjugate_partial_end ( ) const

◆ conjugation_iterate() [1/2]

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

TAnalyzer takes two arguments 1) const CandidateClass& 2) a bool which is 'true' if the candiate matches the present conjugation

Definition at line 117 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/List/ConjugateList.h.

118 {
119 const_iterator finished ( this->end() ) ;
120 for ( const_iterator entry ( this->begin() ) ;
121 entry != finished ;
122 ++entry ) {
123 analyze( (*entry)() , (*entry).label() == m_label ) ;
124 }
125 }

◆ conjugation_iterate() [2/2]

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

TAnalyzer takes two arguments 1) const CandidateClass& 2) a bool which is 'true' if the candiate matches the present conjugation

Definition at line 117 of file InstallArea/include/DecayChain/DecayChain/List/ConjugateList.h.

118 {
119 const_iterator finished ( this->end() ) ;
120 for ( const_iterator entry ( this->begin() ) ;
121 entry != finished ;
122 ++entry ) {
123 analyze( (*entry)() , (*entry).label() == m_label ) ;
124 }
125 }

◆ isConjugateOf() [1/2]

template<class CandidateClass >
bool dchain::ConjugateList< CandidateClass >::isConjugateOf ( const ConjugateList< CandidateClass > &  aList) const

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

128{
129 return ( ( &(this->labeledCandidateList()) == &(aList.labeledCandidateList()) ) &&
130 ( label() == otherLabel( aList.label() ) ) ) ;
131}

◆ isConjugateOf() [2/2]

template<class CandidateClass >
bool dchain::ConjugateList< CandidateClass >::isConjugateOf ( const ConjugateList< CandidateClass > &  aList) const

◆ isSelfConjugate() [1/2]

◆ isSelfConjugate() [2/2]

template<class CandidateClass >
virtual bool dchain::ConjugateList< CandidateClass >::isSelfConjugate ( ) const
virtual

◆ label() [1/2]

◆ label() [2/2]

template<class CandidateClass >
virtual conjugation::Label dchain::ConjugateList< CandidateClass >::label ( ) const
virtual

◆ partial_begin() [1/2]

template<class CandidateClass >
ConjugateList< CandidateClass >::const_partial_iterator dchain::ConjugateList< CandidateClass >::partial_begin
virtual

◆ partial_begin() [2/2]

template<class CandidateClass >
virtual const_partial_iterator dchain::ConjugateList< CandidateClass >::partial_begin ( ) const
virtual

◆ partial_end() [1/2]

template<class CandidateClass >
ConjugateList< CandidateClass >::const_partial_iterator dchain::ConjugateList< CandidateClass >::partial_end
virtual

◆ partial_end() [2/2]

template<class CandidateClass >
virtual const_partial_iterator dchain::ConjugateList< CandidateClass >::partial_end ( ) const
virtual

◆ partial_iterate() [1/2]

template<class CandidateClass >
template<class TAnalyzer >
void dchain::ConjugateList< CandidateClass >::partial_iterate ( const TAnalyzer &  analyze) const
inline

Definition at line 128 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/List/ConjugateList.h.

128 {
129 const_partial_iterator finished ( partial_end() ) ;
130 for ( const_partial_iterator entry ( partial_begin() ) ;
131 entry != finished ;
132 ++entry ) {
133 analyze( (*entry)() ) ;
134 }
135 }

◆ partial_iterate() [2/2]

template<class CandidateClass >
template<class TAnalyzer >
void dchain::ConjugateList< CandidateClass >::partial_iterate ( const TAnalyzer &  analyze) const
inline

Definition at line 128 of file InstallArea/include/DecayChain/DecayChain/List/ConjugateList.h.

128 {
129 const_partial_iterator finished ( partial_end() ) ;
130 for ( const_partial_iterator entry ( partial_begin() ) ;
131 entry != finished ;
132 ++entry ) {
133 analyze( (*entry)() ) ;
134 }
135 }

◆ partial_size() [1/2]

template<class CandidateClass >
int dchain::ConjugateList< CandidateClass >::partial_size

◆ partial_size() [2/2]

template<class CandidateClass >
int dchain::ConjugateList< CandidateClass >::partial_size ( ) const

◆ setLabel() [1/2]

template<class CandidateClass >
void dchain::ConjugateList< CandidateClass >::setLabel ( const conjugation::Label  aLabel)
protected

◆ setLabel() [2/2]

template<class CandidateClass >
void dchain::ConjugateList< CandidateClass >::setLabel ( const conjugation::Label  aLabel)
protected

Friends And Related Function Documentation

◆ DCCombinatoricQuery< CandidateClass >

template<class CandidateClass >
DCCombinatoricQuery< CandidateClass >
friend

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