29 : fExcString(_excString), fLine(_line), fFile(_file), fFatal(false)
31 std::ostringstream returnStream;
32 returnStream <<
"GFException thrown with excString:\n" 34 <<
"\nwith fatal flag " <<
fFatal <<
'\n';
65 std::cout <<
"GFException Info Output" << std::endl;
66 std::cout <<
"===========================" << std::endl;
68 std::cout <<
"Numbers Label String:" << std::endl;
72 std::cout <<
"---------------------------" << std::endl;
73 std::cout <<
"Numbers:" << std::endl;
74 for (
unsigned int i = 0; i <
fNumbers.size(); i++)
75 std::cout <<
fNumbers.at(i) << std::endl;
78 std::cout <<
"---------------------------" << std::endl;
79 std::cout <<
"Matrices Label String:" << std::endl;
83 std::cout <<
"---------------------------" << std::endl;
84 std::cout <<
"Matrices:" << std::endl;
85 for (
unsigned int i = 0; i <
fMatrices.size(); i++)
88 std::cout <<
"===========================" << std::endl;
95 out <<
"(x,y,z)=(" << v.X() <<
"," << v.Y() <<
"," << v.Z()
98 << v.Mag() <<
"," << (v.Theta() * TMath::RadToDeg()) <<
"," << (v.Phi() * TMath::RadToDeg())
GFException & setNumbers(std::string, const std::vector< double > &)
set list of numbers with description
std::string fNumbersLabel
std::string fMatricesLabel
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
void info()
print information in the exception object
const char * what() const noexcept override
standard error message handling for exceptions. use like "std::cerr << e.what();" ...
GFException & setMatrices(std::string, const std::vector< TMatrixT< Double_t >> &)
set list of matrices with description
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.
std::vector< TMatrixT< Double_t > > fMatrices