11#ifndef ROOT_TOOLS_TCANVAS_TOOLS_HPP
12#define ROOT_TOOLS_TCANVAS_TOOLS_HPP
38 void DrawFrame(T *hist,
const std::string& title,
39 const std::string& xTitle,
const std::string& yTitle,
40 const double xTitleOffset = 1.,
const double yTitleOffset = 1.5,
41 const double xTitleSize = 0.05,
const double yTitleSize = 0.05,
42 const bool drawOppositeAxis =
true,
const bool drawContents =
true);
58 void DrawFrame(
const double xMin,
const double yMin,
59 const double xMax,
const double yMax,
60 const std::string& title,
const std::string& xTitle,
const std::string& yTitle,
61 const double xTitleOffset = 1.,
const double yTitleOffset = 1.5,
62 const double xTitleSize = 0.05,
const double yTitleSize = 0.05,
63 const bool drawOppositeAxis =
true);
72 void PrintCanvas(TCanvas *canv,
const std::string& outputFileNameNoExt,
73 const bool printPng =
true,
const bool printPdf =
true,
74 const bool compressPdf =
true,
const bool parallelCompression =
true);