BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
DCFillableChargedList< Charged > Class Template Reference

#include <DCFillableChargedList.h>

+ Inheritance diagram for DCFillableChargedList< Charged >:

Public Member Functions

 DCFillableChargedList (bool(*pFunction)(Charged &)=0)
 
template<class WitnessIterator >
 DCFillableChargedList (WitnessIterator first, WitnessIterator last, bool(*pFunction)(Charged &)=0)
 
template<class WitnessIterator >
 DCFillableChargedList (WitnessIterator first, WitnessIterator last, DCSelectionFunction< Charged > &aFunctionalObject)
 
 DCFillableChargedList (const DCFillableChargedList< Charged > &aOtherList, bool(*pFunction)(Charged &)=0)
 
 DCFillableChargedList (DCSelectionFunction< Charged > &aFunctionalObject)
 
 DCFillableChargedList (const DCFillableChargedList< Charged > &aOtherList, DCSelectionFunction< Charged > &aFunctionalObject)
 
virtual ~DCFillableChargedList ()
 
const DCFillableChargedList< Charged > & operator= (const DCFillableChargedList< Charged > &aOtherList)
 
template<class Witness >
const DCFillableChargedList< Charged > & operator= (const Witness &aWitnessList)
 
template<class WitnessIterator >
void fill (WitnessIterator first, WitnessIterator last)
 
- Public Member Functions inherited from DCChargedVisibleList< Charged, Charged::CandidateClass >
 DCChargedVisibleList (bool(*pFunction)(Charged &)=0)
 
 DCChargedVisibleList (const DCChargedVisibleList< Charged, Charged::CandidateClass > &aOtherList, bool(*pFunction)(Charged &)=0)
 
 DCChargedVisibleList (DCSelectionFunction< Charged > &aFunctionalObject)
 
 DCChargedVisibleList (const DCChargedVisibleList< Charged, Charged::CandidateClass > &aOtherList, DCSelectionFunction< Charged > &aFunctionalObject)
 
virtual ~DCChargedVisibleList ()
 
const DCChargedVisibleList< Charged, Charged::CandidateClass > & operator= (const DCChargedVisibleList< Charged, Charged::CandidateClass > &aOtherList)
 
- Public Member Functions inherited from dchain::ChargedVisibleList< Charged, CandidateClass >
 ChargedVisibleList ()
 
 ChargedVisibleList (const self_type &aOtherList)
 
template<class TSelector >
 ChargedVisibleList (const self_type &aOtherList, const TSelector &aSel)
 
template<class WitnessIterator >
 ChargedVisibleList (WitnessIterator first, WitnessIterator last)
 
template<class WitnessIterator , class TSelector >
 ChargedVisibleList (WitnessIterator first, WitnessIterator last, const TSelector &aFunctionalObject)
 
virtual ~ChargedVisibleList ()
 
const self_typeoperator= (const self_type &aOtherList)
 
template<class Witness >
const self_typeoperator= (const Witness &aWitnessList)
 
template<class TSelector >
FillListWithSelection< self_type, TSelector > operator[] (const TSelector &iSel)
 
iterator particle_begin ()
 
iterator particle_end ()
 
ChosenChargeList< Charged, CandidateClass > & plus () const
 
ChosenChargeList< Charged, CandidateClass > & minus () const
 
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< Charged, 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< Charged >())
 
- 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
 

Additional Inherited Members

- Public Types inherited from DCChargedVisibleList< Charged, Charged::CandidateClass >
typedef dchain::MuteWholeItr< Charged > iterator
 
typedef dchain::WholeItr< Charged > const_iterator
 
typedef dchain::PartialItr< Charged > const_partial_iterator
 
typedef Charged value_type
 
- Public Types inherited from dchain::ChargedVisibleList< Charged, CandidateClass >
typedef MuteWholeItr< Charged > iterator
 
typedef WholeItr< Charged > const_iterator
 
typedef PartialItr< Charged > const_partial_iterator
 
typedef Charged value_type
 
typedef ChargedVisibleList< Charged, CandidateClass > self_type
 
- 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
 
- Protected Member Functions inherited from DCChargedVisibleList< Charged, Charged::CandidateClass >
void fill (const dchain::LabeledParticleList< Charged, Charged::CandidateClass > &aList)
 
