BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkFitMaker Class Reference

#include <TrkFitMaker.h>

+ Inheritance diagram for TrkFitMaker:

Public Member Functions

virtual ~TrkFitMaker ()
 
void changeDefault (TrkRecoTrk &, PdtPid::PidType) const
 
virtual ~TrkFitMaker ()
 
void changeDefault (TrkRecoTrk &, PdtPid::PidType) const
 

Protected Member Functions

std::pair< TrkRepIter, TrkRepIteruniqueReps (const TrkRecoTrk &t) const
 
void setRep (TrkRecoTrk &, TrkRep *) const
 
void repointHypo (TrkRecoTrk &, PdtPid::PidType hypo, PdtPid::PidType fit) const
 
void setFitNumber (TrkRecoTrk &, PdtPid::PidType, int) const
 
std::pair< TrkRepIter, TrkRepIterallReps (const TrkRecoTrk &t) const
 
TrkRepgetRep (TrkRecoTrk &, PdtPid::PidType) const
 
void addHypoTo (TrkRecoTrk &, TrkRep *, PdtPid::PidType hypo) const
 
TrkRecoTrkcreateTrack (PdtPid::PidType, const TrkContext &, double t0) const
 
TrkRecoTrkcreateTrack (PdtPid::PidType, long idnum, double t0) const
 
void setIdManager (TrkRecoTrk &, TrkIdManager *) const
 
void setBField (TrkRecoTrk &, const BField *) const
 
std::pair< TrkRepIter, TrkRepIteruniqueReps (const TrkRecoTrk &t) const
 
void setRep (TrkRecoTrk &, TrkRep *) const
 
void repointHypo (TrkRecoTrk &, PdtPid::PidType hypo, PdtPid::PidType fit) const
 
void setFitNumber (TrkRecoTrk &, PdtPid::PidType, int) const
 
std::pair< TrkRepIter, TrkRepIterallReps (const TrkRecoTrk &t) const
 
TrkRepgetRep (TrkRecoTrk &, PdtPid::PidType) const
 
void addHypoTo (TrkRecoTrk &, TrkRep *, PdtPid::PidType hypo) const
 
TrkRecoTrkcreateTrack (PdtPid::PidType, const TrkContext &, double t0) const
 
TrkRecoTrkcreateTrack (PdtPid::PidType, long idnum, double t0) const
 
void setIdManager (TrkRecoTrk &, TrkIdManager *) const
 
void setBField (TrkRecoTrk &, const BField *) const
 

Friends

class KalMiniTrkK
 
class KalMiniRX
 
class KalFit
 

Detailed Description

Constructor & Destructor Documentation

◆ ~TrkFitMaker() [1/2]

TrkFitMaker::~TrkFitMaker ( )
virtual

Definition at line 19 of file TrkFitMaker.cxx.

20{
21}

◆ ~TrkFitMaker() [2/2]

virtual TrkFitMaker::~TrkFitMaker ( )
virtual

Member Function Documentation

◆ addHypoTo() [1/2]

void TrkFitMaker::addHypoTo ( TrkRecoTrk trk,
TrkRep newRep,
PdtPid::PidType  hypo 
) const
protected

Definition at line 80 of file TrkFitMaker.cxx.

81{
82 trk.addHypoTo(newRep, hypo);
83}
void addHypoTo(TrkRep *newRep, PdtPid::PidType hypo)
Definition: TrkRecoTrk.cxx:430

◆ addHypoTo() [2/2]

void TrkFitMaker::addHypoTo ( TrkRecoTrk ,
TrkRep ,
PdtPid::PidType  hypo 
) const
protected

◆ allReps() [1/2]

std::pair< TrkRepIter, TrkRepIter > TrkFitMaker::allReps ( const TrkRecoTrk t) const
protected

Definition at line 30 of file TrkFitMaker.cxx.

31{
32 return t.allReps();
33}
TTree * t
Definition: binning.cxx:23

◆ allReps() [2/2]

std::pair< TrkRepIter, TrkRepIter > TrkFitMaker::allReps ( const TrkRecoTrk t) const
protected

◆ changeDefault() [1/2]

void TrkFitMaker::changeDefault ( TrkRecoTrk t,
PdtPid::PidType  h 
) const

Definition at line 62 of file TrkFitMaker.cxx.

63{
64 t.changeDefault(h);
65}

◆ changeDefault() [2/2]

void TrkFitMaker::changeDefault ( TrkRecoTrk ,
PdtPid::PidType   
) const

◆ createTrack() [1/4]

