17 #ifndef ALIGNMENT_OFFLINEVALIDATION_TKAL_STYLE_H 18 #define ALIGNMENT_OFFLINEVALIDATION_TKAL_STYLE_H 23 #include "TPaveText.h" 108 static TLegend*
legend(
const int nEntries,
const double relWidth = 0.5) {
return legendTR(nEntries, relWidth); }
109 static TLegend*
legend(TString
position,
const int nEntries,
const double relWidth = 0.5) {
115 TLegend* leg =
nullptr;
131 static TLegend*
legendTL(
const int nEntries,
const double relWidth = 0.5) {
132 return legend(nEntries, relWidth,
true,
true);
134 static TLegend*
legendTR(
const int nEntries,
const double relWidth = 0.5) {
135 return legend(nEntries, relWidth,
false,
true);
137 static TLegend*
legendBL(
const int nEntries,
const double relWidth = 0.5) {
138 return legend(nEntries, relWidth,
true,
false);
140 static TLegend*
legendBR(
const int nEntries,
const double relWidth = 0.5) {
141 return legend(nEntries, relWidth,
false,
false);
148 static TPaveText*
label(
const int nEntries,
const double relWidth = 0.5) {
return labelTR(nEntries, relWidth); }
150 static TPaveText*
label(TString
position,
const int nEntries,
const double relWidth = 0.5) {
156 TPaveText*
label =
nullptr;
173 static TPaveText*
labelTL(
const int nEntries,
const double relWidth = 0.5) {
174 return label(nEntries, relWidth,
true,
true);
176 static TPaveText*
labelTR(
const int nEntries,
const double relWidth = 0.5) {
177 return label(nEntries, relWidth,
false,
true);
179 static TPaveText*
labelBL(
const int nEntries,
const double relWidth = 0.5) {
180 return label(nEntries, relWidth,
true,
false);
182 static TPaveText*
labelBR(
const int nEntries,
const double relWidth = 0.5) {
183 return label(nEntries, relWidth,
false,
false);
197 static TString
applyCMS(
const TString& txt);
198 static TPaveText*
title(
const TString& txt);
199 static TPaveText*
righttitle(
const TString& txt);
207 static void setXCoordinatesL(
const double relWidth,
double& x0,
double& x1);
208 static void setXCoordinatesR(
const double relWidth,
double& x0,
double& x1);
212 static TLegend*
legend(
const int nEntries,
const double relWidth,
const bool left,
const bool top);
213 static TPaveText*
label(
const int nEntries,
const double relWidth,
const bool leftt,
const bool top);
static TString customTitle_
static void setYCoordinatesB(const int nEntries, double &y0, double &y1)
static TString applyCMS(const TString &txt)
static TPaveText * customTitle(const TString &txt)
static TPaveText * label(TString position, const int nEntries, const double relWidth=0.5)
static PublicationStatus status()
static TString customRightTitle_
static TPaveText * standardRightTitle()
static double lineHeight_
static void drawStandardTitle(const Era era)
static TPaveText * title(const TString &txt)
static void setYCoordinatesT(const int nEntries, double &y0, double &y1)
static PublicationStatus publicationStatus_
static void drawStandardTitle()
static int style(const AlignObj obj)
static TPaveText * standardTitle()
static TString legendheader
static TPaveText * standardRightTitle(const Era era)
static TPaveText * customRightTitle(const TString &txt)
static void setXCoordinatesL(const double relWidth, double &x0, double &x1)
static TPaveText * labelBR(const int nEntries, const double relWidth=0.5)
static TLegend * legendBR(const int nEntries, const double relWidth=0.5)
static double lineHeight()
static TPaveText * righttitle(const TString &txt)
static TPaveText * labelBL(const int nEntries, const double relWidth=0.5)
static TPaveText * labelTR(const int nEntries, const double relWidth=0.5)
static TString legendoptions
static TLegend * legendBL(const int nEntries, const double relWidth=0.5)
static TString rightheader(const Era era)
static TLegend * legendTR(const int nEntries, const double relWidth=0.5)
static TString toTString(const PublicationStatus status)
static TPaveText * label(const int nEntries, const double relWidth=0.5)
static int position[264][3]
static TLegend * legend(TString position, const int nEntries, const double relWidth=0.5)
static int color(const AlignObj obj)
static void setXCoordinatesR(const double relWidth, double &x0, double &x1)
static PublicationStatus toStatus(std::string _status)
static TPaveText * labelTL(const int nEntries, const double relWidth=0.5)
static TLegend * legend(const int nEntries, const double relWidth=0.5)
static TLegend * legendTL(const int nEntries, const double relWidth=0.5)
static TPaveText * standardTitle(PublicationStatus status)
static TString header(const PublicationStatus status)