10#include <TMatrixFBasefwd.h>
11#include <TMatrixDBasefwd.h>
13#include <Math/Vector3D.h>
32 std::string
getString(
const TMatrixFBase& matrix,
int precision = 2,
bool color =
true);
40 std::string
getString(
const TMatrixDBase& matrix,
int precision = 2,
bool color =
true);
46 std::string
getString(
const ROOT::Math::XYZVector& vec,
int precision = 2);
56 const std::string& unitType =
"cm");
68 std::string
getHexDump(
const int* buf,
int length);
74 std::string
escape(
const std::string& str);
76 std::string
unescape(
const std::string& str);
std::string escape(const std::string &str)
Convert &, <, > etc.
std::string getStringConvertToUnit(const ROOT::Math::XYZVector &vec, int precision=2, const std::string &unitType="cm")
get a string with vector coordinates: (x, y, z).
std::string chooseUnitOfLength(const ROOT::Math::XYZVector &vec)
get a string with a unit type to convert a vector, so that it is easily readable.
std::string getHexDump(const int *buf, int length)
Create hexdump of given buffer.
std::string unescape(const std::string &str)
inverse of escape()
std::string getString(const TMatrixFBase &matrix, int precision=2, bool color=true)
get HTML table representing a matrix.
std::string htmlToPlainText(const std::string &html)
Reformat given HTML string into terminal-friendly plain text.
Abstract base class for different kinds of events.