Go to the documentation of this file.
25 std::string digis = ToString<int>(value);
26 int ndigis = digis.size();
29 ss.precision(ndigis + precision);
37 static const T
ZERO = 0;
42 const std::string& dir,
43 const std::string& option =
"eps;png;gif");
46 const std::string& oldSubstr,
47 const std::string& newSubstr);
49 std::vector<std::string>
Split(
const std::string& name,
char delimiter);
61 const std::string& histName =
"",
63 const std::string& titleYaxis =
"Efficiency [%]");
76 const std::string& histName =
"",
78 const std::string& titleZaxis =
"Efficiency [%]");
string FindAndReplace(const string &name, const string &oldSubstr, const string &newSubstr)
TH2D * DivideH2(TH2 *h1, TH2 *h2, const string &histName, double scale, const string &titleZaxis)
TH1D * DivideH1(TH1 *h1, TH1 *h2, const string &histName, double scale, const string &titleYaxis)
void SaveCanvasAsImage(TCanvas *c, const std::string &dir, const std::string &option)
std::string NumberToString(const T &value, int precision=1)
std::string ToString(const T &value)
vector< string > Split(const string &name, char delimiter)