BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
TMFitter Class Referenceabstract

A class to fit a TTrackBase object. More...

#include <TMFitter.h>

+ Inheritance diagram for TMFitter:

Public Member Functions

 TMFitter (const std::string &name)
 Constructor.
 
virtual ~TMFitter ()
 Destructor.
 
const std::string & name (void) const
 returns name.
 
void dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
 
virtual int fit (TTrackBase &) const =0
 
 TMFitter (const std::string &name)
 Constructor.
 
virtual ~TMFitter ()
 Destructor.
 
const std::string & name (void) const
 returns name.
 
void dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
 
virtual int fit (TTrackBase &) const =0
 

Protected Member Functions

void fitDone (TTrackBase &) const
 sets the fitted flag. (Bad implementation)
 
void fitDone (TTrackBase &) const
 sets the fitted flag. (Bad implementation)
 

Detailed Description

A class to fit a TTrackBase object.

Definition at line 34 of file InstallArea/include/TrkReco/TrkReco/TMFitter.h.

Constructor & Destructor Documentation

◆ TMFitter() [1/2]

TMFitter::TMFitter ( const std::string &  name)

Constructor.

Definition at line 17 of file TMFitter.cxx.

17 : _name(name) {
18}
const std::string & name(void) const
returns name.

◆ ~TMFitter() [1/2]

TMFitter::~TMFitter ( )
virtual

Destructor.

Definition at line 20 of file TMFitter.cxx.

20 {
21}

◆ TMFitter() [2/2]

TMFitter::TMFitter ( const std::string &  name)

Constructor.

◆ ~TMFitter() [2/2]

virtual TMFitter::~TMFitter ( )
virtual

Destructor.

Member Function Documentation

◆ dump() [1/2]

void TMFitter::dump ( const std::string &  message = std::string(""),
const std::string &  prefix = std::string("") 
) const

Definition at line 29 of file TMFitter.cxx.

29 {
30}

◆ dump() [2/2]

void TMFitter::dump ( const std::string &  message = std::string(""),
const std::string &  prefix = std::string("") 
) const

◆ fit() [1/2]

◆ fit() [2/2]

◆ fitDone() [1/2]

void TMFitter::fitDone ( TTrackBase t) const
protected

sets the fitted flag. (Bad implementation)

Definition at line 24 of file TMFitter.cxx.

24 {
25 t._fitted = true;
26}
TTree * t
Definition: binning.cxx:23

Referenced by TCircleFitter::fit(), TLineFitter::fit(), and TRobustLineFitter::fit().

◆ fitDone() [2/2]

void TMFitter::fitDone ( TTrackBase ) const
protected

sets the fitted flag. (Bad implementation)

◆ name() [1/2]

const std::string & TMFitter::name ( void  ) const
inline

returns name.

Definition at line 73 of file InstallArea/include/TrkReco/TrkReco/TMFitter.h.

73 {
74 return _name;
75}

◆ name() [2/2]

const std::string & TMFitter::name ( void  ) const

returns name.


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