BOSS 7.0.6
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=().

◆ 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 268 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 250 of file CombinatoricList.h.

252{
253 return CombinatoricList<CandidateClass>( lhs, rhs);
254}

◆ operator*() [3/4]

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

Definition at line 259 of file CombinatoricList.h.

261{
262 return CombinatoricList<CandidateClass>( lhs, rhs);
263}

◆ operator*() [4/4]

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

Definition at line 241 of file CombinatoricList.h.

243{
244 return CombinatoricList<CandidateClass>( lhs, rhs);
245}

◆ 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 258 of file DecayList.h.

261{
262 bool can_only_add_lists_with_same_conjugation =
263 iList1.isSelfConjugate()== iList2.isSelfConjugate();
264 assert(can_only_add_lists_with_same_conjugation);
265
266 DecayList< DecayClass, CandidateClass> returnValue( iList1 );
267 if( &iList1 != &iList2 ) {
268 returnValue.fill( iList2, SelectAll<DecayClass>() );
269 }
270 return returnValue;
271}
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 275 of file DecayList.h.

278{
279 bool can_only_add_lists_with_same_conjugation =
280 iList1.isSelfConjugate()== iList2.isSelfConjugate();
281 assert(can_only_add_lists_with_same_conjugation);
282
283
284 DecayList< DecayClass, CandidateClass> returnValue =iList1 ;
287 entry != finished ;
288 ++entry ){
289 NeutralClass* localCopy = new NeutralClass( (*entry).particle() ) ;
290 returnValue.attempt_insert( localCopy, (*entry).label(),SelectAll<DecayClass>() ) ;
291 }
292 return returnValue;
293}
bool attempt_insert(DecayClass *pPossible, const conjugation::Label aLabel, const TSelect &aSelect)
Definition: DecayList.h:206

◆ 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 298 of file DecayList.h.

301{
303 returnValue = iList2 + iList1;
304 return returnValue;
305}

◆ 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}