TrkRecoTrk * TrkFitMaker::createTrack ( PdtPid::PidType  hypo,
const TrkContext tc,
double  t0 
) const
protected

Definition at line 48 of file TrkFitMaker.cxx.

50{
51 return new TrkRecoTrk(hypo, tc, t0);
52}

◆ createTrack() [2/4]

TrkRecoTrk * TrkFitMaker::createTrack ( PdtPid::PidType  ,
const TrkContext ,
double  t0 
) const
protected

◆ createTrack() [3/4]

TrkRecoTrk * TrkFitMaker::createTrack ( PdtPid::PidType  hypo,
long  idnum,
double  t0 
) const
protected

Definition at line 55 of file TrkFitMaker.cxx.

57{
58 return new TrkRecoTrk(hypo, idnum, t0);
59}

◆ createTrack() [4/4]

TrkRecoTrk * TrkFitMaker::createTrack ( PdtPid::PidType  ,
long  idnum,
double  t0 
) const
protected

◆ getRep() [1/2]

TrkRep * TrkFitMaker::getRep ( TrkRecoTrk t,
PdtPid::PidType  h 
) const
protected

Definition at line 42 of file TrkFitMaker.cxx.

43{
44 return t.getRep(h);
45}

Referenced by TrkHelixMaker::addZValues().

◆ getRep() [2/2]

TrkRep * TrkFitMaker::getRep ( TrkRecoTrk ,
PdtPid::PidType   
) const
protected

◆ repointHypo() [1/2]

void TrkFitMaker::repointHypo ( TrkRecoTrk t,
PdtPid::PidType  hypo,
PdtPid::PidType  fit 
) const
protected

Definition at line 68 of file TrkFitMaker.cxx.

69{
70 t.repointHypo(h, f);
71}
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")

◆ repointHypo() [2/2]

void TrkFitMaker::repointHypo ( TrkRecoTrk ,
PdtPid::PidType  hypo,
PdtPid::PidType  fit 
) const
protected

◆ setBField() [1/2]

void TrkFitMaker::setBField ( TrkRecoTrk trk,
const BField field 
) const
protected

Definition at line 92 of file TrkFitMaker.cxx.

93{
94 trk.setBField(field);
95}
void setBField(const BField *field)
Definition: TrkRecoTrk.cxx:449

◆ setBField() [2/2]

void TrkFitMaker::setBField ( TrkRecoTrk ,
const BField  
) const
protected

◆ setFitNumber() [1/2]

void TrkFitMaker::setFitNumber ( TrkRecoTrk t,
PdtPid::PidType  hypo,
int  newNum 
) const
protected

Definition at line 74 of file TrkFitMaker.cxx.

75{
76 t.setFitNumber(hypo, newNum);
77}

◆ setFitNumber() [2/2]

void TrkFitMaker::setFitNumber ( TrkRecoTrk ,
PdtPid::PidType  ,
int   
) const
protected

◆ setIdManager() [1/2]

void TrkFitMaker::setIdManager ( TrkRecoTrk trk,
TrkIdManager idMan 
) const
protected

Definition at line 86 of file TrkFitMaker.cxx.

87{
88 trk.setIdManager(idMan);
89}
void setIdManager(TrkIdManager *idMan)
Definition: TrkRecoTrk.cxx:436

◆ setIdManager() [2/2]

void TrkFitMaker::setIdManager ( TrkRecoTrk ,
TrkIdManager  
) const
protected

◆ setRep() [1/2]

void TrkFitMaker::setRep ( TrkRecoTrk trk,
TrkRep r 
) const
protected

Definition at line 36 of file TrkFitMaker.cxx.

37{
38 trk.setRep(r);
39}
void setRep(TrkRep *)
Definition: TrkRecoTrk.cxx:332

Referenced by TrkHelixMaker::addZValues().

◆ setRep() [2/2]

void TrkFitMaker::setRep ( TrkRecoTrk ,
TrkRep  
) const
protected

◆ uniqueReps() [1/2]

std::pair< TrkRepIter, TrkRepIter > TrkFitMaker::uniqueReps ( const TrkRecoTrk t) const
protected

Definition at line 24 of file TrkFitMaker.cxx.

25{
26 return t.uniqueReps();
27}

◆ uniqueReps() [2/2]

std::pair< TrkRepIter, TrkRepIter > TrkFitMaker::uniqueReps ( const TrkRecoTrk t) const
protected

Friends And Related Function Documentation

◆ KalFit

KalFit
friend

◆ KalMiniRX

KalMiniRX
friend

◆ KalMiniTrkK

KalMiniTrkK
friend

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