BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
dchain Namespace Reference

Namespaces

namespace  candidateitr
 
namespace  children
 
namespace  conjugation
 

Classes

class  CandidateList
 
class  ChargedVisibleList
 
class  ChosenChargeList
 
class  ChosenConjugateList
 
class  CombinatoricList
 
class  CombinatoricLoop
 
class  ConjugateList
 
class  DCUnaryAdapter
 
class  DecayList
 
class  DPartialCandidateItr
 
class  FillDecayList
 
class  FillListWithSelection
 
class  IndexedLabeledCandidates
 
class  IndexedLabeledDecays
 
class  IndexedLabeledParticles
 
class  LabeledCandidate
 
class  LabeledCandidateList
 
class  LabeledDecay
 
class  LabeledParticle
 
class  LabeledParticleList
 
struct  MakerTrait
 
class  MutableReferenceHolder
 
class  MuteWholeCandidateItr
 
class  MuteWholeItr
 
class  NeutralNCVisibleList
 
class  NeutralVisibleList
 
struct  NewMaker
 
class  PartialCandidateItr
 
class  PartialItr
 
struct  ParticleTraits
 
class  ReferenceCount
 
class  ReferenceHolder
 
class  ReferenceHolderBase
 
struct  ResultTypeTrait
 
struct  ResultTypeTrait< TReturn(*)(const TArg &)>
 
struct  SelectAll
 
struct  SelectiveInserter
 
class  WholeCandidateItr
 
class  WholeItr
 

Functions

conjugation::Label otherLabel (const conjugation::Label &aLabel)
 
template<class CandidateClass >
LabeledCandidate< CandidateClass > * value_type (const MuteWholeCandidateItr< CandidateClass > &)
 
template<class T >
int charge_sign (const T &iCharged)
 
template<class T >
int charge_sign (const T *iCharged)
 
template<class T >
int charge_sign (T *iCharged)
 
template<class T >
int charge_sign (const std::auto_ptr< T > &iCharged)
 
template<class TPtr , class TRef >
int charge_sign (const ReferenceHolderBase< TPtr, TRef > &iHolder)
 
template<class TIList , class TSelector , class T , class U >
void fill_using_selector (const TIList &iList, const TSelector &iSel, ChargedVisibleList< T, U > &oList)
 
template<class CandidateClass >
CombinatoricList< CandidateClass > operator* (const ConjugateList< CandidateClass > &lhs, const ConjugateList< CandidateClass > &rhs)
 
template<class CandidateClass >
CombinatoricList< CandidateClass > operator* (const CombinatoricList< CandidateClass > &lhs, const ConjugateList< CandidateClass > &rhs)
 
template<class CandidateClass >
CombinatoricList< CandidateClass > operator* (const ConjugateList< CandidateClass > &lhs, const CombinatoricList< CandidateClass > &rhs)
 
template<class CandidateClass >
CombinatoricList< CandidateClass > operator* (const CombinatoricList< CandidateClass > &lhs, const CombinatoricList< CandidateClass > &rhs)
 
template<class DecayClass , class CandidateClass >
DecayList< DecayClass, CandidateClass > operator+ (const DecayList< DecayClass, CandidateClass > &iList1, const DecayList< DecayClass, CandidateClass > &iList2)
 
template<class DecayClass , class CandidateClass , class NeutralClass >
DecayList< DecayClass, CandidateClass > operator+ (const DecayList< DecayClass, CandidateClass > &iList1, const NeutralVisibleList< NeutralClass > &iList2)
 
template<class DecayClass , class CandidateClass , class NeutralClass >
DecayList< DecayClass, CandidateClass > operator+ (const NeutralVisibleList< NeutralClass > &iList1, const DecayList< DecayClass, CandidateClass > &iList2)
 
template<class TIList , class TSelector , class TOList >
void fill_using_selector (const TIList &iList, const TSelector &iSelector, TOList &oList)
 
template<class T >
int is_bar (const T &iNeutralNC)
 
template<class T >
int is_bar (const T *iNeutralNC)
 
template<class T >
int is_bar (T *iNeutralNC)
 
template<class TPtr , class TRef >
int is_bar (const ReferenceHolderBase< TPtr, TRef > &iHolder)
 
template<class TIList , class TSelector , class T , class U >
void fill_using_selector (const TIList &iList, const TSelector &iSel, NeutralNCVisibleList< T, U > &oList)
 
template<class TIList , class TSelector , class T , class U >
void fill_using_selector (const TIList &iList, const TSelector &iSel, NeutralVisibleList< T, U > &oList)
 