void fill (Iterator first, Iterator last)
 
- Protected Member Functions inherited from dchain::ChargedVisibleList< Charged, CandidateClass >
virtual LabeledParticleList< Charged, CandidateClass > & labeledCandidateList ()
 
virtual const LabeledParticleList< Charged, CandidateClass > & labeledCandidateList () const
 
virtual dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList ()=0
 
virtual const dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList () const =0
 

Detailed Description

template<class Charged>
class DCFillableChargedList< Charged >

Definition at line 62 of file DCFillableChargedList.h.

Constructor & Destructor Documentation

◆ DCFillableChargedList() [1/6]

template<class Charged >
DCFillableChargedList< Charged >::DCFillableChargedList ( bool(*)(Charged &)  pFunction = 0)

◆ DCFillableChargedList() [2/6]

template<class Charged >
template<class WitnessIterator >
DCFillableChargedList< Charged >::DCFillableChargedList ( WitnessIterator  first,
WitnessIterator  last,
bool(*)(Charged &)  pFunction = 0 
)
inline

Definition at line 72 of file DCFillableChargedList.h.

73 :
75 fill(first, last); }
void fill(WitnessIterator first, WitnessIterator last)

◆ DCFillableChargedList() [3/6]

template<class Charged >
template<class WitnessIterator >
DCFillableChargedList< Charged >::DCFillableChargedList ( WitnessIterator  first,
WitnessIterator  last,
DCSelectionFunction< Charged > &  aFunctionalObject 
)
inline

Definition at line 82 of file DCFillableChargedList.h.

85 fill(first, last); }

◆ DCFillableChargedList() [4/6]

template<class Charged >
DCFillableChargedList< Charged >::DCFillableChargedList ( const DCFillableChargedList< Charged > &  aOtherList,
bool(*)(Charged &)  pFunction = 0 
)

Definition at line 73 of file DCFillableChargedList.cc.

75 :
77 pFunction )
78{
79}

◆ DCFillableChargedList() [5/6]

template<class Charged >
DCFillableChargedList< Charged >::DCFillableChargedList ( DCSelectionFunction< Charged > &  aFunctionalObject)

Definition at line 82 of file DCFillableChargedList.cc.

◆ DCFillableChargedList() [6/6]

template<class Charged >
DCFillableChargedList< Charged >::DCFillableChargedList ( const DCFillableChargedList< Charged > &  aOtherList,
DCSelectionFunction< Charged > &  aFunctionalObject 
)

Definition at line 89 of file DCFillableChargedList.cc.

91 :
93 aFunctionalObject )
94{
95}

◆ ~DCFillableChargedList()

template<class Charged >
DCFillableChargedList< Charged >::~DCFillableChargedList
virtual

Definition at line 98 of file DCFillableChargedList.cc.

100{
101}

Member Function Documentation

◆ fill()

template<class Charged >
template<class WitnessIterator >
void DCFillableChargedList< Charged >::fill ( WitnessIterator  first,
WitnessIterator  last 
)
inline

Definition at line 111 of file DCFillableChargedList.h.

111 {
113 last);
114 }
void fill(const dchain::LabeledParticleList< Charged, CandidateClass > &aList)

Referenced by dc_fill(), DCFillableChargedList< Charged >::DCFillableChargedList(), and DCFillableChargedList< Charged >::operator=().

◆ operator=() [1/2]

template<class Charged >
const DCFillableChargedList< Charged > & DCFillableChargedList< Charged >::operator= ( const DCFillableChargedList< Charged > &  aOtherList)

Definition at line 108 of file DCFillableChargedList.cc.

110{
112 return ( *this ) ;
113}
const DCChargedVisibleList< Charged, CandidateClass > & operator=(const DCChargedVisibleList< Charged, CandidateClass > &aOtherList)

◆ operator=() [2/2]

template<class Charged >
template<class Witness >
const DCFillableChargedList< Charged > & DCFillableChargedList< Charged >::operator= ( const Witness &  aWitnessList)
inline

Definition at line 103 of file DCFillableChargedList.h.

103 {
104 this->eraseContents();
105 fill(aWitnessList.begin(), aWitnessList.end());
106 return ( *this ) ;
107 }

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