BOSS 7.0.1
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)
 
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

Member Function Documentation

◆ getHits() [1/4]

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}

Referenced by getHits().

◆ getHits() [2/4]

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

◆ getHits() [3/4]

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

◆ getHits() [4/4]

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

◆ getRep() [1/4]

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

Referenced by getRep().

◆ getRep() [2/4]

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

◆ getRep() [3/4]

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

◆ getRep() [4/4]

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

◆ pidType() [1/2]

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}

◆ pidType() [2/2]

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

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