BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkTypeUtil Class Reference

#include <TrkTypeUtil.h>

Static Public Member Functions

static const TrkRepgetRep (const TrkRecoTrk &aTrk, const PdtPid::PidType &pid)
 
static const TrkHitListgetHits (const TrkRecoTrk &aTrk, const PdtPid::PidType &pid)
 
static const TrkRepgetRep (const TrkRecoTrk &aTrk, const TrkFitTypeKey &key)
 
static const TrkHitListgetHits (const TrkRecoTrk &aTrk, const TrkFitTypeKey &key)
 
static PdtPid::PidType pidType (const TrkRecoTrk &aTrk, const TrkFitTypeKey &key)
 

Detailed Description

Definition at line 42 of file TrkTypeUtil.h.

Member Function Documentation

◆ getHits() [1/2]

const TrkHitList * TrkTypeUtil::getHits ( const TrkRecoTrk aTrk,
const PdtPid::PidType pid 
)
static

Definition at line 66 of file TrkTypeUtil.cxx.

67 {
68 return pid != PdtPid::null ? aTrk.hits(pid)
69 : aTrk.hits(aTrk.defaultType());
70}
@ null
Definition: PdtPid.h:12
TrkHitList * hits()
Definition: TrkRecoTrk.h:107
PdtPid::PidType defaultType() const
Definition: TrkRecoTrk.h:78

Referenced by getHits().

◆ getHits() [2/2]

const TrkHitList * TrkTypeUtil::getHits ( const TrkRecoTrk aTrk,
const TrkFitTypeKey key 
)
static

Definition at line 79 of file TrkTypeUtil.cxx.

80 {
81 return getHits( aTrk, key.pidType() );
82}
*************DOUBLE PRECISION m_pi *DOUBLE PRECISION m_HvecTau2 DOUBLE PRECISION m_HvClone2 DOUBLE PRECISION m_gamma1 DOUBLE PRECISION m_gamma2 DOUBLE PRECISION m_thet1 DOUBLE PRECISION m_thet2 INTEGER m_IFPHOT *COMMON c_Taupair $ !Spin Polarimeter vector first Tau $ !Spin Polarimeter vector second Tau $ !Clone Spin Polarimeter vector first Tau $ !Clone Spin Polarimeter vector second Tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning nd tau $ !Random Euler angle for cloning nd tau $ !Random Euler angle for cloning nd tau $ !phi of HvecTau1 $ !theta of HvecTau1 $ !phi of HvecTau2 $ !theta of HvecTau2 $ !super key
Definition: Taupair.h:42
static const TrkHitList * getHits(const TrkRecoTrk &aTrk, const PdtPid::PidType &pid)
Definition: TrkTypeUtil.cxx:66

◆ getRep() [1/2]

const TrkRep * TrkTypeUtil::getRep ( const TrkRecoTrk aTrk,
const PdtPid::PidType pid 
)
static

Definition at line 59 of file TrkTypeUtil.cxx.

60 {
61 return pid != PdtPid::null ? aTrk.testRep(pid)
62 : aTrk.testRep(aTrk.defaultType());
63 }
const TrkRep * testRep(PdtPid::PidType hypo) const
Definition: TrkRecoTrk.h:219

Referenced by getRep().

◆ getRep() [2/2]

const TrkRep * TrkTypeUtil::getRep ( const TrkRecoTrk aTrk,
const TrkFitTypeKey key 
)
static

Definition at line 73 of file TrkTypeUtil.cxx.

74 {
75 return getRep( aTrk, key.pidType() );
76}
static const TrkRep * getRep(const TrkRecoTrk &aTrk, const PdtPid::PidType &pid)
Definition: TrkTypeUtil.cxx:59

◆ pidType()

PdtPid::PidType TrkTypeUtil::pidType ( const TrkRecoTrk aTrk,
const TrkFitTypeKey key 
)
static

Definition at line 85 of file TrkTypeUtil.cxx.

86 {
87 return key.pidType() != PdtPid::null ? key.pidType()
88 : aTrk.defaultType();
89}

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