#include <TrkFitStatus.h>
Definition at line 26 of file TrkFitStatus.h.
◆ predicate_type
◆ ~TrkFitStatus()
TrkFitStatus::~TrkFitStatus |
( |
| ) |
|
|
protectedvirtual |
◆ TrkFitStatus() [1/2]
TrkFitStatus::TrkFitStatus |
( |
| ) |
|
|
protected |
Definition at line 23 of file TrkFitStatus.cxx.
23 :
24 _fitValid(false),
25 _fitCurrent(false),
26 _is2d(false),
27 _multScat(false)
28{}
◆ TrkFitStatus() [2/2]
Definition at line 35 of file TrkFitStatus.cxx.
35 :
36 _history(right._history),
37 _fitValid(right._fitValid),
38 _fitCurrent(right._fitCurrent),
39 _is2d(right._is2d),
40 _multScat(right._multScat)
41{}
◆ addHistory() [1/3]
void TrkFitStatus::addHistory |
( |
const TrkErrCode & | status, |
|
|
const char * | modulename ) |
|
virtual |
◆ addHistory() [2/3]
template<class T >
void TrkFitStatus::addHistory |
( |
std::pair< T, T > | p | ) |
|
|
inline |
Definition at line 59 of file TrkFitStatus.h.
virtual void addHistory(const TrkErrCode &status, const char *modulename)
Referenced by addHistory().
◆ addHistory() [3/3]
template<class T >
void TrkFitStatus::addHistory |
( |
T | begin, |
|
|
T | end ) |
|
inline |
Definition at line 57 of file TrkFitStatus.h.
57{ _history.insert(_history.end(),begin,end); }
◆ beginHistory()
history_iterator TrkFitStatus::beginHistory |
( |
| ) |
const |
|
inline |
◆ endHistory()
history_iterator TrkFitStatus::endHistory |
( |
| ) |
const |
|
inline |
◆ fitCurrent()
bool TrkFitStatus::fitCurrent |
( |
| ) |
const |
|
inline |
◆ fitStatus()
const TrkErrCode & TrkFitStatus::fitStatus |
( |
| ) |
const |
|
inline |
Definition at line 43 of file TrkFitStatus.h.
43{ return _history.back().status(); }
◆ fitValid()
bool TrkFitStatus::fitValid |
( |
| ) |
const |
|
inline |
◆ history()
std::pair< history_iterator, history_iterator > TrkFitStatus::history |
( |
| ) |
const |
|
inline |
Definition at line 50 of file TrkFitStatus.h.
50 {
52 }
history_iterator beginHistory() const
history_iterator endHistory() const
◆ historyVector()
const std::vector< TrkHistory > & TrkFitStatus::historyVector |
( |
| ) |
const |
|
inline |
◆ is2d()
bool TrkFitStatus::is2d |
( |
| ) |
const |
|
inline |
◆ multScat()
bool TrkFitStatus::multScat |
( |
| ) |
const |
|
inline |
◆ operator=()
Definition at line 44 of file TrkFitStatus.cxx.
45{
46 if(&right != this){
47 _is2d = right._is2d;
48 _multScat = right._multScat;
49 _fitValid = right._fitValid;
50 _fitCurrent = right._fitCurrent;
51 _history = right._history;
52 }
53 return *this;
54}
Referenced by TrkRep::operator=().
◆ printHistory()
ostream & TrkFitStatus::printHistory |
( |
std::ostream & | os = std::cout | ) |
const |
Definition at line 84 of file TrkFitStatus.cxx.
85{
86
87
88
89 for(history_iterator i=_history.begin();i!=_history.end();++i)
90 os << *i << endl;
91 return os;
92}
Referenced by printStatus().
◆ printStatus()
ostream & TrkFitStatus::printStatus |
( |
std::ostream & | os = std::cout | ) |
const |
Definition at line 69 of file TrkFitStatus.cxx.
70{
71 os <<
" 3-d: " << (
is2d() == 0) <<
" ";
73}
std::ostream & printHistory(std::ostream &os=std::cout) const
◆ reverseBeginHistory()
history_riterator TrkFitStatus::reverseBeginHistory |
( |
| ) |
const |
|
inline |
◆ reverseEndHistory()
history_riterator TrkFitStatus::reverseEndHistory |
( |
| ) |
const |
|
inline |
◆ set2d()
void TrkFitStatus::set2d |
( |
bool | d | ) |
|
|
inline |
◆ setCurrent()
void TrkFitStatus::setCurrent |
( |
bool | c | ) |
|
|
inline |
Definition at line 39 of file TrkFitStatus.h.
Referenced by TrkRep::activateHot(), TrkRep::addHot(), TrkHelixMaker::addZValues(), TrkCircleRep::clone(), TrkHelixRep::clone(), TrkLineRep::clone(), TrkCircleRep::cloneNewHypo(), TrkHelixRep::cloneNewHypo(), TrkLineRep::cloneNewHypo(), TrkRep::deactivateHot(), TrkSimpleRep::fit(), TrkRep::removeHot(), setValid(), and TrkRep::updateHots().
◆ setMultScat()
void TrkFitStatus::setMultScat |
( |
bool | m | ) |
|
|
inline |
◆ setValid()
void TrkFitStatus::setValid |
( |
bool | v | ) |
|
The documentation for this class was generated from the following files: