#include <ChosenConjugateList.h>
Inheritance diagram for dchain::ChosenConjugateList< Conjugate, CandidateClass >:
Public Types | |
typedef WholeItr< Conjugate > | const_iterator |
typedef WholeItr< Conjugate > | const_iterator |
typedef PartialItr< Conjugate > | const_partial_iterator |
typedef PartialItr< Conjugate > | const_partial_iterator |
typedef MuteWholeItr< Conjugate > | iterator |
typedef MuteWholeItr< Conjugate > | iterator |
typedef dchain::LabeledCandidate< CandidateClass > | value_type |
typedef dchain::LabeledCandidate< CandidateClass > | value_type |
Public Member Functions | |
virtual const_iterator | begin () const |
virtual iterator | begin () |
virtual const_iterator | begin () const |
virtual iterator | begin () |
const_partial_iterator | conjugate_partial_begin () const |
const_partial_iterator | conjugate_partial_begin () const |
const_partial_iterator | conjugate_partial_end () const |
const_partial_iterator | conjugate_partial_end () const |
template<class TAnalyzer> | |
void | conjugation_iterate (const TAnalyzer &analyzer) const |
template<class TAnalyzer> | |
void | conjugation_iterate (const TAnalyzer &analyzer) const |
virtual bool | empty () const |
virtual bool | empty () const |
virtual const_iterator | end () const |
virtual iterator | end () |
virtual const_iterator | end () const |
virtual iterator | end () |
bool | isConjugateOf (const ConjugateList< CandidateClass > &aList) const |
bool | isConjugateOf (const ConjugateList< CandidateClass > &aList) const |
virtual bool | isSelfConjugate () const |
virtual bool | isSelfConjugate () const |
template<class TAnalyzer> | |
void | iterate (const TAnalyzer &analyzer) const |
template<class TAnalyzer> | |
void | iterate (const TAnalyzer &analyzer) const |
virtual conjugation::Label | label () const |
virtual conjugation::Label | label () const |
virtual const_partial_iterator | partial_begin () const |
virtual const_partial_iterator | partial_begin () const |
virtual const_partial_iterator | partial_end () const |
virtual const_partial_iterator | partial_end () const |
template<class TAnalyzer> | |
void | partial_iterate (const TAnalyzer &analyzer) const |
template<class TAnalyzer> | |
void | partial_iterate (const TAnalyzer &analyzer) const |
const_partial_iterator | partial_particle_begin () const |
const_partial_iterator | partial_particle_begin () const |
const_partial_iterator | partial_particle_end () const |
const_partial_iterator | partial_particle_end () const |
int | partial_size () const |
int | partial_size () const |
const_iterator | particle_begin () const |
iterator | particle_begin () |
const_iterator | particle_begin () const |
iterator | particle_begin () |
const_iterator | particle_end () const |
iterator | particle_end () |
const_iterator | particle_end () const |
iterator | particle_end () |
virtual int | size () const |
virtual int | size () const |
virtual | ~ChosenConjugateList () |
virtual | ~ChosenConjugateList () |
Protected Member Functions | |
ChosenConjugateList (LabeledParticleList< Conjugate, CandidateClass > &aLabeledParticleList, const conjugation::Label aLabel) | |
ChosenConjugateList (LabeledParticleList< Conjugate, CandidateClass > &aLabeledParticleList, const conjugation::Label aLabel) | |
virtual const LabeledCandidateList< CandidateClass > & | labeledCandidateList () const |
virtual LabeledCandidateList< CandidateClass > & | labeledCandidateList () |
virtual const LabeledCandidateList< CandidateClass > & | labeledCandidateList () const |
virtual LabeledCandidateList< CandidateClass > & | labeledCandidateList () |
void | setLabel (const conjugation::Label aLabel) |
void | setLabel (const conjugation::Label aLabel) |
Private Member Functions | |
ChosenConjugateList (const ChosenConjugateList< Conjugate, CandidateClass > &aOtherList) | |
ChosenConjugateList () | |
ChosenConjugateList (const ChosenConjugateList< Conjugate, CandidateClass > &aOtherList) | |
ChosenConjugateList () | |
const ChosenConjugateList< Conjugate, CandidateClass > & | operator= (const ChosenConjugateList< Conjugate, CandidateClass > &aOtherList) |
const ChosenConjugateList< Conjugate, CandidateClass > & | operator= (const ChosenConjugateList< Conjugate, CandidateClass > &aOtherList) |
Private Attributes | |
MutableReferenceHolder< LabeledParticleList< Conjugate, CandidateClass > > | m_list |
MutableReferenceHolder< LabeledParticleList< Conjugate, CandidateClass > > | m_list |
Friends | |
class | DCNeutralNCVisibleList< Conjugate , CandidateClass > |
class | NeutralNCVisibleList< Conjugate , CandidateClass > |
|
Reimplemented from dchain::ConjugateList< CandidateClass >. |
|
Reimplemented from dchain::ConjugateList< CandidateClass >. |
|
Reimplemented from dchain::ConjugateList< CandidateClass >. |
|
Reimplemented from dchain::ConjugateList< CandidateClass >. |
|
Reimplemented from dchain::ConjugateList< CandidateClass >. |
|
Reimplemented from dchain::ConjugateList< CandidateClass >. |
|
|
|
00064 { 00065 }
|
|
00056 : 00057 ConjugateList< CandidateClass >( aLabel ) , 00058 m_list( &aLabeledParticleList ) 00059 { 00060 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. |
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. |
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. 00152 { 00153 // do this casting to make sure const 'begin' function is called 00154 return ( static_cast<const dchain::LabeledCandidateList< CandidateClass >*>(&labeledCandidateList())->begin() ); 00155 }
|
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. 00116 { 00117 return ( labeledCandidateList().begin() ) ; 00118 }
|
|
|
|
00153 { 00154 return ( this->labeledCandidateList().begin( otherLabel( m_label ) ) ) ; 00155 }
|
|
|
|
00159 { 00160 return ( this->labeledCandidateList().end( otherLabel( m_label ) ) ) ; 00161 }
|
|
TAnalyzer takes two arguments 1) const CandidateClass& 2) a bool which is 'true' if the candiate matches the present conjugation Reimplemented from dchain::ConjugateList< CandidateClass >. 00089 { 00090 const_iterator finished ( particle_end() ) ; 00091 for ( const_iterator entry ( particle_begin() ) ; 00092 entry != finished ; 00093 ++entry ) { 00094 analyze( (*entry)() , (*entry).label() == this->label() ) ; 00095 } 00096 }
|
|
TAnalyzer takes two arguments 1) const CandidateClass& 2) a bool which is 'true' if the candiate matches the present conjugation Reimplemented from dchain::ConjugateList< CandidateClass >. 00089 { 00090 const_iterator finished ( particle_end() ) ; 00091 for ( const_iterator entry ( particle_begin() ) ; 00092 entry != finished ; 00093 ++entry ) { 00094 analyze( (*entry)() , (*entry).label() == this->label() ) ; 00095 } 00096 }
|
|
|
|
00136 { 00137 return ( labeledCandidateList().empty() ) ; 00138 }
|
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. |
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. |
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. 00161 { 00162 // do this casting to make sure const 'end' function is called 00163 return ( static_cast<const dchain::LabeledCandidateList< CandidateClass >*>(&labeledCandidateList())->end() ); 00164 }
|
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. 00124 { 00125 return ( labeledCandidateList().end() ) ; 00126 }
|
|
|
|
00128 { 00129 return ( ( &(this->labeledCandidateList()) == &(aList.labeledCandidateList()) ) && 00130 ( label() == otherLabel( aList.label() ) ) ) ; 00131 }
|
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. |
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. 00122 {
00123 return ( conjugation::kNone == m_label ) ;
00124 }
|
|
Reimplemented from dchain::CandidateList< CandidateClass >. 00079 { 00080 const_iterator finished ( particle_end() ) ; 00081 for ( const_iterator entry ( particle_begin() ) ; 00082 entry != finished ; 00083 ++entry ) { 00084 analyze( (*entry)() ) ; 00085 } 00086 }
|
|
Reimplemented from dchain::CandidateList< CandidateClass >. 00079 { 00080 const_iterator finished ( particle_end() ) ; 00081 for ( const_iterator entry ( particle_begin() ) ; 00082 entry != finished ; 00083 ++entry ) { 00084 analyze( (*entry)() ) ; 00085 } 00086 }
|
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. |
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. 00166 {
00167 return ( m_label ) ;
00168 }
|
|
Implements dchain::CandidateList< CandidateClass >. |
|
Implements dchain::CandidateList< CandidateClass >. |
|
Implements dchain::CandidateList< CandidateClass >. 00122 {
00123 return ( *m_list ) ;
00124 }
|
|
Implements dchain::CandidateList< CandidateClass >. 00084 {
00085 return ( *m_list ) ;
00086 }
|
|
|
|
|
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. |
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. 00141 { 00142 return ( this->labeledCandidateList().begin( m_label ) ) ; 00143 }
|
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. |
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. 00147 { 00148 return ( this->labeledCandidateList().end( m_label ) ) ; 00149 }
|
|
Reimplemented from dchain::ConjugateList< CandidateClass >. 00099 { 00100 const_partial_iterator finished ( partial_particle_end() ) ; 00101 for ( const_partial_iterator entry ( partial_particle_begin() ) ; 00102 entry != finished ; 00103 ++entry ) { 00104 analyze( (*entry)() ) ; 00105 } 00106 }
|
|
Reimplemented from dchain::ConjugateList< CandidateClass >. 00099 { 00100 const_partial_iterator finished ( partial_particle_end() ) ; 00101 for ( const_partial_iterator entry ( partial_particle_begin() ) ; 00102 entry != finished ; 00103 ++entry ) { 00104 analyze( (*entry)() ) ; 00105 } 00106 }
|
|
|
|
00107 { 00108 // Need to cast to 'const' to get the right function call 00109 return ( (*(const LabeledParticleList< Conjugate , CandidateClass >*)(m_list.pointer())).begin( this->label() ) ) ; 00110 }
|
|
|
|
00114 { 00115 // Need to cast to 'const' to get the right function call 00116 return ( (*(const LabeledParticleList< Conjugate , CandidateClass >*)(m_list.pointer())).end( this->label() ) ) ; 00117 }
|
|
|
|
00135 { 00136 return ( this->labeledCandidateList().size( m_label ) ) ; 00137 }
|
|
|
|
|
|
00093 { 00094 // Need to cast to 'const' to get the right function call 00095 return ( (*(const LabeledParticleList< Conjugate , CandidateClass >*)(m_list.pointer())).begin() ) ; 00096 }
|
|
00072 { 00073 return ( m_list->begin() ) ; 00074 }
|
|
|
|
|
|
00100 { 00101 // Need to cast to 'const' to get the right function call 00102 return ( (*(const LabeledParticleList< Conjugate , CandidateClass >*)(m_list.pointer())).end() ) ; 00103 }
|
|
00078 { 00079 return ( m_list->end() ) ; 00080 }
|
|
Reimplemented in FillableCDDecayList. |
|
Reimplemented in FillableCDDecayList. 00112 { 00113 m_label = aLabel ; 00114 }
|
|
|
|
00144 { 00145 return ( labeledCandidateList().size() ) ; 00146 }
|
|
|
|
|
|
|
|
|