|
FairRoot/PandaRoot
|
#include <GFBookkeeping.h>
Public Member Functions | |
| void | reset () |
| void | setNhits (int n) |
| void | bookMatrices (std::string key) |
| void | bookGFDetPlanes (std::string key) |
| void | bookNumbers (std::string key, double val=0.) |
| void | setMatrix (std::string key, unsigned int index, const TMatrixT< double > &mat) |
| void | setDetPlane (std::string key, unsigned int index, const GFDetPlane &pl) |
| void | setNumber (std::string key, unsigned int index, const double &num) |
| bool | getMatrix (std::string key, unsigned int index, TMatrixT< double > &mat) |
| bool | getDetPlane (std::string key, unsigned int index, GFDetPlane &pl) |
| bool | getNumber (std::string key, unsigned int index, double &num) |
| std::vector< std::string > | getMatrixKeys () |
| std::vector< std::string > | getGFDetPlaneKeys () |
| std::vector< std::string > | getNumberKeys () |
| void | addFailedHit (unsigned int) |
| unsigned int | hitFailed (unsigned int) |
| unsigned int | getNumFailed () |
| GFBookkeeping () | |
| GFBookkeeping (const GFBookkeeping &) | |
| virtual | ~GFBookkeeping () |
| void | clearAll () |
| void | clearFailedHits () |
| void | Print () |
Private Member Functions | |
| GFBookkeeping & | operator= (const GFBookkeeping &) |
Private Attributes | |
| std::map< std::string, TMatrixT< double > * > | fMatrices |
| std::map< std::string, GFDetPlane * > | fPlanes |
| std::map< std::string, TMatrixT< double > * > | fNumbers |
| std::vector< unsigned int > | fFailedHits |
| int | fNhits |
Definition at line 34 of file GFBookkeeping.h.
|
inline |
| GFBookkeeping::GFBookkeeping | ( | const GFBookkeeping & | bk | ) |
Definition at line 26 of file GFBookkeeping.cxx.
References fFailedHits, fMatrices, fNhits, fNumbers, fPlanes, and i.
|
inlinevirtual |
| void GFBookkeeping::addFailedHit | ( | unsigned int | id | ) |
| void GFBookkeeping::bookGFDetPlanes | ( | std::string | key | ) |
Definition at line 214 of file GFBookkeeping.cxx.
References fNhits, and fPlanes.
Referenced by GFDaf::copySmoothing(), GFKalman::processTrack(), and reset().
| void GFBookkeeping::bookMatrices | ( | std::string | key | ) |
Definition at line 199 of file GFBookkeeping.cxx.
References fMatrices, and fNhits.
Referenced by GFDaf::copySmoothing(), GFKalman::processTrack(), and reset().
| void GFBookkeeping::bookNumbers | ( | std::string | key, |
| double | val = 0. |
||
| ) |
Definition at line 230 of file GFBookkeeping.cxx.
References fNhits, fNumbers, fPlanes, i, and val.
Referenced by reset().
| void GFBookkeeping::clearAll | ( | ) |
Definition at line 405 of file GFBookkeeping.cxx.
References fMatrices, fNumbers, and fPlanes.
Referenced by reset(), and ~GFBookkeeping().
| void GFBookkeeping::clearFailedHits | ( | ) |
Definition at line 381 of file GFBookkeeping.cxx.
References fFailedHits.
Referenced by GFKalman::fittingPass(), and reset().
| bool GFBookkeeping::getDetPlane | ( | std::string | key, |
| unsigned int | index, | ||
| GFDetPlane & | pl | ||
| ) |
Definition at line 323 of file GFBookkeeping.cxx.
References fNhits, and fPlanes.
Referenced by GFDaf::copySmoothing(), GFTools::getBiasedSmoothedData(), GFTools::getSmoothedData(), GFTools::getSmoothingPlane(), and Print().
| std::vector< std::string > GFBookkeeping::getGFDetPlaneKeys | ( | ) |
Definition at line 431 of file GFBookkeeping.cxx.
References fPlanes.
Referenced by Print(), and reset().
| bool GFBookkeeping::getMatrix | ( | std::string | key, |
| unsigned int | index, | ||
| TMatrixT< double > & | mat | ||
| ) |
Definition at line 303 of file GFBookkeeping.cxx.
References fMatrices, and fNhits.
Referenced by GFDaf::copySmoothing(), GFTools::getBiasedSmoothedData(), GFTools::getSmoothedData(), and Print().
| std::vector< std::string > GFBookkeeping::getMatrixKeys | ( | ) |
Definition at line 423 of file GFBookkeeping.cxx.
References fMatrices.
Referenced by GFDaf::copySmoothing(), Print(), GFKalman::processTrack(), and reset().
| bool GFBookkeeping::getNumber | ( | std::string | key, |
| unsigned int | index, | ||
| double & | num | ||
| ) |
Definition at line 343 of file GFBookkeeping.cxx.
References fNhits, and fNumbers.
Referenced by Print().
| std::vector< std::string > GFBookkeeping::getNumberKeys | ( | ) |
Definition at line 439 of file GFBookkeeping.cxx.
References fNumbers.
Referenced by Print(), and reset().
| unsigned int GFBookkeeping::getNumFailed | ( | ) |
| unsigned int GFBookkeeping::hitFailed | ( | unsigned int | id | ) |
|
inlineprivate |
Definition at line 83 of file GFBookkeeping.h.
| void GFBookkeeping::Print | ( | ) |
Definition at line 449 of file GFBookkeeping.cxx.
References fFailedHits, fNhits, getDetPlane(), getGFDetPlaneKeys(), getMatrix(), getMatrixKeys(), getNumber(), getNumberKeys(), i, m, n, p, and GFDetPlane::Print().
| void GFBookkeeping::reset | ( | ) |
Definition at line 385 of file GFBookkeeping.cxx.
References bookGFDetPlanes(), bookMatrices(), bookNumbers(), clearAll(), clearFailedHits(), getGFDetPlaneKeys(), getMatrixKeys(), getNumberKeys(), and i.
Referenced by setNhits().
| void GFBookkeeping::setDetPlane | ( | std::string | key, |
| unsigned int | index, | ||
| const GFDetPlane & | pl | ||
| ) |
Definition at line 268 of file GFBookkeeping.cxx.
References fNhits, and fPlanes.
Referenced by GFDaf::copySmoothing(), and GFKalman::processHit().
| void GFBookkeeping::setMatrix | ( | std::string | key, |
| unsigned int | index, | ||
| const TMatrixT< double > & | mat | ||
| ) |
Definition at line 250 of file GFBookkeeping.cxx.
References fMatrices, and fNhits.
Referenced by GFDaf::copySmoothing(), and GFKalman::processHit().
|
inline |
Definition at line 50 of file GFBookkeeping.h.
References fNhits, n, and reset().
Referenced by GFDaf::copySmoothing(), and GFKalman::processTrack().
| void GFBookkeeping::setNumber | ( | std::string | key, |
| unsigned int | index, | ||
| const double & | num | ||
| ) |
Definition at line 285 of file GFBookkeeping.cxx.
References fNhits, fNumbers, and num.
|
private |
Definition at line 45 of file GFBookkeeping.h.
Referenced by addFailedHit(), clearFailedHits(), getNumFailed(), GFBookkeeping(), hitFailed(), and Print().
|
private |
Definition at line 39 of file GFBookkeeping.h.
Referenced by bookMatrices(), clearAll(), getMatrix(), getMatrixKeys(), GFBookkeeping(), and setMatrix().
|
private |
Definition at line 46 of file GFBookkeeping.h.
Referenced by bookGFDetPlanes(), bookMatrices(), bookNumbers(), getDetPlane(), getMatrix(), getNumber(), GFBookkeeping(), Print(), setDetPlane(), setMatrix(), setNhits(), and setNumber().
|
private |
Definition at line 44 of file GFBookkeeping.h.
Referenced by bookNumbers(), clearAll(), getNumber(), getNumberKeys(), GFBookkeeping(), and setNumber().
|
private |
Definition at line 40 of file GFBookkeeping.h.
Referenced by bookGFDetPlanes(), bookNumbers(), clearAll(), getDetPlane(), getGFDetPlaneKeys(), GFBookkeeping(), and setDetPlane().
1.8.5