Function Documentation

◆ charge_sign() [1/5]

template<class TPtr , class TRef >
int dchain::charge_sign ( const ReferenceHolderBase< TPtr, TRef > & iHolder)

Definition at line 131 of file ChargedVisibleList.h.

131 {
132 return charge_sign(*iHolder);
133 }
int charge_sign(const T &iCharged)

◆ charge_sign() [2/5]

template<class T >
int dchain::charge_sign ( const std::auto_ptr< T > & iCharged)

Definition at line 126 of file ChargedVisibleList.h.

126 {
127 return static_cast<int>(iCharged->charge());
128 }

◆ charge_sign() [3/5]

template<class T >
int dchain::charge_sign ( const T & iCharged)

Definition at line 111 of file ChargedVisibleList.h.

111 {
112 return static_cast<int>(iCharged.charge());
113 }

Referenced by charge_sign(), and dchain::ChargedVisibleList< Charged, CandidateClass >::insert().

◆ charge_sign() [4/5]

template<class T >
int dchain::charge_sign ( const T * iCharged)

Definition at line 116 of file ChargedVisibleList.h.

116 {
117 return static_cast<int>(iCharged->charge());
118 }

◆ charge_sign() [5/5]

template<class T >
int dchain::charge_sign ( T * iCharged)

Definition at line 121 of file ChargedVisibleList.h.

121 {
122 return static_cast<int>(iCharged->charge());
123 }

◆ fill_using_selector() [1/4]

template<class TIList , class TSelector , class T , class U >
void dchain::fill_using_selector ( const TIList & iList,
const TSelector & iSel,
ChargedVisibleList< T, U > & oList )

Definition at line 328 of file ChargedVisibleList.h.

330 {
331 oList.fill(iList.begin(), iList.end(),
332 typename MakerTrait<T>::maker_type(),
333 iSel);
334 }
void fill(const LabeledParticleList< Charged, CandidateClass > &aList, const TMaker &aMaker, const TSelector &aSel)

Referenced by dchain::FillListWithSelection< TList, TSelector >::operator=(), dchain::FillListWithSelection< TList, TSelector >::operator=(), and dchain::FillListWithSelection< TList, TSelector >::operator=().

◆ fill_using_selector() [2/4]

template<class TIList , class TSelector , class T , class U >
void dchain::fill_using_selector ( const TIList & iList,
const TSelector & iSel,
NeutralNCVisibleList< T, U > & oList )

Definition at line 249 of file NeutralNCVisibleList.h.

251 {
252 oList.fill(iList.begin(), iList.end(),
253 typename MakerTrait<T>::maker_type(),
254 iSel);
255 }
void fill(const LabeledParticleList< NeutralNC, CandidateClass > &aList, const TMaker &aMaker, const TSelector &aSel)

◆ fill_using_selector() [3/4]

template<class TIList , class TSelector , class T , class U >
void dchain::fill_using_selector ( const TIList & iList,
const TSelector & iSel,
NeutralVisibleList< T, U > & oList )

Definition at line 261 of file NeutralVisibleList.h.

263 {
264 oList.fill(iList.begin(), iList.end(),
265 typename MakerTrait<T>::maker_type(),
266 iSel);
267 }
void fill(const LabeledParticleList< Neutral, CandidateClass > &aList, const TMaker &aMaker, const TSelector &aSel)

◆ fill_using_selector() [4/4]

template<class TIList , class TSelector , class TOList >
void dchain::fill_using_selector ( const TIList & iList,
const TSelector & iSelector,
TOList & oList )

Definition at line 45 of file FillListWithSelection.h.

47 {
48 oList.fill(iList, iSelector);
49 }

◆ is_bar() [1/4]

template<class TPtr , class TRef >
int dchain::is_bar ( const ReferenceHolderBase< TPtr, TRef > & iHolder)

Definition at line 67 of file NeutralNCVisibleList.h.

67 {
68 return is_bar(*iHolder);
69 }
int is_bar(const T &iNeutralNC)

◆ is_bar() [2/4]

template<class T >
int dchain::is_bar ( const T & iNeutralNC)

Definition at line 52 of file NeutralNCVisibleList.h.

52 {
53 return static_cast<int>(iNeutralNC.isBar());
54 }

Referenced by dchain::NeutralNCVisibleList< NeutralNC, CandidateClass >::insert(), and is_bar().

◆ is_bar() [3/4]

template<class T >
int dchain::is_bar ( const T * iNeutralNC)

