CGEM BOSS 6.6.5.h
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
 

Protected Member Functions

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 TMFitter.h.

Constructor & Destructor Documentation

◆ TMFitter()

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.
Definition TMFitter.h:73

◆ ~TMFitter()

TMFitter::~TMFitter ( )
virtual

Destructor.

Definition at line 20 of file TMFitter.cxx.

20 {
21}

Member Function Documentation

◆ dump()

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}

◆ fit()

virtual int TMFitter::fit ( TTrackBase & ) const
pure virtual

◆ fitDone()

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}
int t()
Definition t.c:1

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

◆ name()

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

returns name.

Definition at line 73 of file TMFitter.h.

73 {
74 return _name;
75}

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