BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
DCNeutralNCVisibleList< NeutralNC, CandidateClass > Class Template Reference

#include <DCNeutralNCVisibleList.h>

+ Inheritance diagram for DCNeutralNCVisibleList< NeutralNC, CandidateClass >:

Public Types

typedef dchain::MuteWholeItr< NeutralNC > iterator
 
typedef dchain::WholeItr< NeutralNC > const_iterator
 
typedef dchain::PartialItr< NeutralNC > const_partial_iterator
 
typedef NeutralNC value_type
 
- Public Types inherited from dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >
typedef dchain::MuteWholeItr< NeutralNC > iterator
 
typedef dchain::WholeItr< NeutralNC > const_iterator
 
typedef dchain::PartialItr< NeutralNC > const_partial_iterator
 
typedef NeutralNC value_type
 
typedef NeutralNCVisibleList< NeutralNC, 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
 

Public Member Functions

 DCNeutralNCVisibleList (bool(*pFunction)(NeutralNC &)=0)
 
 DCNeutralNCVisibleList (const DCNeutralNCVisibleList< NeutralNC, CandidateClass > &aOtherList, bool(*pFunction)(NeutralNC &)=0)
 
 DCNeutralNCVisibleList (DCSelectionFunction< NeutralNC > &aFunctionalObject)
 
 DCNeutralNCVisibleList (const DCNeutralNCVisibleList< NeutralNC, CandidateClass > &aOtherList, DCSelectionFunction< NeutralNC > &aFunctionalObject)
 
virtual ~DCNeutralNCVisibleList ()
 
const DCNeutralNCVisibleList< NeutralNC, CandidateClass > & operator= (const DCNeutralNCVisibleList< NeutralNC, CandidateClass > &aOtherList)
 
- Public Member Functions inherited from dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >
 NeutralNCVisibleList ()
 
 NeutralNCVisibleList (const self_type &aOtherList)
 
 NeutralNCVisibleList (const self_type &aOtherList, const TSelector &aSel)
 
virtual ~NeutralNCVisibleList ()
 
const self_typeoperator= (const Witness &aWitnessList)
 
FillListWithSelection< self_type, TSelector > operator[] (const TSelector &iSel)
 
iterator particle_begin ()
 
const_iterator particle_begin () const
 
iterator particle_end ()
 
const_iterator particle_end () const
 
ChosenConjugateList< NeutralNC, CandidateClass > & bar ()
 
ChosenConjugateList< NeutralNC, CandidateClass > & operator() ()
 
void iterate (const TAnalyze &analyze) const
 
void iterate (TAnalyze &analyze) const
 
SelectiveInserter< self_type, TSelect > selectiveInserter (const TSelect &iSelect)
 creates an insert iterator that filters based on iSelect
 
bool attempt_insert (THolder &pPossible, const TSelect &aSelect)
 
void insert (THolder &pPossible)
 
void eraseContents ()
 
void erase ()
 
void fill (const LabeledParticleList< NeutralNC, CandidateClass > &aList, const TMaker &aMaker, const TSelector &aSel)
 
void fill (Iterator first, Iterator last, const TMaker &aMaker, const TSelector &aSel=SelectAll< NeutralNC >())
 
- 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
 

Protected Member Functions

void fill (const dchain::LabeledParticleList< NeutralNC, CandidateClass > &aList)
 
template<class Iterator >
void fill (Iterator first, Iterator last)
 
- Protected Member Functions inherited from dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >
virtual dchain::LabeledParticleList< NeutralNC, CandidateClass > & labeledCandidateList ()
 
virtual const dchain::LabeledParticleList< NeutralNC, CandidateClass > & labeledCandidateList () const
 
virtual dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList ()=0
 
virtual const dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList () const =0
 

Detailed Description

template<class NeutralNC, class CandidateClass>
class DCNeutralNCVisibleList< NeutralNC, CandidateClass >

Definition at line 99 of file DCNeutralNCVisibleList.h.

Member Typedef Documentation

◆ const_iterator

template<class NeutralNC , class CandidateClass >
typedef dchain::WholeItr< NeutralNC > DCNeutralNCVisibleList< NeutralNC, CandidateClass >::const_iterator

Definition at line 106 of file DCNeutralNCVisibleList.h.

◆ const_partial_iterator

template<class NeutralNC , class CandidateClass >
typedef dchain::PartialItr< NeutralNC > DCNeutralNCVisibleList< NeutralNC, CandidateClass >::const_partial_iterator

Definition at line 107 of file DCNeutralNCVisibleList.h.

◆ iterator

template<class NeutralNC , class CandidateClass >
typedef dchain::MuteWholeItr< NeutralNC > DCNeutralNCVisibleList< NeutralNC, CandidateClass >::iterator

Definition at line 105 of file DCNeutralNCVisibleList.h.

◆ value_type

