BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
dchain::ChosenChargeList< Charged, CandidateClass > Class Template Reference

#include <ChosenChargeList.h>

+ Inheritance diagram for dchain::ChosenChargeList< Charged, CandidateClass >:

Public Types

typedef dchain::MuteWholeItr< Charged > iterator
 
typedef dchain::WholeItr< Charged > const_iterator
 
typedef dchain::PartialItr< Charged > const_partial_iterator
 
typedef dchain::MuteWholeItr< Charged > iterator
 
typedef dchain::WholeItr< Charged > const_iterator
 
typedef dchain::PartialItr< Charged > const_partial_iterator
 
- Public Types inherited from dchain::ConjugateList< CandidateClass >
typedef dchain::MuteWholeCandidateItr< CandidateClass > iterator
 
typedef dchain::WholeCandidateItr< CandidateClass > const_iterator
 
typedef dchain::PartialCandidateItr< CandidateClass > const_partial_iterator
 
typedef dchain::MuteWholeCandidateItr< CandidateClass > iterator
 
typedef dchain::WholeCandidateItr< CandidateClass > const_iterator
 
typedef dchain::PartialCandidateItr< CandidateClass > const_partial_iterator
 
- 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
 
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

virtual ~ChosenChargeList ()
 
iterator particle_begin ()
 
iterator particle_end ()
 
const_iterator particle_begin () const
 
const_iterator particle_end () const
 
const_partial_iterator partial_particle_begin () const
 
const_partial_iterator partial_particle_end () const
 
template<class TAnalyzer >
void iterate (const TAnalyzer &analyzer) const
 
template<class TAnalyzer >
void conjugation_iterate (const TAnalyzer &analyzer) const
 
template<class TAnalyzer >
void partial_iterate (const TAnalyzer &analyzer) const
 
virtual ~ChosenChargeList ()
 
iterator particle_begin ()
 
iterator particle_end ()
 
const_iterator particle_begin () const
 
const_iterator particle_end () const
 
const_partial_iterator partial_particle_begin () const
 
const_partial_iterator partial_particle_end () const
 
template<class TAnalyzer >
void iterate (const TAnalyzer &analyzer) const
 
template<class TAnalyzer >
void conjugation_iterate (const TAnalyzer &analyzer) const
 
template<class TAnalyzer >
void partial_iterate (const TAnalyzer &analyzer) const
 
- Public Member Functions inherited from dchain::ConjugateList< CandidateClass >
 ConjugateList (const conjugation::Label aLabel)
 
virtual ~ConjugateList ()
 
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
 
 ConjugateList (const conjugation::Label aLabel)
 
virtual ~ConjugateList ()
 
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
 
- 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
 
 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

 ChosenChargeList (dchain::LabeledParticleList< Charged, CandidateClass > &aLabeledDecayList, const conjugation::Label aLabel)
 
virtual dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList ()
 
virtual const dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList () const
 
 ChosenChargeList (dchain::LabeledParticleList< Charged, CandidateClass > &aLabeledDecayList, const conjugation::Label aLabel)
 
virtual dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList ()
 
virtual const dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList () const
 
- Protected Member Functions inherited from dchain::ConjugateList< CandidateClass >
void setLabel (const conjugation::Label aLabel)
 
void setLabel (const conjugation::Label aLabel)
 
virtual dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList ()=0
 
virtual const dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList () const =0
 
virtual dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList ()=0
 
virtual const dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList () const =0
 

Friends

class dchain::ChargedVisibleList< Charged, CandidateClass >
 

Detailed Description

template<class Charged, class CandidateClass>
class dchain::ChosenChargeList< Charged, CandidateClass >

Definition at line 54 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/List/ChosenChargeList.h.

Member Typedef Documentation

◆ const_iterator [1/2]

template<class Charged , class CandidateClass >
typedef dchain::WholeItr< Charged > dchain::ChosenChargeList< Charged, CandidateClass >::const_iterator

◆ const_iterator [2/2]

template<class Charged , class CandidateClass >
typedef dchain::WholeItr< Charged > dchain::ChosenChargeList< Charged, CandidateClass >::const_iterator

◆ const_partial_iterator [1/2]

template<class Charged , class CandidateClass >
typedef dchain::PartialItr< Charged > dchain::ChosenChargeList< Charged, CandidateClass >::const_partial_iterator

◆ const_partial_iterator [2/2]

template<class Charged , class CandidateClass >
typedef dchain::PartialItr< Charged > dchain::ChosenChargeList< Charged, CandidateClass >::const_partial_iterator

