BOSS 7.0.8
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
 

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
 

Friends

class KalMiniTrkK
 
class KalMiniRX
 
class KalFit
 

Detailed Description

Definition at line 43 of file TrkFitMaker.h.

Constructor & Destructor Documentation

◆ ~TrkFitMaker()

TrkFitMaker::~TrkFitMaker ( )
virtual

Definition at line 19 of file TrkFitMaker.cxx.

20{
21}

Member Function Documentation

◆ addHypoTo()

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

◆ allReps()

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

◆ changeDefault()

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

Definition at line 62 of file TrkFitMaker.cxx.

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

◆ createTrack() [1/2]

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/2]

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}

◆ getRep()

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().

◆ repointHypo()

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")

◆ setBField()

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

◆ setFitNumber()

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}

◆ setIdManager()

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

◆ setRep()

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().

◆ uniqueReps()

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}

Friends And Related Function Documentation

◆ KalFit

friend class KalFit
friend

Definition at line 73 of file TrkFitMaker.h.

◆ KalMiniRX

friend class KalMiniRX
friend

Definition at line 72 of file TrkFitMaker.h.

◆ KalMiniTrkK

friend class KalMiniTrkK
friend

Definition at line 71 of file TrkFitMaker.h.


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