17 #ifndef ALIGNMENT_OFFLINEVALIDATION_TKAL_STYLE_H 18 #define ALIGNMENT_OFFLINEVALIDATION_TKAL_STYLE_H 23 #include "TPaveText.h" 98 static TLegend*
legend(
const int nEntries,
const double relWidth = 0.5) {
return legendTR(nEntries, relWidth); }
99 static TLegend*
legend(TString
position,
const int nEntries,
const double relWidth = 0.5) {
105 TLegend* leg =
nullptr;
121 static TLegend*
legendTL(
const int nEntries,
const double relWidth = 0.5) {
122 return legend(nEntries, relWidth,
true,
true);
124 static TLegend*
legendTR(
const int nEntries,
const double relWidth = 0.5) {
125 return legend(nEntries, relWidth,
false,
true);
127 static TLegend*
legendBL(
const int nEntries,
const double relWidth = 0.5) {
128 return legend(nEntries, relWidth,
true,
false);
130 static TLegend*
legendBR(
const int nEntries,
const double relWidth = 0.5) {
131 return legend(nEntries, relWidth,
false,
false);
138 static TPaveText*
label(
const int nEntries,
const double relWidth = 0.5) {
return labelTR(nEntries, relWidth); }
140 static TPaveText*
label(TString
position,
const int nEntries,
const double relWidth = 0.5) {
146 TPaveText*
label =
nullptr;
163 static TPaveText*
labelTL(
const int nEntries,
const double relWidth = 0.5) {
164 return label(nEntries, relWidth,
true,
true);
166 static TPaveText*
labelTR(
const int nEntries,
const double relWidth = 0.5) {
167 return label(nEntries, relWidth,
false,
true);
169 static TPaveText*
labelBL(
const int nEntries,
const double relWidth = 0.5) {
170 return label(nEntries, relWidth,
true,
false);
172 static TPaveText*
labelBR(
const int nEntries,
const double relWidth = 0.5) {
173 return label(nEntries, relWidth,
false,
false);
187 static TString
applyCMS(
const TString& txt);
188 static TPaveText*
title(
const TString& txt);
189 static TPaveText*
righttitle(
const TString& txt);
197 static void setXCoordinatesL(
const double relWidth,
double& x0,
double& x1);
198 static void setXCoordinatesR(
const double relWidth,
double& x0,
double& x1);
202 static TLegend*
legend(
const int nEntries,
const double relWidth,
const bool left,
const bool top);
203 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 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 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 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)