BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
CDLambda Class Reference

#include <CleoDChain/CDLambda.h>

+ Inheritance diagram for CDLambda:

Public Member Functions

 CDLambda (const EvtRecVeeVertex *aVisible)
 
virtual ~CDLambda ()
 
virtual bool builtFromCDLambda () const
 
virtual const EvtRecVeeVertexnavLambda () const
 
bool isBar () const
 
 CDLambda (const EvtRecVeeVertex *aVisible)
 
virtual ~CDLambda ()
 
virtual bool builtFromCDLambda () const
 
virtual const EvtRecVeeVertexnavLambda () const
 
bool isBar () const
 
- Public Member Functions inherited from CDDecay
 CDDecay (const CDDecay &aOtherCDDecay)
 
 CDDecay (const CDCandidate &aProduct)
 
 CDDecay (const CDDecay &aProducts, const CDCandidate &aAdditionalProduct)
 
virtual ~CDDecay ()
 
void addChild (const CDCandidate &aAdditionalProduct)
 
void setKinematicData (const DecayChain::KinematicData &aKinematicData)
 
virtual bool builtFromCDDecay (void) const
 
virtual const CDDecaydecay (void) const
 
uint32_t numberChildren () const
 
void iterateChildren (void(*analyze)(const CDCandidate &)) const
 
void iterateChildren (DCAnalysisFunction< CDCandidate > &analyze) const
 
const CDCandidatechild (unsigned int aPosition) const
 
const std::vector< dchain::ReferenceHolder< CDCandidate > > & children () const
 
 CDDecay (const CDDecay &aOtherCDDecay)
 
 CDDecay (const CDCandidate &aProduct)
 
 CDDecay (const CDDecay &aProducts, const CDCandidate &aAdditionalProduct)
 
virtual ~CDDecay ()
 
void addChild (const CDCandidate &aAdditionalProduct)
 
void setKinematicData (const DecayChain::KinematicData &aKinematicData)
 
virtual bool builtFromCDDecay (void) const
 
virtual const CDDecaydecay (void) const
 
uint32_t numberChildren () const
 
void iterateChildren (void(*analyze)(const CDCandidate &)) const
 
void iterateChildren (DCAnalysisFunction< CDCandidate > &analyze) const
 
const CDCandidatechild (unsigned int aPosition) const
 
const std::vector< dchain::ReferenceHolder< CDCandidate > > & children () const
 
- Public Member Functions inherited from CDCandidate
virtual ~CDCandidate ()
 
const CDCandidateoperator= (const CDCandidate &aOtherCDCandidate)
 
void setUserTag (int tag)
 
CDCandidatesetP4 (const HepLorentzVector &aMomentum)
 
int userTag () const
 
double mass () const
 
int charge () const
 
double energy () const
 
const Hep3Vector & momentum () const
 
const HepLorentzVector & p4 () const
 
const DecayChain::KinematicDatakinematicData () const
 
TracksAndShowers finalChildren () const
 
virtual DBCandidate::Hypo hypo () const
 
virtual bool builtFromTrack () const
 
virtual const EvtRecTracktrack () const
 
virtual bool builtFromCDPhoton () const
 
virtual const EvtRecTrackphoton () const
 
virtual bool builtFromCDPi0 () const
 
virtual const EvtRecPi0navPi0 () const
 
virtual bool builtFromCDEta () const
 
virtual const EvtRecEtaToGGnavEta () const
 
virtual bool builtFromCDKs () const
 
virtual const EvtRecVeeVertexnavKshort () const
 
virtual bool builtFromCDLambda () const
 
virtual const EvtRecVeeVertexnavLambda () const
 
virtual bool builtFromCDDecay () const
 
virtual const DecayEvidencedecay () const
 
bool overlap (const CDCandidate &aOtherCDCandidate) const
 
const CDFootPrintfootPrint () const
 
virtual ~CDCandidate ()
 
const CDCandidateoperator= (const CDCandidate &aOtherCDCandidate)
 
void setUserTag (int tag)
 
CDCandidatesetP4 (const HepLorentzVector &aMomentum)
 
int userTag () const
 
double mass () const
 
int charge () const
 
double energy () const
 
const Hep3Vector & momentum () const
 
const HepLorentzVector & p4 () const
 
const DecayChain::KinematicDatakinematicData () const
 
TracksAndShowers finalChildren () const
 
virtual DBCandidate::Hypo hypo () const
 
virtual bool builtFromTrack () const
 
virtual const EvtRecTracktrack () const
 
virtual bool builtFromCDPhoton () const
 
virtual const EvtRecTrackphoton () const
 
virtual bool builtFromCDPi0 () const
 
virtual const EvtRecPi0navPi0 () const
 
virtual bool builtFromCDEta () const
 
virtual const EvtRecEtaToGGnavEta () const
 
virtual bool builtFromCDKs () const
 
virtual const EvtRecVeeVertexnavKshort () const
 
virtual bool builtFromCDLambda () const
 
virtual const EvtRecVeeVertexnavLambda () const
 
virtual bool builtFromCDDecay () const
 
virtual const DecayEvidencedecay () const
 
bool overlap (const CDCandidate &aOtherCDCandidate) const
 
const CDFootPrintfootPrint () const
 
- Public Member Functions inherited from dchain::ReferenceCount
 ReferenceCount ()
 
virtual ~ReferenceCount ()
 
void addLink () const
 
void dropLink () const
 
 ReferenceCount ()
 
virtual ~ReferenceCount ()
 
void addLink () const
 
void dropLink () const
 

Protected Member Functions

virtual DecayChain::KinematicDatadefaultKinematicData () const
 