template<class NeutralNC , class CandidateClass >
typedef NeutralNC DCNeutralNCVisibleList< NeutralNC, CandidateClass >::value_type

Definition at line 109 of file DCNeutralNCVisibleList.h.

Constructor & Destructor Documentation

◆ DCNeutralNCVisibleList() [1/4]

template<class NeutralNC , class CandidateClass >
DCNeutralNCVisibleList< NeutralNC, CandidateClass >::DCNeutralNCVisibleList ( bool(*)(NeutralNC &)  pFunction = 0)

Definition at line 122 of file DCNeutralNCVisibleList.cc.

123 :
124 m_function( pFunction ) ,
125 m_functionalObject( 0 )
126{
127}

◆ DCNeutralNCVisibleList() [2/4]

template<class NeutralNC , class CandidateClass >
DCNeutralNCVisibleList< NeutralNC, CandidateClass >::DCNeutralNCVisibleList ( const DCNeutralNCVisibleList< NeutralNC, CandidateClass > &  aOtherList,
bool(*)(NeutralNC &)  pFunction = 0 
)

Definition at line 130 of file DCNeutralNCVisibleList.cc.

133 :
135 m_function( pFunction ) ,
136 m_functionalObject( 0 )
137{
138}

◆ DCNeutralNCVisibleList() [3/4]

template<class NeutralNC , class CandidateClass >
DCNeutralNCVisibleList< NeutralNC, CandidateClass >::DCNeutralNCVisibleList ( DCSelectionFunction< NeutralNC > &  aFunctionalObject)

Definition at line 141 of file DCNeutralNCVisibleList.cc.

142 :
143 m_function( 0 ) ,
144 m_functionalObject( &aFunctionalObject )
145{
146}

◆ DCNeutralNCVisibleList() [4/4]

template<class NeutralNC , class CandidateClass >
DCNeutralNCVisibleList< NeutralNC, CandidateClass >::DCNeutralNCVisibleList ( const DCNeutralNCVisibleList< NeutralNC, CandidateClass > &  aOtherList,
DCSelectionFunction< NeutralNC > &  aFunctionalObject 
)

Definition at line 149 of file DCNeutralNCVisibleList.cc.

152 :
153 dchain::NeutralNCVisibleList<NeutralNC,CandidateClass>(aOtherList, aFunctionalObject),
154 m_function( 0 ) ,
155 m_functionalObject( &aFunctionalObject )
156{
157}

◆ ~DCNeutralNCVisibleList()

template<class NeutralNC , class CandidateClass >
DCNeutralNCVisibleList< NeutralNC, CandidateClass >::~DCNeutralNCVisibleList
virtual

Definition at line 160 of file DCNeutralNCVisibleList.cc.

161{
162}

Member Function Documentation

◆ fill() [1/2]

template<class NeutralNC , class CandidateClass >
void DCNeutralNCVisibleList< NeutralNC, CandidateClass >::fill ( const dchain::LabeledParticleList< NeutralNC, CandidateClass > &  aList)
protected

Definition at line 181 of file DCNeutralNCVisibleList.cc.

183{
184 if ( 0 != m_function ) {
185 fill(aList, dchain::NewMaker<NeutralNC>(), m_function);
186 } else if (m_functionalObject) {
187 fill(aList,dchain::NewMaker<NeutralNC>(), m_functionalObject);
188 } else {
190 }
191}
void fill(const dchain::LabeledParticleList< NeutralNC, CandidateClass > &aList)

Referenced by DCNeutralNCVisibleList< NeutralNC, CandidateClass >::fill().

◆ fill() [2/2]

template<class NeutralNC , class CandidateClass >
template<class Iterator >
void DCNeutralNCVisibleList< NeutralNC, CandidateClass >::fill ( Iterator  first,
Iterator  last 
)
inlineprotected

Definition at line 131 of file DCNeutralNCVisibleList.h.

131 {
132 if ( 0 != m_function ) {
133 fill(first,last, dchain::NewMaker<NeutralNC>(), m_function);
134 } else if (m_functionalObject) {
135 fill(first,last,dchain::NewMaker<NeutralNC>(),m_functionalObject);
136 } else {
138 }
139 }

◆ operator=()

template<class NeutralNC , class CandidateClass >
const DCNeutralNCVisibleList< NeutralNC, CandidateClass > & DCNeutralNCVisibleList< NeutralNC, CandidateClass >::operator= ( const DCNeutralNCVisibleList< NeutralNC, CandidateClass > &  aOtherList)

Definition at line 169 of file DCNeutralNCVisibleList.cc.

170{
171 this->eraseContents() ;
172 fill( aOtherList.labeledCandidateList() ) ;
173 return ( *this ) ;
174}
virtual dchain::LabeledParticleList< NeutralNC, CandidateClass > & labeledCandidateList()

Referenced by DCFillableNeutralNCList< NeutralNC >::operator=().


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