BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
CDPi0 Class Reference

#include <CleoDChain/CDPi0.h>

+ Inheritance diagram for CDPi0:

Public Member Functions

 CDPi0 (const EvtRecPi0 *aVisible)
 
virtual ~CDPi0 ()
 
virtual bool builtFromCDPi0 () const
 
virtual const EvtRecPi0navPi0 () 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 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
 

Protected Member Functions

virtual DecayChain::KinematicDatadefaultKinematicData () const
 
- Protected Member Functions inherited from CDDecay
 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
 

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 55 of file CDPi0.h.

Constructor & Destructor Documentation

◆ CDPi0()

CDPi0::CDPi0 ( const EvtRecPi0 aVisible)

Definition at line 68 of file CDPi0.cxx.

68 :
69 m_pi0(aVisible)
70{
71 ReferenceHolder<CDPhoton> tmp = new CDPhoton(aVisible->hiEnGamma());
72 addChild(*tmp);
73 tmp = new CDPhoton(aVisible->loEnGamma());
74 addChild(*tmp);
75}
void addChild(const CDCandidate &aAdditionalProduct)
Definition: CDDecay.cxx:187
const EvtRecTrack * loEnGamma() const
Definition: EvtRecPi0.h:31
const EvtRecTrack * hiEnGamma() const
Definition: EvtRecPi0.h:30

◆ ~CDPi0()

CDPi0::~CDPi0 ( )
virtual

Definition at line 84 of file CDPi0.cxx.

85{
86}

Member Function Documentation

◆ builtFromCDPi0()

bool CDPi0::builtFromCDPi0 ( ) const
virtual

Reimplemented from CDCandidate.

Definition at line 94 of file CDPi0.cxx.

95{
96 return true;
97}

◆ defaultKinematicData()

KinematicData * CDPi0::defaultKinematicData ( ) const
protectedvirtual

Reimplemented from CDDecay.

Definition at line 108 of file CDPi0.cxx.

109{
110 return new KinematicData( m_pi0->hiPfit() + m_pi0->loPfit() );
111}
HepLorentzVector hiPfit() const
Definition: EvtRecPi0.h:27
HepLorentzVector loPfit() const
Definition: EvtRecPi0.h:28

◆ navPi0()

const EvtRecPi0 * CDPi0::navPi0 ( ) const
virtual

Reimplemented from CDCandidate.

Definition at line 103 of file CDPi0.cxx.

104{
105 return ( m_pi0 ) ;
106}

Referenced by UserPi0Cut::operator()(), and LocalPi0Selector::operator()().


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