virtual DecayChain::KinematicDatadefaultKinematicData () const
 
- Protected Member Functions inherited from CDDecay
 CDDecay ()
 
virtual DecayChain::KinematicDatadefaultKinematicData () const
 
 CDDecay ()
 
virtual DecayChain::KinematicDatadefaultKinematicData () const
 
- Protected Member Functions inherited from CDCandidate
 CDCandidate (const CDCandidate &aOtherCDCandidate)
 
 CDCandidate (const CDFootPrint &aCDFootPrint)
 
void setKinematicData (const DecayChain::KinematicData &aKinematicData)
 
void setCDFootPrint (const CDFootPrint &aCDFootPrint)
 
virtual DecayChain::KinematicDatadefaultKinematicData () const =0
 
void recurseNode (TracksAndShowers &final, const CDCandidate &cand) const
 
 CDCandidate (const CDCandidate &aOtherCDCandidate)
 
 CDCandidate (const CDFootPrint &aCDFootPrint)
 
void setKinematicData (const DecayChain::KinematicData &aKinematicData)
 
void setCDFootPrint (const CDFootPrint &aCDFootPrint)
 
virtual DecayChain::KinematicDatadefaultKinematicData () const =0
 
void recurseNode (TracksAndShowers &final, const CDCandidate &cand) const
 

Additional Inherited Members

- Public Types inherited from CDDecay
typedef CDCandidate CandidateClass
 
typedef CDCandidate CandidateClass
 
- Public Types inherited from CDCandidate
typedef CDDecay DecayEvidence
 
typedef std::pair< vector< const EvtRecTrack * >, vector< const EvtRecTrack * > > TracksAndShowers
 
typedef CDDecay DecayEvidence
 
typedef std::pair< vector< const EvtRecTrack * >, vector< const EvtRecTrack * > > TracksAndShowers
 

Detailed Description

Description: <one line class summary>

Usage: <usage>

Definition at line 58 of file Event/BesDChain/BesDChain-00-00-14/BesDChain/CDLambda.h.

Constructor & Destructor Documentation

◆ CDLambda() [1/2]

CDLambda::CDLambda ( const EvtRecVeeVertex aVisible)

Definition at line 73 of file CDLambda.cxx.

73 :
74// CDDecay(*(new CDChargedPion(aVisible.piPlus()))),
75 m_lambda(aVisible)
76{
77 EvtRecVeeVertex* lambda = const_cast<EvtRecVeeVertex*>(aVisible);
78
79 int index[2] = {0, 1};
80 if (aVisible->vertexId() < 0) {
81 index[0] = 1;
82 index[1] = 0;
83 }
84
85 ReferenceHolder<CDProton> tmp = new CDProton(lambda->daughter(index[0]));
86 addChild(*tmp);
87 ReferenceHolder<CDChargedPion> tmp2 = new CDChargedPion(lambda->daughter(index[1]));
88 addChild(*tmp2);
89}
CDChargedVisible< DBCandidate::kChargedPion > CDChargedPion
CDChargedVisible< DBCandidate::kProton > CDProton
void addChild(const CDCandidate &aAdditionalProduct)
Definition: CDDecay.cxx:187

◆ ~CDLambda() [1/2]

CDLambda::~CDLambda ( )
virtual

Definition at line 99 of file CDLambda.cxx.

100{
101}

◆ CDLambda() [2/2]

CDLambda::CDLambda ( const EvtRecVeeVertex aVisible)

◆ ~CDLambda() [2/2]

virtual CDLambda::~CDLambda ( )
virtual

Member Function Documentation

◆ builtFromCDLambda() [1/2]

bool CDLambda::builtFromCDLambda ( ) const
virtual

Reimplemented from CDCandidate.

Definition at line 107 of file CDLambda.cxx.

108{
109 return true;
110}

◆ builtFromCDLambda() [2/2]

virtual bool CDLambda::builtFromCDLambda ( ) const
virtual

Reimplemented from CDCandidate.

◆ defaultKinematicData() [1/2]

KinematicData * CDLambda::defaultKinematicData ( ) const
protectedvirtual

Reimplemented from CDDecay.

Definition at line 121 of file CDLambda.cxx.

122{
123 KinematicData* data = new KinematicData();
124
125 const HepVector& w_lambda = m_lambda->w();
126
127 data->setP4( HepLorentzVector(w_lambda[0], w_lambda[1], w_lambda[2], w_lambda[3]) );
128
129 return data;
130}
TTree * data

◆ defaultKinematicData() [2/2]

virtual DecayChain::KinematicData * CDLambda::defaultKinematicData ( ) const
protectedvirtual

Reimplemented from CDDecay.

◆ isBar() [1/2]

bool CDLambda::isBar ( ) const
inline

Definition at line 78 of file Event/BesDChain/BesDChain-00-00-14/BesDChain/CDLambda.h.

78{ return (m_lambda->vertexId() < 0); }

◆ isBar() [2/2]

bool CDLambda::isBar ( ) const
inline

Definition at line 78 of file InstallArea/include/BesDChain/BesDChain/CDLambda.h.

78{ return (m_lambda->vertexId() < 0); }

◆ navLambda() [1/2]

const EvtRecVeeVertex * CDLambda::navLambda ( ) const
virtual

Reimplemented from CDCandidate.

Definition at line 116 of file CDLambda.cxx.

117{
118 return m_lambda ;
119}

Referenced by LocalLambdaSelector::operator()().

◆ navLambda() [2/2]

virtual const EvtRecVeeVertex * CDLambda::navLambda ( ) const
virtual

Reimplemented from CDCandidate.


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