LArSoft
v09_90_00
Liquid Argon Software toolkit - https://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 32 of file GFBookkeeping.h.
|
inline |
Definition at line 73 of file GFBookkeeping.h.
genf::GFBookkeeping::GFBookkeeping | ( | const GFBookkeeping & | bk | ) |
Definition at line 25 of file GFBookkeeping.cxx.
References fFailedHits, fMatrices, fNhits, fNumbers, and fPlanes.
|
inlinevirtual |
Definition at line 75 of file GFBookkeeping.h.
References clearAll(), clearFailedHits(), operator=(), Print(), and Streamer().
void genf::GFBookkeeping::addFailedHit | ( | unsigned int | id | ) |
Definition at line 358 of file GFBookkeeping.cxx.
References fFailedHits.
Referenced by setNhits().
void genf::GFBookkeeping::bookGFDetPlanes | ( | std::string | key | ) |
Definition at line 208 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 193 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 224 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 402 of file GFBookkeeping.cxx.
References fMatrices, fNumbers, and fPlanes.
Referenced by reset(), Streamer(), and ~GFBookkeeping().
void genf::GFBookkeeping::clearFailedHits | ( | ) |
Definition at line 377 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 318 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 430 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 297 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 421 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 339 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 439 of file GFBookkeeping.cxx.
References fNumbers.
Referenced by Print(), reset(), setNhits(), and Streamer().
unsigned int genf::GFBookkeeping::getNumFailed | ( | ) |
Definition at line 363 of file GFBookkeeping.cxx.
References fFailedHits.
Referenced by setNhits().
unsigned int genf::GFBookkeeping::hitFailed | ( | unsigned int | id | ) |
Definition at line 368 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 449 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 87 of file GFBookkeeping.h.
References GFException::setFatal().
void genf::GFBookkeeping::reset | ( | ) |
Definition at line 382 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 262 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 243 of file GFBookkeeping.cxx.
References fMatrices, and fNhits.
Referenced by genf::GFDaf::processTrack(), setNhits(), and Streamer().
|
inline |
Definition at line 47 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 280 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 75 of file GFBookkeeping.cxx.
References bookGFDetPlanes(), bookMatrices(), bookNumbers(), clearAll(), clearFailedHits(), fFailedHits, fMatrices, fNhits, fNumbers, fPlanes, getGFDetPlaneKeys(), getMatrixKeys(), getNumberKeys(), mat, setDetPlane(), setMatrix(), and setNumber().
Referenced by ~GFBookkeeping().
|
private |
Definition at line 42 of file GFBookkeeping.h.
Referenced by addFailedHit(), clearFailedHits(), getNumFailed(), GFBookkeeping(), hitFailed(), Print(), and Streamer().
|
private |
Definition at line 36 of file GFBookkeeping.h.
Referenced by bookMatrices(), clearAll(), getMatrix(), getMatrixKeys(), GFBookkeeping(), setMatrix(), and Streamer().
|
private |
Definition at line 43 of file GFBookkeeping.h.
Referenced by bookGFDetPlanes(), bookMatrices(), bookNumbers(), getDetPlane(), getMatrix(), getNumber(), GFBookkeeping(), Print(), setDetPlane(), setMatrix(), setNumber(), and Streamer().
|
private |
Definition at line 41 of file GFBookkeeping.h.
Referenced by bookNumbers(), clearAll(), getNumber(), getNumberKeys(), GFBookkeeping(), setNumber(), and Streamer().
|
private |
Definition at line 37 of file GFBookkeeping.h.
Referenced by bookGFDetPlanes(), bookNumbers(), clearAll(), getDetPlane(), getGFDetPlaneKeys(), GFBookkeeping(), setDetPlane(), and Streamer().