20 #ifndef GFBOOKKEEPING_H 21 #define GFBOOKKEEPING_H 36 std::map<std::string, TMatrixT<Double_t>*>
fMatrices;
37 std::map<std::string, GFDetPlane*>
fPlanes;
41 std::map<std::string, TMatrixT<Double_t>*>
fNumbers;
57 void setMatrix(std::string key,
unsigned int index,
const TMatrixT<Double_t>&
mat);
59 void setNumber(std::string key,
unsigned int index,
const double& num);
61 bool getMatrix(std::string key,
unsigned int index, TMatrixT<Double_t>& mat)
const;
63 bool getNumber(std::string key,
unsigned int index,
double& num)
const;
81 void Print(std::ostream& out = std::cout)
const;
87 virtual void Print(Option_t*)
const 90 std::string(__func__) +
"::Print(Option_t*) not available", __LINE__, __FILE__)
void setDetPlane(std::string key, unsigned int index, const GFDetPlane &pl)
Generic Interface to magnetic fields in GENFIT.
void Print(std::ostream &out=std::cout) const
std::map< std::string, GFDetPlane * > fPlanes
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)
bool getNumber(std::string key, unsigned int index, double &num) const
std::map< std::string, TMatrixT< Double_t > * > fNumbers
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
bool getDetPlane(std::string key, unsigned int index, GFDetPlane &pl) const
std::vector< unsigned int > fFailedHits
std::map< std::string, TMatrixT< Double_t > * > fMatrices
unsigned int getNumFailed()