BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
DecayChain::KinematicData Class Reference

#include <KinematicData.h>

Public Member Functions

 KinematicData ()
 
 KinematicData (const HepLorentzVector &p4)
 
void setUserTag (const int tag)
 
void setCharge (const int aCharge)
 
void setP4 (const HepLorentzVector &aMomentum)
 
int userTag () const
 
int charge () const
 
double mass () const
 
double energy () const
 
const HepLorentzVector & p4 () const
 
 KinematicData ()
 
 KinematicData (const HepLorentzVector &p4)
 
void setUserTag (const int tag)
 
void setCharge (const int aCharge)
 
void setP4 (const HepLorentzVector &aMomentum)
 
int userTag () const
 
int charge () const
 
double mass () const
 
double energy () const
 
const HepLorentzVector & p4 () const
 

Detailed Description

Constructor & Destructor Documentation

◆ KinematicData() [1/4]

KinematicData::KinematicData ( )

Definition at line 6 of file KinematicData.cxx.

7:m_userTag(0),
8 m_charge(0)
9#ifdef EXTEND
10,m_hasbeenbakup(false)
11#endif
12{
13}

◆ KinematicData() [2/4]

KinematicData::KinematicData ( const HepLorentzVector &  p4)

Definition at line 15 of file KinematicData.cxx.

15 :
16m_userTag(0),
17m_charge(0),
18 m_p4(p4)
19#ifdef EXTEND
20,m_hasbeenbakup(false)
21#endif
22{
23#ifdef EXTEND
24 bakup();
25#endif
26}
const HepLorentzVector & p4() const

◆ KinematicData() [3/4]

DecayChain::KinematicData::KinematicData ( )

◆ KinematicData() [4/4]

DecayChain::KinematicData::KinematicData ( const HepLorentzVector &  p4)

Member Function Documentation

◆ charge() [1/2]

int KinematicData::charge ( ) const

Definition at line 48 of file KinematicData.cxx.

48 {
49 return m_charge;
50}

Referenced by CDCandidate::charge().

◆ charge() [2/2]

int DecayChain::KinematicData::charge ( ) const

◆ energy() [1/2]

double KinematicData::energy ( ) const

Definition at line 56 of file KinematicData.cxx.

56 {
57 return m_p4.e();
58}

Referenced by CDCandidate::energy().

◆ energy() [2/2]

double DecayChain::KinematicData::energy ( ) const

◆ mass() [1/2]

double KinematicData::mass ( ) const

Definition at line 52 of file KinematicData.cxx.

52 {
53 return m_p4.m();
54}

Referenced by CDCandidate::mass().

◆ mass() [2/2]

double DecayChain::KinematicData::mass ( ) const

◆ p4() [1/2]

const HepLorentzVector & KinematicData::p4 ( ) const

Definition at line 60 of file KinematicData.cxx.

60 {
61 return m_p4;
62}

Referenced by CDCandidate::momentum(), and CDCandidate::p4().

◆ p4() [2/2]

const HepLorentzVector & DecayChain::KinematicData::p4 ( ) const

◆ setCharge() [1/2]

void KinematicData::setCharge ( const int  aCharge)

Definition at line 32 of file KinematicData.cxx.

32 {
33 m_charge = aCharge;
34}

Referenced by CDChargedVisible< H >::defaultKinematicData(), and CDDecay::defaultKinematicData().

◆ setCharge() [2/2]

void DecayChain::KinematicData::setCharge ( const int  aCharge)

◆ setP4() [1/2]

void KinematicData::setP4 ( const HepLorentzVector &  aMomentum)

Definition at line 36 of file KinematicData.cxx.

37{
38 m_p4 = aMomentum;
39#ifdef EXTEND
40 bakup();
41#endif
42}

Referenced by CDChargedVisible< H >::defaultKinematicData(), CDDecay::defaultKinematicData(), CDPhoton::defaultKinematicData(), and CDCandidate::setP4().

◆ setP4() [2/2]

void DecayChain::KinematicData::setP4 ( const HepLorentzVector &  aMomentum)

◆ setUserTag() [1/2]

void KinematicData::setUserTag ( const int  tag)

Definition at line 28 of file KinematicData.cxx.

28 {
29 m_userTag = tag;
30}

Referenced by CDDecay::defaultKinematicData(), and CDCandidate::setUserTag().

◆ setUserTag() [2/2]

void DecayChain::KinematicData::setUserTag ( const int  tag)

◆ userTag() [1/2]

int KinematicData::userTag ( ) const

Definition at line 44 of file KinematicData.cxx.

44 {
45 return m_userTag;
46}

Referenced by CDCandidate::userTag().

◆ userTag() [2/2]

int DecayChain::KinematicData::userTag ( ) const

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