BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
CDKs Class Reference

#include <CleoDChain/CDKs.h>

+ Inheritance diagram for CDKs:

Public Member Functions

 CDKs (const EvtRecVeeVertex *aVisible)
 
virtual ~CDKs ()
 
virtual bool builtFromCDKs () const
 
virtual const EvtRecVeeVertexnavKshort () 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
 
- 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 builtFromCDLambda () const
 
virtual const EvtRecVeeVertexnavLambda () 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
 

Protected Member Functions

virtual DecayChain::KinematicDatadefaultKinematicData () const
 
- Protected Member Functions inherited from CDDecay
 CDDecay ()
 
- 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)
 
void recurseNode (TracksAndShowers &final, const CDCandidate &cand) const
 

Additional Inherited Members

- Public Types inherited from CDDecay
typedef CDCandidate CandidateClass
 
- Public Types inherited from CDCandidate
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 59 of file CDKs.h.

Constructor & Destructor Documentation

◆ CDKs()

CDKs::CDKs ( const EvtRecVeeVertex * aVisible)

Definition at line 72 of file CDKs.cxx.

72 :
73 m_ks(aVisible)
74{
75 EvtRecVeeVertex* ks = const_cast<EvtRecVeeVertex*>(aVisible);
77 addChild(*tmp);
78 tmp = new CDChargedPion(ks->daughter(1));
79 addChild(*tmp);
80}
CDChargedVisible< DBCandidate::kChargedPion > CDChargedPion
void addChild(const CDCandidate &aAdditionalProduct)
Definition CDDecay.cxx:187
SmartRef< EvtRecTrack > & daughter(int i)

◆ ~CDKs()

CDKs::~CDKs ( )
virtual

Definition at line 83 of file CDKs.cxx.

84{
85}

Member Function Documentation

◆ builtFromCDKs()

bool CDKs::builtFromCDKs ( ) const
virtual

Reimplemented from CDCandidate.

Definition at line 91 of file CDKs.cxx.

92{
93 return true;
94}

◆ defaultKinematicData()

KinematicData * CDKs::defaultKinematicData ( ) const
protectedvirtual

Reimplemented from CDDecay.

Definition at line 105 of file CDKs.cxx.

106{
108
109 double mass = m_ks->mass();
110 const HepVector& w_ks = m_ks->w();
111
112 double e = sqrt(mass*mass + w_ks[0]*w_ks[0] + w_ks[1]*w_ks[1] + w_ks[2]*w_ks[2]);
113
114 data->setP4( HepLorentzVector(w_ks[0], w_ks[1], w_ks[2], e) );
115
116 return data;
117}
TTree * data
double mass() const
double mass() const
const HepVector & w() const

◆ navKshort()

const EvtRecVeeVertex * CDKs::navKshort ( ) const
virtual

Reimplemented from CDCandidate.

Definition at line 100 of file CDKs.cxx.

101{
102 return m_ks ;
103}

Referenced by LocalKsSelector::operator()().


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