#include <DCNeutralVisibleList.h>
Inheritance diagram for DCNeutralVisibleList< Neutral, CandidateClass >:
Public Types | |
typedef Neutral | value_type |
typedef dchain::MuteWholeItr< Neutral > | iterator |
typedef dchain::WholeItr< Neutral > | const_iterator |
typedef NeutralVisibleList< Neutral, CandidateClass > | self_type |
typedef dchain::PartialCandidateItr< CandidateClass > | const_partial_iterator |
Public Member Functions | |
DCNeutralVisibleList (bool(*pFunction)(Neutral &)=0) | |
DCNeutralVisibleList (const DCNeutralVisibleList< Neutral, CandidateClass > &aOtherList, bool(*pFunction)(Neutral &)=0) | |
DCNeutralVisibleList (DCSelectionFunction< Neutral > &aFunctionalObject) | |
DCNeutralVisibleList (const DCNeutralVisibleList< Neutral, CandidateClass > &aOtherList, DCSelectionFunction< Neutral > &aFunctionalObject) | |
virtual | ~DCNeutralVisibleList () |
const DCNeutralVisibleList< Neutral, CandidateClass > & | operator= (const DCNeutralVisibleList< Neutral, CandidateClass > &aOtherList) |
template<class TSelector> | |
FillListWithSelection< self_type, TSelector > | operator[] (const TSelector &iSel) |
iterator | particle_begin () |
const_iterator | particle_begin () const |
iterator | particle_end () |
const_iterator | particle_end () const |
template<class TAnalyze> | |
void | iterate (const TAnalyze &analyze) const |
template<class TAnalyze> | |
void | iterate (TAnalyze &analyze) const |
template<class TAnalyzer> | |
void | iterate (const TAnalyzer &analyze) const |
template<class TSelect> | |
SelectiveInserter< self_type, TSelect > | selectiveInserter (const TSelect &iSelect) |
creates an insert iterator that filters based on iSelect | |
template<class THolder, class TSelect> | |
bool | attempt_insert (THolder &pPossible, const TSelect &aSelect) |
template<class THolder> | |
void | insert (THolder &pPossible) |
void | eraseContents () |
void | erase () |
template<class TMaker, class TSelector> | |
void | fill (const LabeledParticleList< Neutral, CandidateClass > &aList, const TMaker &aMaker, const TSelector &aSel) |
template<class Iterator, class TMaker, class TSelector> | |
void | fill (Iterator first, Iterator last, const TMaker &aMaker, const TSelector &aSel=SelectAll< Neutral >()) |
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 |
virtual iterator | begin () |
virtual const_iterator | begin () const |
virtual iterator | end () |
virtual const_iterator | end () const |
virtual bool | empty () const |
virtual int | size () const |
Protected Member Functions | |
void | fill (const dchain::LabeledParticleList< Neutral, CandidateClass > &aList) |
template<class Iterator> | |
void | fill (Iterator first, Iterator last) |
virtual dchain::LabeledParticleList< Neutral, CandidateClass > & | labeledCandidateList () |
virtual const dchain::LabeledParticleList< Neutral, CandidateClass > & | labeledCandidateList () const |
void | setLabel (const conjugation::Label aLabel) |
Private Attributes | |
bool(* | m_function )(Neutral &) |
dchain::DCUnaryAdapter< DCSelectionFunction< Neutral > > | m_functionalObject |
Definition at line 93 of file DCNeutralVisibleList.h.
typedef dchain::WholeItr< Neutral > dchain::NeutralVisibleList< Neutral, CandidateClass >::const_iterator [inherited] |
Reimplemented from dchain::ConjugateList< CandidateClass >.
Definition at line 107 of file NeutralVisibleList.h.
typedef dchain::PartialCandidateItr< CandidateClass > dchain::ConjugateList< CandidateClass >::const_partial_iterator [inherited] |
Reimplemented from dchain::CandidateList< CandidateClass >.
Reimplemented in dchain::ChosenChargeList< Charged, CandidateClass >, dchain::ChosenConjugateList< Conjugate, CandidateClass >, dchain::CombinatoricList< CandidateClass >, dchain::DecayList< DecayClass, CandidateClass >, dchain::ChosenChargeList< Charged, Charged::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, NeutralNC::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, CandidateClass >, and dchain::DecayList< DCCandidateTraits< CandidateClass >::DCCandidateTraits< CandidateClass >::DecayClass, CandidateClass >.
Definition at line 97 of file ConjugateList.h.
typedef dchain::MuteWholeItr< Neutral > dchain::NeutralVisibleList< Neutral, CandidateClass >::iterator [inherited] |
Reimplemented from dchain::ConjugateList< CandidateClass >.
Definition at line 106 of file NeutralVisibleList.h.
typedef NeutralVisibleList<Neutral,CandidateClass> dchain::NeutralVisibleList< Neutral, CandidateClass >::self_type [inherited] |
Definition at line 112 of file NeutralVisibleList.h.
typedef Neutral DCNeutralVisibleList< Neutral, CandidateClass >::value_type |
Reimplemented from dchain::NeutralVisibleList< Neutral, CandidateClass >.
Definition at line 104 of file DCNeutralVisibleList.h.
DCNeutralVisibleList< Neutral, CandidateClass >::DCNeutralVisibleList | ( | bool(*)(Neutral &) | pFunction = 0 |
) |
Definition at line 109 of file DCNeutralVisibleList.cc.
00109 : 00110 m_function( pFunction ) , 00111 m_functionalObject( 0 ) 00112 { 00113 }
DCNeutralVisibleList< Neutral, CandidateClass >::DCNeutralVisibleList | ( | const DCNeutralVisibleList< Neutral, CandidateClass > & | aOtherList, | |
bool(*)(Neutral &) | pFunction = 0 | |||
) |
Definition at line 117 of file DCNeutralVisibleList.cc.
00118 : 00119 dchain::NeutralVisibleList< Neutral, CandidateClass >( aOtherList, pFunction ) , 00120 m_function( pFunction ) , 00121 m_functionalObject( 0 ) 00122 { 00123 }
DCNeutralVisibleList< Neutral, CandidateClass >::DCNeutralVisibleList | ( | DCSelectionFunction< Neutral > & | aFunctionalObject | ) |
Definition at line 127 of file DCNeutralVisibleList.cc.
00127 : 00128 m_function( 0 ) , 00129 m_functionalObject( &aFunctionalObject ) 00130 { 00131 }
DCNeutralVisibleList< Neutral, CandidateClass >::DCNeutralVisibleList | ( | const DCNeutralVisibleList< Neutral, CandidateClass > & | aOtherList, | |
DCSelectionFunction< Neutral > & | aFunctionalObject | |||
) |
Definition at line 135 of file DCNeutralVisibleList.cc.
00136 : 00137 dchain::NeutralVisibleList< Neutral,CandidateClass >( aOtherList, aFunctionalObject), 00138 m_function( 0 ) , 00139 m_functionalObject( &aFunctionalObject ) 00140 { 00141 }
DCNeutralVisibleList< Neutral, CandidateClass >::~DCNeutralVisibleList | ( | ) | [virtual] |
bool dchain::NeutralVisibleList< Neutral, CandidateClass >::attempt_insert | ( | THolder & | pPossible, | |
const TSelect & | aSelect | |||
) | [inline, inherited] |
Definition at line 195 of file NeutralVisibleList.h.
Referenced by dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >::fill().
00196 { 00197 bool returnValue = (aSelect)(*pPossible); 00198 if (returnValue) { 00199 this->insert(pPossible); 00200 } 00201 return returnValue; 00202 }
CandidateList< CandidateClass >::const_iterator dchain::CandidateList< CandidateClass >::begin | ( | ) | const [virtual, inherited] |
Reimplemented in dchain::CombinatoricList< CandidateClass >.
Definition at line 151 of file CandidateList.cc.
References dchain::CandidateList< CandidateClass >::begin(), and dchain::CandidateList< CandidateClass >::labeledCandidateList().
00152 { 00153 // do this casting to make sure const 'begin' function is called 00154 return ( static_cast<const dchain::LabeledCandidateList< CandidateClass >*>(&labeledCandidateList())->begin() ); 00155 }
CandidateList< CandidateClass >::iterator dchain::CandidateList< CandidateClass >::begin | ( | ) | [virtual, inherited] |
Reimplemented in dchain::CombinatoricList< CandidateClass >.
Definition at line 115 of file CandidateList.cc.
References dchain::CandidateList< CandidateClass >::labeledCandidateList().
Referenced by dchain::CandidateList< CandidateClass >::begin(), and dchain::CandidateList< NeutralNC::CandidateClass >::iterate().
00116 { 00117 return ( labeledCandidateList().begin() ) ; 00118 }
ConjugateList< CandidateClass >::const_partial_iterator dchain::ConjugateList< CandidateClass >::conjugate_partial_begin | ( | ) | const [inherited] |
Definition at line 152 of file ConjugateList.cc.
References dchain::ConjugateList< CandidateClass >::m_label, and dchain::otherLabel().
Referenced by dchain::CombinatoricList< CandidateClass >::fill().
00153 { 00154 return ( this->labeledCandidateList().begin( otherLabel( m_label ) ) ) ; 00155 }
ConjugateList< CandidateClass >::const_partial_iterator dchain::ConjugateList< CandidateClass >::conjugate_partial_end | ( | ) | const [inherited] |
Definition at line 158 of file ConjugateList.cc.
References dchain::ConjugateList< CandidateClass >::m_label, and dchain::otherLabel().
Referenced by dchain::CombinatoricList< CandidateClass >::fill().
00159 { 00160 return ( this->labeledCandidateList().end( otherLabel( m_label ) ) ) ; 00161 }
void dchain::ConjugateList< CandidateClass >::conjugation_iterate | ( | const TAnalyzer & | analyzer | ) | const [inline, inherited] |
TAnalyzer takes two arguments 1) const CandidateClass& 2) a bool which is 'true' if the candiate matches the present conjugation
Reimplemented in dchain::ChosenChargeList< Charged, CandidateClass >, dchain::ChosenConjugateList< Conjugate, CandidateClass >, dchain::CombinatoricList< CandidateClass >, dchain::DecayList< DecayClass, CandidateClass >, dchain::ChosenChargeList< Charged, Charged::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, NeutralNC::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, CandidateClass >, and dchain::DecayList< DCCandidateTraits< CandidateClass >::DCCandidateTraits< CandidateClass >::DecayClass, CandidateClass >.
Definition at line 117 of file ConjugateList.h.
00118 { 00119 const_iterator finished ( this->end() ) ; 00120 for ( const_iterator entry ( this->begin() ) ; 00121 entry != finished ; 00122 ++entry ) { 00123 analyze( (*entry)() , (*entry).label() == m_label ) ; 00124 } 00125 }
bool dchain::CandidateList< CandidateClass >::empty | ( | ) | const [virtual, inherited] |
Definition at line 135 of file CandidateList.cc.
References dchain::CandidateList< CandidateClass >::labeledCandidateList().
00136 { 00137 return ( labeledCandidateList().empty() ) ; 00138 }
CandidateList< CandidateClass >::const_iterator dchain::CandidateList< CandidateClass >::end | ( | ) | const [virtual, inherited] |
Reimplemented in dchain::CombinatoricList< CandidateClass >.
Definition at line 160 of file CandidateList.cc.
References dchain::CandidateList< CandidateClass >::end(), and dchain::CandidateList< CandidateClass >::labeledCandidateList().
00161 { 00162 // do this casting to make sure const 'end' function is called 00163 return ( static_cast<const dchain::LabeledCandidateList< CandidateClass >*>(&labeledCandidateList())->end() ); 00164 }
CandidateList< CandidateClass >::iterator dchain::CandidateList< CandidateClass >::end | ( | ) | [virtual, inherited] |
Reimplemented in dchain::CombinatoricList< CandidateClass >.
Definition at line 123 of file CandidateList.cc.
References dchain::CandidateList< CandidateClass >::labeledCandidateList().
Referenced by dchain::CandidateList< CandidateClass >::end(), and dchain::CandidateList< NeutralNC::CandidateClass >::iterate().
00124 { 00125 return ( labeledCandidateList().end() ) ; 00126 }
void dchain::NeutralVisibleList< Neutral, CandidateClass >::erase | ( | ) | [inline, inherited] |
void dchain::NeutralVisibleList< Neutral, CandidateClass >::eraseContents | ( | ) | [inherited] |
Definition at line 166 of file NeutralVisibleList.cc.
References dchain::NeutralVisibleList< Neutral, CandidateClass >::m_list.
Referenced by dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >::erase(), dchain::NeutralVisibleList< Neutral, CandidateClass >::operator=(), DCNeutralVisibleList< Neutral, CandidateClass >::operator=(), and dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >::operator=().
void dchain::NeutralVisibleList< Neutral, CandidateClass >::fill | ( | Iterator | first, | |
Iterator | last, | |||
const TMaker & | aMaker, | |||
const TSelector & | aSel = SelectAll<Neutral>() | |||
) | [inline, inherited] |
Definition at line 231 of file NeutralVisibleList.h.
00233 { 00234 std::transform(first,last, 00235 selectiveInserter(aSel), 00236 aMaker); 00237 }
void dchain::NeutralVisibleList< Neutral, CandidateClass >::fill | ( | const LabeledParticleList< Neutral, CandidateClass > & | aList, | |
const TMaker & | aMaker, | |||
const TSelector & | aSel | |||
) | [inline, inherited] |
Definition at line 216 of file NeutralVisibleList.h.
Referenced by dchain::fill_using_selector(), dchain::NeutralVisibleList< Neutral, CandidateClass >::NeutralVisibleList(), dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >::NeutralVisibleList(), dchain::NeutralVisibleList< Neutral, CandidateClass >::operator=(), and dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >::operator=().
00218 { 00219 00220 for( const_iterator entry(aList.begin()); entry != aList.end(); ++entry){ 00221 //NOTE: even though this is really just calling the copy constructor 00222 //it is best to use the maker since it allows further control 00223 const Neutral& from((*entry)()); 00224 typename ResultTypeTrait<TMaker>::type localCopy( aMaker(from) ); 00225 00226 attempt_insert(localCopy,aSel); 00227 } 00228 00229 }
void DCNeutralVisibleList< Neutral, CandidateClass >::fill | ( | Iterator | first, | |
Iterator | last | |||
) | [inline, protected] |
Definition at line 130 of file DCNeutralVisibleList.h.
00130 { 00131 if ( 0 != m_function ) { 00132 fill(first,last, dchain::NewMaker<Neutral>(), m_function); 00133 } else if (m_functionalObject) { 00134 fill(first,last,dchain::NewMaker<Neutral>(),m_functionalObject); 00135 } else { 00136 fill(first,last, dchain::NewMaker<Neutral>(), dchain::SelectAll<Neutral>()); 00137 } 00138 }
void DCNeutralVisibleList< Neutral, CandidateClass >::fill | ( | const dchain::LabeledParticleList< Neutral, CandidateClass > & | aList | ) | [protected] |
Reimplemented in DCFillableNeutralList< Neutral >.
Definition at line 162 of file DCNeutralVisibleList.cc.
References DCNeutralVisibleList< Neutral, CandidateClass >::m_function, and DCNeutralVisibleList< Neutral, CandidateClass >::m_functionalObject.
Referenced by DCNeutralVisibleList< Neutral, Neutral::CandidateClass >::fill(), DCFillableNeutralList< Neutral >::fill(), and DCNeutralVisibleList< Neutral, CandidateClass >::operator=().
00163 { 00164 if ( 0 != m_function ) { 00165 fill(aList, dchain::NewMaker<Neutral>(), m_function); 00166 } else if (m_functionalObject) { 00167 fill(aList,dchain::NewMaker<Neutral>(), m_functionalObject); 00168 } else { 00169 fill(aList, dchain::NewMaker<Neutral>(), dchain::SelectAll<Neutral>()); 00170 } 00171 }
void dchain::NeutralVisibleList< Neutral, CandidateClass >::insert | ( | THolder & | pPossible | ) | [inline, inherited] |
Definition at line 204 of file NeutralVisibleList.h.
Referenced by dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >::attempt_insert().
00204 { 00205 m_list->push_back( LabeledParticle< Neutral >( pPossible , 00206 conjugation::kNone ) ) ; 00207 }
bool dchain::ConjugateList< CandidateClass >::isConjugateOf | ( | const ConjugateList< CandidateClass > & | aList | ) | const [inherited] |
Definition at line 127 of file ConjugateList.cc.
References dchain::ConjugateList< CandidateClass >::label(), dchain::CandidateList< CandidateClass >::labeledCandidateList(), and dchain::otherLabel().
Referenced by dchain::CombinatoricList< CandidateClass >::determineConjugation().
00128 { 00129 return ( ( &(this->labeledCandidateList()) == &(aList.labeledCandidateList()) ) && 00130 ( label() == otherLabel( aList.label() ) ) ) ; 00131 }
bool dchain::ConjugateList< CandidateClass >::isSelfConjugate | ( | ) | const [virtual, inherited] |
Reimplemented in dchain::CombinatoricList< CandidateClass >.
Definition at line 121 of file ConjugateList.cc.
References dchain::conjugation::kNone, and dchain::ConjugateList< CandidateClass >::m_label.
Referenced by dchain::operator+(), and operator+().
00122 { 00123 return ( conjugation::kNone == m_label ) ; 00124 }
void dchain::CandidateList< CandidateClass >::iterate | ( | const TAnalyzer & | analyze | ) | const [inline, inherited] |
Reimplemented in dchain::ChosenChargeList< Charged, CandidateClass >, dchain::ChosenConjugateList< Conjugate, CandidateClass >, dchain::ChosenChargeList< Charged, Charged::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, NeutralNC::CandidateClass >, and dchain::ChosenConjugateList< NeutralNC, CandidateClass >.
Definition at line 102 of file CandidateList.h.
00102 { 00103 const_iterator finished ( end() ); 00104 for ( const_iterator entry ( begin() ) ; 00105 entry != finished ; 00106 ++entry ) { 00107 analyze( (*entry)() ) ; 00108 } 00109 }
void dchain::NeutralVisibleList< Neutral, CandidateClass >::iterate | ( | TAnalyze & | analyze | ) | const [inline, inherited] |
Definition at line 180 of file NeutralVisibleList.h.
00180 { 00181 const_iterator finished ( particle_end() ) ; 00182 for ( const_iterator entry ( particle_begin() ) ; 00183 entry != finished ; 00184 ++entry ) { 00185 analyze( (*entry)() ) ; 00186 } 00187 }
void dchain::NeutralVisibleList< Neutral, CandidateClass >::iterate | ( | const TAnalyze & | analyze | ) | const [inline, inherited] |
Definition at line 170 of file NeutralVisibleList.h.
00170 { 00171 const_iterator finished ( particle_end() ) ; 00172 for ( const_iterator entry ( particle_begin() ) ; 00173 entry != finished ; 00174 ++entry ) { 00175 analyze( (*entry)() ) ; 00176 } 00177 }
conjugation::Label dchain::ConjugateList< CandidateClass >::label | ( | ) | const [virtual, inherited] |
Reimplemented in dchain::CombinatoricList< CandidateClass >.
Definition at line 165 of file ConjugateList.cc.
References dchain::ConjugateList< CandidateClass >::m_label.
Referenced by dchain::DecayList< DCCandidateTraits< CandidateClass >::DCCandidateTraits< CandidateClass >::DecayClass, CandidateClass >::conjugation_iterate(), dchain::ChosenConjugateList< NeutralNC, CandidateClass >::conjugation_iterate(), dchain::ChosenChargeList< Charged, Charged::CandidateClass >::conjugation_iterate(), and dchain::ConjugateList< CandidateClass >::isConjugateOf().
00166 { 00167 return ( m_label ) ; 00168 }
const dchain::LabeledParticleList< Neutral, CandidateClass > & dchain::NeutralVisibleList< Neutral, CandidateClass >::labeledCandidateList | ( | ) | const [protected, virtual, inherited] |
Implements dchain::CandidateList< CandidateClass >.
Definition at line 192 of file NeutralVisibleList.cc.
References dchain::NeutralVisibleList< Neutral, CandidateClass >::m_list.
00193 { 00194 return ( *m_list ) ; 00195 }
dchain::LabeledParticleList< Neutral, CandidateClass > & dchain::NeutralVisibleList< Neutral, CandidateClass >::labeledCandidateList | ( | ) | [protected, virtual, inherited] |
Implements dchain::CandidateList< CandidateClass >.
Definition at line 159 of file NeutralVisibleList.cc.
References dchain::NeutralVisibleList< Neutral, CandidateClass >::m_list.
Referenced by DCNeutralVisibleList< Neutral, CandidateClass >::operator=().
00160 { 00161 return ( *m_list ) ; 00162 }
const DCNeutralVisibleList< Neutral, CandidateClass > & DCNeutralVisibleList< Neutral, CandidateClass >::operator= | ( | const DCNeutralVisibleList< Neutral, CandidateClass > & | aOtherList | ) |
Definition at line 154 of file DCNeutralVisibleList.cc.
References dchain::NeutralVisibleList< Neutral, CandidateClass >::eraseContents(), DCNeutralVisibleList< Neutral, CandidateClass >::fill(), and dchain::NeutralVisibleList< Neutral, CandidateClass >::labeledCandidateList().
00155 { 00156 this->eraseContents() ; 00157 fill( aOtherList.labeledCandidateList() ) ; 00158 return ( *this ) ; 00159 }
FillListWithSelection<self_type, TSelector> dchain::NeutralVisibleList< Neutral, CandidateClass >::operator[] | ( | const TSelector & | iSel | ) | [inline, inherited] |
Definition at line 157 of file NeutralVisibleList.h.
00157 { 00158 return FillListWithSelection<self_type,TSelector>(*this, iSel); 00159 }
ConjugateList< CandidateClass >::const_partial_iterator dchain::ConjugateList< CandidateClass >::partial_begin | ( | ) | const [virtual, inherited] |
Reimplemented in dchain::CombinatoricList< CandidateClass >.
Definition at line 140 of file ConjugateList.cc.
References dchain::ConjugateList< CandidateClass >::m_label.
Referenced by dchain::ConjugateList< NeutralNC::CandidateClass >::partial_iterate().
00141 { 00142 return ( this->labeledCandidateList().begin( m_label ) ) ; 00143 }
ConjugateList< CandidateClass >::const_partial_iterator dchain::ConjugateList< CandidateClass >::partial_end | ( | ) | const [virtual, inherited] |
Reimplemented in dchain::CombinatoricList< CandidateClass >.
Definition at line 146 of file ConjugateList.cc.
References dchain::ConjugateList< CandidateClass >::m_label.
Referenced by dchain::ConjugateList< NeutralNC::CandidateClass >::partial_iterate().
00147 { 00148 return ( this->labeledCandidateList().end( m_label ) ) ; 00149 }
void dchain::ConjugateList< CandidateClass >::partial_iterate | ( | const TAnalyzer & | analyze | ) | const [inline, inherited] |
Reimplemented in dchain::ChosenChargeList< Charged, CandidateClass >, dchain::ChosenConjugateList< Conjugate, CandidateClass >, dchain::ChosenChargeList< Charged, Charged::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, NeutralNC::CandidateClass >, and dchain::ChosenConjugateList< NeutralNC, CandidateClass >.
Definition at line 128 of file ConjugateList.h.
00128 { 00129 const_partial_iterator finished ( partial_end() ) ; 00130 for ( const_partial_iterator entry ( partial_begin() ) ; 00131 entry != finished ; 00132 ++entry ) { 00133 analyze( (*entry)() ) ; 00134 } 00135 }
int dchain::ConjugateList< CandidateClass >::partial_size | ( | ) | const [inherited] |
Definition at line 134 of file ConjugateList.cc.
References dchain::ConjugateList< CandidateClass >::m_label.
00135 { 00136 return ( this->labeledCandidateList().size( m_label ) ) ; 00137 }
NeutralVisibleList< Neutral, CandidateClass >::const_iterator dchain::NeutralVisibleList< Neutral, CandidateClass >::particle_begin | ( | ) | const [inherited] |
Definition at line 177 of file NeutralVisibleList.cc.
References dchain::NeutralVisibleList< Neutral, CandidateClass >::m_list, and dchain::ReferenceHolderBase< TPtr, TRef >::pointer().
00178 { 00179 // Need to cast to 'const' to get the right function call 00180 return ( (*(const dchain::LabeledParticleList< Neutral , CandidateClass >*)(m_list.pointer())).begin() ) ; 00181 }
NeutralVisibleList< Neutral, CandidateClass >::iterator dchain::NeutralVisibleList< Neutral, CandidateClass >::particle_begin | ( | ) | [inherited] |
Definition at line 147 of file NeutralVisibleList.cc.
References dchain::NeutralVisibleList< Neutral, CandidateClass >::m_list.
Referenced by dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >::iterate(), and dchain::operator+().
00148 { 00149 return ( m_list->begin() ) ; 00150 }
NeutralVisibleList< Neutral, CandidateClass >::const_iterator dchain::NeutralVisibleList< Neutral, CandidateClass >::particle_end | ( | ) | const [inherited] |
Definition at line 184 of file NeutralVisibleList.cc.
References dchain::NeutralVisibleList< Neutral, CandidateClass >::m_list, and dchain::ReferenceHolderBase< TPtr, TRef >::pointer().
00185 { 00186 // Need to cast to 'const' to get the right function call 00187 return ( (*(const dchain::LabeledParticleList< Neutral , CandidateClass >*)(m_list.pointer())).end() ) ; 00188 }
NeutralVisibleList< Neutral, CandidateClass >::iterator dchain::NeutralVisibleList< Neutral, CandidateClass >::particle_end | ( | ) | [inherited] |
Definition at line 153 of file NeutralVisibleList.cc.
References dchain::NeutralVisibleList< Neutral, CandidateClass >::m_list.
Referenced by dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >::iterate(), and dchain::operator+().
00154 { 00155 return ( m_list->end() ) ; 00156 }
SelectiveInserter<self_type,TSelect> dchain::NeutralVisibleList< Neutral, CandidateClass >::selectiveInserter | ( | const TSelect & | iSelect | ) | [inline, inherited] |
creates an insert iterator that filters based on iSelect
Definition at line 191 of file NeutralVisibleList.h.
Referenced by dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >::fill().
00191 { 00192 return SelectiveInserter<self_type,TSelect>(*this,iSelect); }
void dchain::ConjugateList< CandidateClass >::setLabel | ( | const conjugation::Label | aLabel | ) | [protected, inherited] |
Definition at line 111 of file ConjugateList.cc.
References dchain::ConjugateList< CandidateClass >::m_label.
Referenced by dchain::DecayList< DCCandidateTraits< CandidateClass >::DCCandidateTraits< CandidateClass >::DecayClass, CandidateClass >::fill().
00112 { 00113 m_label = aLabel ; 00114 }
int dchain::CandidateList< CandidateClass >::size | ( | ) | const [virtual, inherited] |
Definition at line 143 of file CandidateList.cc.
References dchain::CandidateList< CandidateClass >::labeledCandidateList().
Referenced by NeutralDReconstruction::execute(), DsReconstruction::execute(), and ChargedDReconstruction::execute().
00144 { 00145 return ( labeledCandidateList().size() ) ; 00146 }
bool( * DCNeutralVisibleList< Neutral, CandidateClass >::m_function)(Neutral &) [private] |
dchain::DCUnaryAdapter<DCSelectionFunction< Neutral > > DCNeutralVisibleList< Neutral, CandidateClass >::m_functionalObject [private] |
Definition at line 152 of file DCNeutralVisibleList.h.
Referenced by DCNeutralVisibleList< Neutral, CandidateClass >::fill(), and DCNeutralVisibleList< Neutral, Neutral::CandidateClass >::fill().