#include "Rtypes.h"
Go to the source code of this file.
|
| void | ATLASLabel (Double_t x, Double_t y, const std::string &text="", Color_t color=1, int nx=1, int ny=1) |
| void | Label (Double_t x, Double_t y, const std::string &text="", Color_t color=1, int nx=1, int ny=1) |
| void | ATLASLabelOld (Double_t x, Double_t y, bool Preliminary=false, Color_t color=1) |
| void | ATLASVersion (const std::string &version="", Double_t x=0.88, Double_t y=0.975, Color_t color=1) |
- Author
- mark sutton
- Date
- Thu 25 Mar 2010 10:34:20 CET
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
Definition in file Trigger/TrigAnalysis/TrigInDetAnalysisUser/Analysis/src/AtlasLabels.h.
◆ ATLASLabel()
| void ATLASLabel |
( |
Double_t | x, |
|
|
Double_t | y, |
|
|
const std::string & | text = "", |
|
|
Color_t | color = 1, |
|
|
int | nx = 1, |
|
|
int | ny = 1 ) |
Definition at line 21 of file AtlasLabels.cxx.
22{
27
28 double delx = 0.115*696*gPad->GetWh()*nx/(472*gPad->GetWw()*ny);
29
30 l.DrawLatex(
x,
y,
"ATLAS");
31 if (text!="") {
36 p.DrawLatex(
x+delx,
y,
text.c_str());
37
38 }
39}
l
Printing final latex table to .tex output file.
◆ ATLASLabelOld()
| void ATLASLabelOld |
( |
Double_t | x, |
|
|
Double_t | y, |
|
|
bool | Preliminary = false, |
|
|
Color_t | color = 1 ) |
Definition at line 64 of file AtlasLabels.cxx.
65{
70 l.DrawLatex(
x,
y,
"ATLAS");
71 if (Preliminary) {
76 p.DrawLatex(
x+0.115,
y,
"Preliminary");
77 }
78}
◆ ATLASVersion()
| void ATLASVersion |
( |
const std::string & | version = "", |
|
|
Double_t | x = 0.88, |
|
|
Double_t | y = 0.975, |
|
|
Color_t | color = 1 ) |
Definition at line 82 of file AtlasLabels.cxx.
83{
84
85 if (version!="") {
86 char versionString[100];
87 sprintf(versionString,
"Version %s",
version.c_str());
94 l.DrawLatex(
x,
y,versionString);
95 }
96}
◆ Label()
| void Label |
( |
Double_t | x, |
|
|
Double_t | y, |
|
|
const std::string & | text = "", |
|
|
Color_t | color = 1, |
|
|
int | nx = 1, |
|
|
int | ny = 1 ) |
Definition at line 42 of file AtlasLabels.cxx.
43{
48
49 double delx = 0.115*696*gPad->GetWh()*nx/(472*gPad->GetWw()*ny);
50
51 if (text!="") {
56 p.DrawLatex(
x+delx,
y,
text.c_str());
57
58 }
59}