◆ iterator [1/2]

template<class Charged , class CandidateClass >
typedef dchain::MuteWholeItr< Charged > dchain::ChosenChargeList< Charged, CandidateClass >::iterator

◆ iterator [2/2]

template<class Charged , class CandidateClass >
typedef dchain::MuteWholeItr< Charged > dchain::ChosenChargeList< Charged, CandidateClass >::iterator

Constructor & Destructor Documentation

◆ ~ChosenChargeList() [1/2]

template<class Charged , class CandidateClass >
dchain::ChosenChargeList< Charged, CandidateClass >::~ChosenChargeList
virtual

◆ ChosenChargeList() [1/2]

template<class Charged , class CandidateClass >
dchain::ChosenChargeList< Charged, CandidateClass >::ChosenChargeList ( dchain::LabeledParticleList< Charged, CandidateClass > &  aLabeledDecayList,
const conjugation::Label  aLabel 
)
protected

Definition at line 101 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/List/Template/ChosenChargeList.cc.

102 :
103 ConjugateList< CandidateClass >( aLabel ) ,
104 m_list( &aLabeledDecayList )
105{
106}

◆ ~ChosenChargeList() [2/2]

template<class Charged , class CandidateClass >
virtual dchain::ChosenChargeList< Charged, CandidateClass >::~ChosenChargeList ( )
virtual

◆ ChosenChargeList() [2/2]

template<class Charged , class CandidateClass >
dchain::ChosenChargeList< Charged, CandidateClass >::ChosenChargeList ( dchain::LabeledParticleList< Charged, CandidateClass > &  aLabeledDecayList,
const conjugation::Label  aLabel 
)
protected

Member Function Documentation

◆ conjugation_iterate() [1/2]

template<class Charged , class CandidateClass >
template<class TAnalyzer >
void dchain::ChosenChargeList< Charged, CandidateClass >::conjugation_iterate ( const TAnalyzer &  analyzer) const
inline

◆ conjugation_iterate() [2/2]

template<class Charged , class CandidateClass >
template<class TAnalyzer >
void dchain::ChosenChargeList< Charged, CandidateClass >::conjugation_iterate ( const TAnalyzer &  analyzer) const
inline

Definition at line 89 of file InstallArea/include/DecayChain/DecayChain/List/ChosenChargeList.h.

90 {
91 const_iterator finished ( particle_end() ) ;
92 for ( const_iterator entry ( particle_begin() ) ;
93 entry != finished ;
94 ++entry ) {
95 analyze( (*entry)() , (*entry).label() == this->label() ) ;
96 }
97 }

◆ iterate() [1/2]

template<class Charged , class CandidateClass >
template<class TAnalyzer >
void dchain::ChosenChargeList< Charged, CandidateClass >::iterate ( const TAnalyzer &  analyzer) const
inline

Definition at line 79 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/List/ChosenChargeList.h.

80 {
81 const_iterator finished ( particle_end() ) ;
82 for ( const_iterator entry ( particle_begin() ) ;
83 entry != finished ;
84 ++entry ) {
85 analyze( (*entry)() ) ;
86 }
87 }

◆ iterate() [2/2]

template<class Charged , class CandidateClass >
template<class TAnalyzer >
void dchain::ChosenChargeList< Charged, CandidateClass >::iterate ( const TAnalyzer &  analyzer) const
inline

Definition at line 79 of file InstallArea/include/DecayChain/DecayChain/List/ChosenChargeList.h.

80 {
81 const_iterator finished ( particle_end() ) ;
82 for ( const_iterator entry ( particle_begin() ) ;
83 entry != finished ;
84 ++entry ) {
85 analyze( (*entry)() ) ;
86 }
87 }

◆ labeledCandidateList() [1/4]

template<class Charged , class CandidateClass >
dchain::LabeledCandidateList< CandidateClass > & dchain::ChosenChargeList< Charged, CandidateClass >::labeledCandidateList
protectedvirtual

◆ labeledCandidateList() [2/4]

template<class Charged , class CandidateClass >
virtual dchain::LabeledCandidateList< CandidateClass > & dchain::ChosenChargeList< Charged, CandidateClass >::labeledCandidateList ( )
protectedvirtual

◆ labeledCandidateList() [3/4]

template<class Charged , class CandidateClass >
const dchain::LabeledCandidateList< CandidateClass > & dchain::ChosenChargeList< Charged, CandidateClass >::labeledCandidateList
protectedvirtual

◆ labeledCandidateList() [4/4]