Definition at line 57 of file NeutralNCVisibleList.h.

57 {
58 return static_cast<int>(iNeutralNC->isBar());
59 }

◆ is_bar() [4/4]

template<class T >
int dchain::is_bar ( T * iNeutralNC)

Definition at line 62 of file NeutralNCVisibleList.h.

62 {
63 return static_cast<int>(iNeutralNC->isBar());
64 }

◆ operator*() [1/4]

template<class CandidateClass >
CombinatoricList< CandidateClass > dchain::operator* ( const CombinatoricList< CandidateClass > & lhs,
const CombinatoricList< CandidateClass > & rhs )
inline

Definition at line 271 of file CombinatoricList.h.

◆ operator*() [2/4]

template<class CandidateClass >
CombinatoricList< CandidateClass > dchain::operator* ( const CombinatoricList< CandidateClass > & lhs,
const ConjugateList< CandidateClass > & rhs )
inline

Definition at line 253 of file CombinatoricList.h.

255{
256 return CombinatoricList<CandidateClass>( lhs, rhs);
257}

◆ operator*() [3/4]

template<class CandidateClass >
CombinatoricList< CandidateClass > dchain::operator* ( const ConjugateList< CandidateClass > & lhs,
const CombinatoricList< CandidateClass > & rhs )
inline

Definition at line 262 of file CombinatoricList.h.

264{
265 return CombinatoricList<CandidateClass>( lhs, rhs);
266}

◆ operator*() [4/4]

template<class CandidateClass >
CombinatoricList< CandidateClass > dchain::operator* ( const ConjugateList< CandidateClass > & lhs,
const ConjugateList< CandidateClass > & rhs )
inline

Definition at line 244 of file CombinatoricList.h.

246{
247 return CombinatoricList<CandidateClass>( lhs, rhs);
248}

◆ operator+() [1/3]

template<class DecayClass , class CandidateClass >
DecayList< DecayClass, CandidateClass > dchain::operator+ ( const DecayList< DecayClass, CandidateClass > & iList1,
const DecayList< DecayClass, CandidateClass > & iList2 )
inline

Definition at line 263 of file DecayList.h.

266{
267 bool can_only_add_lists_with_same_conjugation =
268 iList1.isSelfConjugate()== iList2.isSelfConjugate();
269 assert(can_only_add_lists_with_same_conjugation);
270
271 DecayList< DecayClass, CandidateClass> returnValue( iList1 );
272 if( &iList1 != &iList2 ) {
273 returnValue.fill( iList2, SelectAll<DecayClass>() );
274 }
275 return returnValue;
276}
virtual bool isSelfConjugate() const

◆ operator+() [2/3]

template<class DecayClass , class CandidateClass , class NeutralClass >
DecayList< DecayClass, CandidateClass > dchain::operator+ ( const DecayList< DecayClass, CandidateClass > & iList1,
const NeutralVisibleList< NeutralClass > & iList2 )
inline

Definition at line 280 of file DecayList.h.

283{
284 bool can_only_add_lists_with_same_conjugation =
285 iList1.isSelfConjugate()== iList2.isSelfConjugate();
286 assert(can_only_add_lists_with_same_conjugation);
287
288
289 DecayList< DecayClass, CandidateClass> returnValue =iList1 ;
292 entry != finished ;
293 ++entry ){
294 NeutralClass* localCopy = new NeutralClass( (*entry).particle() ) ;
295 returnValue.attempt_insert( localCopy, (*entry).label(),SelectAll<DecayClass>() ) ;
296 }
297 return returnValue;
298}
bool attempt_insert(DecayClass *pPossible, const conjugation::Label aLabel, const TSelect &aSelect)
Definition DecayList.h:211

◆ operator+() [3/3]

template<class DecayClass , class CandidateClass , class NeutralClass >
DecayList< DecayClass, CandidateClass > dchain::operator+ ( const NeutralVisibleList< NeutralClass > & iList1,
const DecayList< DecayClass, CandidateClass > & iList2 )
inline

Definition at line 303 of file DecayList.h.

306{
308 returnValue = iList2 + iList1;
309 return returnValue;
310}

◆ otherLabel()

◆ value_type()

template<class CandidateClass >
LabeledCandidate< CandidateClass > * dchain::value_type ( const MuteWholeCandidateItr< CandidateClass > & )
inline

Definition at line 319 of file MuteWholeCandidateItr.h.

320{
321 return ( (CandidateClass*)0 ) ;
322}