22 #ifndef GFBOOKKEEPING_H
23 #define GFBOOKKEEPING_H
39 std::map<std::string, TMatrixT<Double_t>* >
fMatrices;
40 std::map<std::string, GFDetPlane* >
fPlanes;
44 std::map<std::string, TMatrixT<Double_t>* >
fNumbers;
56 void setMatrix(std::string key,
unsigned int index,
const TMatrixT<Double_t>& mat);
58 void setNumber(std::string key,
unsigned int index,
const double& num);
60 bool getMatrix(std::string key,
unsigned int index, TMatrixT<Double_t>& mat)
const;
62 bool getNumber(std::string key,
unsigned int index,
double& num)
const;
86 virtual void Print(Option_t*)
const
87 {
throw GFException(std::string(__func__) +
"::Print(Option_t*) not available", __LINE__, __FILE__).
setFatal(); }
void setDetPlane(std::string key, unsigned int index, const GFDetPlane &pl)
std::map< std::string, TMatrixT< Double_t > * > fNumbers
void Print(std::ostream &out=std::cout) const
std::map< std::string, TMatrixT< Double_t > * > fMatrices
void setNumber(std::string key, unsigned int index, const double &num)
void setMatrix(std::string key, unsigned int index, const TMatrixT< Double_t > &mat)
void addFailedHit(unsigned int)
GFBookkeeping & operator=(const GFBookkeeping &)=delete
void bookGFDetPlanes(std::string key)
unsigned int hitFailed(unsigned int)
std::vector< unsigned int > fFailedHits
bool getNumber(std::string key, unsigned int index, double &num) const
virtual void Print(Option_t *) const
Exception class for error handling in GENFIT (provides storage for diagnostic information) ...
void bookMatrices(std::string key)
std::vector< std::string > getMatrixKeys() const
std::vector< std::string > getGFDetPlaneKeys() const
bool getMatrix(std::string key, unsigned int index, TMatrixT< Double_t > &mat) const
void bookNumbers(std::string key, double val=0.)
GFException & setFatal(bool b=true)
set fatal flag. if this is true, the fit stops for this current track repr.
std::vector< std::string > getNumberKeys() const
std::map< std::string, GFDetPlane * > fPlanes
bool getDetPlane(std::string key, unsigned int index, GFDetPlane &pl) const
BEGIN_PROLOG could also be cout
unsigned int getNumFailed()