template<class Charged , class CandidateClass >
virtual const dchain::LabeledCandidateList< CandidateClass > & dchain::ChosenChargeList< Charged, CandidateClass >::labeledCandidateList ( ) const
protectedvirtual

◆ partial_iterate() [1/2]

template<class Charged , class CandidateClass >
template<class TAnalyzer >
void dchain::ChosenChargeList< Charged, CandidateClass >::partial_iterate ( const TAnalyzer &  analyzer) const
inline

◆ partial_iterate() [2/2]

template<class Charged , class CandidateClass >
template<class TAnalyzer >
void dchain::ChosenChargeList< Charged, CandidateClass >::partial_iterate ( const TAnalyzer &  analyzer) const
inline

Definition at line 100 of file InstallArea/include/DecayChain/DecayChain/List/ChosenChargeList.h.

100 {
103 entry != finished ;
104 ++entry ) {
105 analyze( (*entry)() ) ;
106 }
107 }

◆ partial_particle_begin() [1/2]

template<class Charged , class CandidateClass >
ChosenChargeList< Charged, CandidateClass >::const_partial_iterator dchain::ChosenChargeList< Charged, CandidateClass >::partial_particle_begin

◆ partial_particle_begin() [2/2]

template<class Charged , class CandidateClass >
const_partial_iterator dchain::ChosenChargeList< Charged, CandidateClass >::partial_particle_begin ( ) const

◆ partial_particle_end() [1/2]

template<class Charged , class CandidateClass >
ChosenChargeList< Charged, CandidateClass >::const_partial_iterator dchain::ChosenChargeList< Charged, CandidateClass >::partial_particle_end

Definition at line 167 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/List/Template/ChosenChargeList.cc.

168{
169// Need to cast to 'const' to get the right function call
170 return ( (*(const dchain::LabeledParticleList< Charged , CandidateClass >*)(m_list.pointer())).end( this->label() ) ) ;
171}

Referenced by dchain::ChosenChargeList< Charged, CandidateClass >::partial_iterate().

◆ partial_particle_end() [2/2]

template<class Charged , class CandidateClass >
const_partial_iterator dchain::ChosenChargeList< Charged, CandidateClass >::partial_particle_end ( ) const

◆ particle_begin() [1/4]

template<class Charged , class CandidateClass >
ChosenChargeList< Charged, CandidateClass >::iterator dchain::ChosenChargeList< Charged, CandidateClass >::particle_begin

◆ particle_begin() [2/4]

template<class Charged , class CandidateClass >
iterator dchain::ChosenChargeList< Charged, CandidateClass >::particle_begin ( )

◆ particle_begin() [3/4]

template<class Charged , class CandidateClass >
ChosenChargeList< Charged, CandidateClass >::const_iterator dchain::ChosenChargeList< Charged, CandidateClass >::particle_begin

Definition at line 146 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/List/Template/ChosenChargeList.cc.

147{
148// Need to cast to 'const' to get the right function call
149 return ( (*(const dchain::LabeledParticleList< Charged , CandidateClass >*)(m_list.pointer())).begin() ) ;
150}

◆ particle_begin() [4/4]

template<class Charged , class CandidateClass >
const_iterator dchain::ChosenChargeList< Charged, CandidateClass >::particle_begin ( ) const

◆ particle_end() [1/4]

template<class Charged , class CandidateClass >
ChosenChargeList< Charged, CandidateClass >::iterator dchain::ChosenChargeList< Charged, CandidateClass >::particle_end

◆ particle_end() [2/4]

template<class Charged , class CandidateClass >
iterator dchain::ChosenChargeList< Charged, CandidateClass >::particle_end ( )

◆ particle_end() [3/4]

template<class Charged , class CandidateClass >
ChosenChargeList< Charged, CandidateClass >::const_iterator dchain::ChosenChargeList< Charged, CandidateClass >::particle_end

Definition at line 153 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/List/Template/ChosenChargeList.cc.

154{
155// Need to cast to 'const' to get the right function call
156 return ( (*(const dchain::LabeledParticleList< Charged , CandidateClass >*)(m_list.pointer())).end() ) ;
157}

◆ particle_end() [4/4]

template<class Charged , class CandidateClass >
const_iterator dchain::ChosenChargeList< Charged, CandidateClass >::particle_end ( ) const

Friends And Related Function Documentation

◆ dchain::ChargedVisibleList< Charged, CandidateClass >

template<class Charged , class CandidateClass >
friend class dchain::ChargedVisibleList< Charged, CandidateClass >
friend

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