#include <NeutralVisibleList.h>
Inheritance diagram for dchain::NeutralVisibleList< Neutral, CandidateClass >:
Public Types | |
typedef dchain::MuteWholeItr< Neutral > | iterator |
typedef dchain::WholeItr< Neutral > | const_iterator |
typedef Neutral | value_type |
typedef NeutralVisibleList< Neutral, CandidateClass > | self_type |
typedef dchain::PartialCandidateItr< CandidateClass > | const_partial_iterator |
Public Member Functions | |
NeutralVisibleList () | |
NeutralVisibleList (const self_type &aOtherList) | |
template<class TSelector> | |
NeutralVisibleList (const self_type &aOtherList, const TSelector &aSel) | |
template<class WitnessIterator> | |
NeutralVisibleList (WitnessIterator first, WitnessIterator last) | |
template<class WitnessIterator, class TSelector> | |
NeutralVisibleList (WitnessIterator first, WitnessIterator last, const TSelector &aFunctionalObject) | |
virtual | ~NeutralVisibleList () |
const self_type & | operator= (const self_type &aOtherList) |
template<class Witness> | |
const self_type & | operator= (const Witness &aWitnessList) |
template<class TSelector> | |
FillListWithSelection< self_type, TSelector > | operator[] (const TSelector &iSel) |
iterator | particle_begin () |
iterator | particle_end () |
const_iterator | particle_begin () const |
const_iterator | particle_end () const |
template<class TAnalyze> | |
void | iterate (const TAnalyze &analyze) const |
template<class TAnalyze> | |
void | iterate (TAnalyze &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 |
template<class TAnalyzer> | |
void | iterate (const TAnalyzer &analyze) const |
Protected Member Functions | |
virtual dchain::LabeledParticleList< Neutral, CandidateClass > & | labeledCandidateList () |
virtual const dchain::LabeledParticleList< Neutral, CandidateClass > & | labeledCandidateList () const |
void | setLabel (const conjugation::Label aLabel) |
Private Attributes | |
MutableReferenceHolder< dchain::LabeledParticleList< Neutral, CandidateClass > > | m_list |
Definition at line 100 of file NeutralVisibleList.h.
typedef dchain::WholeItr< Neutral > dchain::NeutralVisibleList< Neutral, CandidateClass >::const_iterator |
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 |
Reimplemented from dchain::ConjugateList< CandidateClass >.
Definition at line 106 of file NeutralVisibleList.h.
typedef NeutralVisibleList<Neutral,CandidateClass> dchain::NeutralVisibleList< Neutral, CandidateClass >::self_type |
Definition at line 112 of file NeutralVisibleList.h.
typedef Neutral dchain::NeutralVisibleList< Neutral, CandidateClass >::value_type |
Reimplemented from dchain::CandidateList< CandidateClass >.
Reimplemented in DCNeutralVisibleList< Neutral, CandidateClass >, and DCNeutralVisibleList< Neutral, Neutral::CandidateClass >.
Definition at line 110 of file NeutralVisibleList.h.
dchain::NeutralVisibleList< Neutral, CandidateClass >::NeutralVisibleList | ( | ) |
Definition at line 105 of file NeutralVisibleList.cc.
00105 : 00106 dchain::ConjugateList< CandidateClass >( dchain::conjugation::kNone ) , 00107 m_list( (new dchain::LabeledParticleList< Neutral , CandidateClass >) ) 00108 { 00109 }
dchain::NeutralVisibleList< Neutral, CandidateClass >::NeutralVisibleList | ( | const self_type & | aOtherList | ) |
Definition at line 113 of file NeutralVisibleList.cc.
References dchain::NeutralVisibleList< Neutral, CandidateClass >::fill(), and dchain::NeutralVisibleList< Neutral, CandidateClass >::m_list.
00113 : 00114 dchain::ConjugateList< CandidateClass >( dchain::conjugation::kNone ) , 00115 m_list( (new dchain::LabeledParticleList< Neutral , CandidateClass >) ) 00116 { 00117 typedef typename MakerTrait<Neutral>::maker_type Maker; 00118 fill( *(aOtherList.m_list), Maker(), SelectAll<Neutral>() ) ; 00119 00120 }
dchain::NeutralVisibleList< Neutral, CandidateClass >::NeutralVisibleList | ( | const self_type & | aOtherList, | |
const TSelector & | aSel | |||
) | [inline] |
Definition at line 117 of file NeutralVisibleList.h.
00118 : 00119 ConjugateList< CandidateClass >( dchain::conjugation::kNone ), 00120 m_list(new LabeledParticleList<Neutral,CandidateClass>) { 00121 fill(*(aOtherList.m_list), 00122 typename MakerTrait<Neutral>::maker_type(), 00123 aSel); 00124 }
dchain::NeutralVisibleList< Neutral, CandidateClass >::NeutralVisibleList | ( | WitnessIterator | first, | |
WitnessIterator | last | |||
) | [inline] |
Definition at line 127 of file NeutralVisibleList.h.
00127 : 00128 ConjugateList< CandidateClass >( dchain::conjugation::kNone ), 00129 m_list( new LabeledParticleList<Neutral,CandidateClass> ) { 00130 fill(first, last, typename MakerTrait<Neutral>::maker_type() ); }
dchain::NeutralVisibleList< Neutral, CandidateClass >::NeutralVisibleList | ( | WitnessIterator | first, | |
WitnessIterator | last, | |||
const TSelector & | aFunctionalObject | |||
) | [inline] |
Definition at line 133 of file NeutralVisibleList.h.
00135 : 00136 ConjugateList< CandidateClass >( dchain::conjugation::kNone ), 00137 m_list( new LabeledParticleList<Neutral,CandidateClass> ) 00138 { 00139 fill(first, last, 00140 typename MakerTrait<Neutral>::maker_type(), aFunctionalObject); }
dchain::NeutralVisibleList< Neutral, CandidateClass >::~NeutralVisibleList | ( | ) | [virtual] |
bool dchain::NeutralVisibleList< Neutral, CandidateClass >::attempt_insert | ( | THolder & | pPossible, | |
const TSelect & | aSelect | |||
) | [inline] |
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] |
void dchain::NeutralVisibleList< Neutral, CandidateClass >::eraseContents | ( | ) |
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] |
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] |
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 dchain::NeutralVisibleList< Neutral, CandidateClass >::insert | ( | THolder & | pPossible | ) | [inline] |
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] |
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] |
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] |
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] |
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 self_type& dchain::NeutralVisibleList< Neutral, CandidateClass >::operator= | ( | const Witness & | aWitnessList | ) | [inline] |
Reimplemented in DCFillableNeutralList< Neutral >.
Definition at line 147 of file NeutralVisibleList.h.
00147 { 00148 eraseContents(); 00149 fill(aWitnessList.begin(), aWitnessList.end(), 00150 typename MakerTrait<Neutral>::maker_type(), 00151 SelectAll<Neutral>() ); 00152 return ( *this ) ; 00153 }
const NeutralVisibleList< Neutral, CandidateClass > & dchain::NeutralVisibleList< Neutral, CandidateClass >::operator= | ( | const self_type & | aOtherList | ) |
Definition at line 134 of file NeutralVisibleList.cc.
References dchain::NeutralVisibleList< Neutral, CandidateClass >::eraseContents(), dchain::NeutralVisibleList< Neutral, CandidateClass >::fill(), and dchain::NeutralVisibleList< Neutral, CandidateClass >::m_list.
00135 { 00136 eraseContents() ; 00137 typedef typename MakerTrait<Neutral>::maker_type Maker; 00138 fill( *(aOtherList.m_list), Maker(), SelectAll<Neutral>() ) ; 00139 return ( *this ) ; 00140 }
FillListWithSelection<self_type, TSelector> dchain::NeutralVisibleList< Neutral, CandidateClass >::operator[] | ( | const TSelector & | iSel | ) | [inline] |
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 |
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 | ( | ) |
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 |
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 | ( | ) |
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] |
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 }
MutableReferenceHolder< dchain::LabeledParticleList< Neutral , CandidateClass > > dchain::NeutralVisibleList< Neutral, CandidateClass >::m_list [private] |
Definition at line 253 of file NeutralVisibleList.h.
Referenced by dchain::NeutralVisibleList< Neutral, CandidateClass >::eraseContents(), dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >::insert(), dchain::NeutralVisibleList< Neutral, CandidateClass >::labeledCandidateList(), dchain::NeutralVisibleList< Neutral, CandidateClass >::NeutralVisibleList(), dchain::NeutralVisibleList< Neutral, Neutral::CandidateClass >::NeutralVisibleList(), dchain::NeutralVisibleList< Neutral, CandidateClass >::operator=(), dchain::NeutralVisibleList< Neutral, CandidateClass >::particle_begin(), and dchain::NeutralVisibleList< Neutral, CandidateClass >::particle_end().