35 const std::vector<double>& _numbers) {
42 const std::vector< TMatrixT<Double_t> >& _matrices) {
50 std::ostringstream returnStream;
51 returnStream <<
"GFException thrown with excString:" 55 return returnStream.str().c_str();
61 std::cout <<
"GFException Info Output" <<
std::endl;
62 std::cout <<
"===========================" <<
std::endl;
64 std::cout <<
"Numbers Label String:" <<
std::endl;
68 std::cout <<
"---------------------------" <<
std::endl;
73 std::cout <<
"---------------------------" <<
std::endl;
74 std::cout <<
"Matrices Label String:" <<
std::endl;
78 std::cout <<
"---------------------------" <<
std::endl;
82 std::cout <<
"===========================" <<
std::endl;
89 out <<
"(x,y,z)=(" << v.X() <<
"," << v.Y() <<
"," << v.Z() <<
")" 90 " (rho,theta,phi)=(" << v.Mag() <<
"," << (v.Theta()*TMath::RadToDeg())
91 <<
"," << (v.Phi()*TMath::RadToDeg()) <<
")";
GFException & setNumbers(std::string, const std::vector< double > &)
set list of numbers with description
std::string fNumbersLabel
std::vector< TMatrixT< Double_t > > fMatrices
virtual const char * what() const
standard error message handling for exceptions. use like "std::cerr << e.what();" ...
std::string fMatricesLabel
GFException & setMatrices(std::string, const std::vector< TMatrixT< Double_t > > &)
set list of matrices with description
void info()
print information in the exception object
Exception class for error handling in GENFIT (provides storage for diagnostic information) ...
GFException(std::string, int, std::string)
Initializing constructor.
std::vector< double > fNumbers
void PrintROOTobject(std::ostream &, const ROOTOBJ &)
Small utility functions which print some ROOT objects into an output stream.
QTextStream & endl(QTextStream &s)