LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#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_t > &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_t > &mat) const |
bool | getDetPlane (std::string key, unsigned int index, GFDetPlane &pl) const |
bool | getNumber (std::string key, unsigned int index, double &num) const |
std::vector< std::string > | getMatrixKeys () const |
std::vector< std::string > | getGFDetPlaneKeys () const |
std::vector< std::string > | getNumberKeys () const |
void | addFailedHit (unsigned int) |
unsigned int | hitFailed (unsigned int) |
unsigned int | getNumFailed () |
GFBookkeeping () | |
GFBookkeeping (const GFBookkeeping &) | |
virtual | ~GFBookkeeping () |
void | Streamer (TBuffer &) |
void | clearAll () |
void | clearFailedHits () |
void | Print (std::ostream &out=std::cout) const |
Private Member Functions | |
GFBookkeeping & | operator= (const GFBookkeeping &)=delete |
virtual void | Print (Option_t *) const |
Private Attributes | |
std::map< std::string, TMatrixT< Double_t > * > | fMatrices |
std::map< std::string, GFDetPlane * > | fPlanes |
std::map< std::string, TMatrixT< Double_t > * > | fNumbers |
std::vector< unsigned int > | fFailedHits |
int | fNhits |
Definition at line 34 of file GFBookkeeping.h.
|
inline |
Definition at line 72 of file GFBookkeeping.h.
genf::GFBookkeeping::GFBookkeeping | ( | const GFBookkeeping & | bk | ) |
Definition at line 26 of file GFBookkeeping.cxx.
References fFailedHits, fMatrices, fNhits, fNumbers, and fPlanes.
|
inlinevirtual |
Definition at line 74 of file GFBookkeeping.h.
References clearAll(), clearFailedHits(), operator=(), Print(), and Streamer().
void genf::GFBookkeeping::addFailedHit | ( | unsigned int | id | ) |
Definition at line 364 of file GFBookkeeping.cxx.
References fFailedHits.
Referenced by setNhits().
void genf::GFBookkeeping::bookGFDetPlanes | ( | std::string | key | ) |
Definition at line 212 of file GFBookkeeping.cxx.
References fNhits, and fPlanes.
Referenced by genf::GFDaf::processTrack(), reset(), setNhits(), and Streamer().
void genf::GFBookkeeping::bookMatrices | ( | std::string | key | ) |
Definition at line 197 of file GFBookkeeping.cxx.
References fMatrices, and fNhits.
Referenced by genf::GFDaf::processTrack(), reset(), setNhits(), and Streamer().
void genf::GFBookkeeping::bookNumbers | ( | std::string | key, |
double | val = 0. |
||
) |
Definition at line 228 of file GFBookkeeping.cxx.
References fNhits, fNumbers, and fPlanes.
Referenced by genf::GFDaf::processTrack(), reset(), setNhits(), and Streamer().
void genf::GFBookkeeping::clearAll | ( | ) |
Definition at line 406 of file GFBookkeeping.cxx.
References fMatrices, fNumbers, and fPlanes.
Referenced by reset(), Streamer(), and ~GFBookkeeping().
void genf::GFBookkeeping::clearFailedHits | ( | ) |
Definition at line 382 of file GFBookkeeping.cxx.
References fFailedHits.
Referenced by genf::GFKalman::fittingPass(), reset(), Streamer(), and ~GFBookkeeping().
bool genf::GFBookkeeping::getDetPlane | ( | std::string | key, |
unsigned int | index, | ||
genf::GFDetPlane & | pl | ||
) | const |
Definition at line 322 of file GFBookkeeping.cxx.
References fNhits, and fPlanes.
Referenced by Print(), genf::GFDaf::processTrack(), and setNhits().
std::vector< std::string > genf::GFBookkeeping::getGFDetPlaneKeys | ( | ) | const |
Definition at line 432 of file GFBookkeeping.cxx.
References fPlanes.
Referenced by Print(), reset(), setNhits(), and Streamer().
bool genf::GFBookkeeping::getMatrix | ( | std::string | key, |
unsigned int | index, | ||
TMatrixT< Double_t > & | mat | ||
) | const |
Definition at line 301 of file GFBookkeeping.cxx.
References fMatrices, and fNhits.
Referenced by Print(), genf::GFDaf::processTrack(), and setNhits().
std::vector< std::string > genf::GFBookkeeping::getMatrixKeys | ( | ) | const |
Definition at line 424 of file GFBookkeeping.cxx.
References fMatrices.
Referenced by Print(), reset(), setNhits(), and Streamer().
bool genf::GFBookkeeping::getNumber | ( | std::string | key, |
unsigned int | index, | ||
double & | num | ||
) | const |
Definition at line 343 of file GFBookkeeping.cxx.
References fNhits, and fNumbers.
Referenced by Print(), genf::GFDaf::processTrack(), and setNhits().
std::vector< std::string > genf::GFBookkeeping::getNumberKeys | ( | ) | const |
Definition at line 440 of file GFBookkeeping.cxx.
References fNumbers.
Referenced by Print(), reset(), setNhits(), and Streamer().
unsigned int genf::GFBookkeeping::getNumFailed | ( | ) |
Definition at line 368 of file GFBookkeeping.cxx.
References fFailedHits.
Referenced by setNhits().
unsigned int genf::GFBookkeeping::hitFailed | ( | unsigned int | id | ) |
Definition at line 372 of file GFBookkeeping.cxx.
References fFailedHits.
Referenced by genf::GFDaf::processTrack(), and setNhits().
|
privatedelete |
Referenced by ~GFBookkeeping().
void genf::GFBookkeeping::Print | ( | std::ostream & | out = std::cout | ) | const |
Definition at line 450 of file GFBookkeeping.cxx.
References fFailedHits, fNhits, getDetPlane(), getGFDetPlaneKeys(), getMatrix(), getMatrixKeys(), getNumber(), getNumberKeys(), n, and genf::GFDetPlane::Print().
Referenced by ~GFBookkeeping().
|
inlineprivatevirtual |
Definition at line 86 of file GFBookkeeping.h.
References GFException::setFatal().
void genf::GFBookkeeping::reset | ( | ) |
Definition at line 386 of file GFBookkeeping.cxx.
References bookGFDetPlanes(), bookMatrices(), bookNumbers(), clearAll(), clearFailedHits(), getGFDetPlaneKeys(), getMatrixKeys(), and getNumberKeys().
Referenced by setNhits().
void genf::GFBookkeeping::setDetPlane | ( | std::string | key, |
unsigned int | index, | ||
const GFDetPlane & | pl | ||
) |
Definition at line 266 of file GFBookkeeping.cxx.
References fNhits, and fPlanes.
Referenced by genf::GFDaf::processTrack(), setNhits(), and Streamer().
void genf::GFBookkeeping::setMatrix | ( | std::string | key, |
unsigned int | index, | ||
const TMatrixT< Double_t > & | mat | ||
) |
Definition at line 248 of file GFBookkeeping.cxx.
References fMatrices, and fNhits.
Referenced by genf::GFDaf::processTrack(), setNhits(), and Streamer().
|
inline |
Definition at line 50 of file GFBookkeeping.h.
References addFailedHit(), bookGFDetPlanes(), bookMatrices(), bookNumbers(), getDetPlane(), getGFDetPlaneKeys(), getMatrix(), getMatrixKeys(), getNumber(), getNumberKeys(), getNumFailed(), hitFailed(), mat, n, reset(), setDetPlane(), setMatrix(), and setNumber().
Referenced by genf::GFDaf::processTrack().
void genf::GFBookkeeping::setNumber | ( | std::string | key, |
unsigned int | index, | ||
const double & | num | ||
) |
Definition at line 283 of file GFBookkeeping.cxx.
References fNhits, and fNumbers.
Referenced by genf::GFDaf::processTrack(), setNhits(), and Streamer().
void genf::GFBookkeeping::Streamer | ( | TBuffer & | R__b | ) |
Definition at line 78 of file GFBookkeeping.cxx.
References bookGFDetPlanes(), bookMatrices(), bookNumbers(), clearAll(), clearFailedHits(), fFailedHits, fMatrices, fNhits, fNumbers, fPlanes, getGFDetPlaneKeys(), getMatrixKeys(), getNumberKeys(), mat, s, setDetPlane(), setMatrix(), and setNumber().
Referenced by ~GFBookkeeping().
|
private |
Definition at line 45 of file GFBookkeeping.h.
Referenced by addFailedHit(), clearFailedHits(), getNumFailed(), GFBookkeeping(), hitFailed(), Print(), and Streamer().
|
private |
Definition at line 39 of file GFBookkeeping.h.
Referenced by bookMatrices(), clearAll(), getMatrix(), getMatrixKeys(), GFBookkeeping(), setMatrix(), and Streamer().
|
private |
Definition at line 46 of file GFBookkeeping.h.
Referenced by bookGFDetPlanes(), bookMatrices(), bookNumbers(), getDetPlane(), getMatrix(), getNumber(), GFBookkeeping(), Print(), setDetPlane(), setMatrix(), setNumber(), and Streamer().
|
private |
Definition at line 44 of file GFBookkeeping.h.
Referenced by bookNumbers(), clearAll(), getNumber(), getNumberKeys(), GFBookkeeping(), setNumber(), and Streamer().
|
private |
Definition at line 40 of file GFBookkeeping.h.
Referenced by bookGFDetPlanes(), bookNumbers(), clearAll(), getDetPlane(), getGFDetPlaneKeys(), GFBookkeeping(), setDetPlane(), and Streamer().