#include "Rtypes.h"
#include <TCanvas.h>
Go to the source code of this file.
|
void | ATLASLabel (Double_t x, Double_t y, char *text=NULL, Color_t color=1) |
|
void | ATLASLabelOld (Double_t x, Double_t y, bool Preliminary=false, Color_t color=1) |
|
void | ATLASVersion (char *version=NULL, Double_t x=0.88, Double_t y=0.975, Color_t color=1) |
|
void | myText (Double_t x, Double_t y, Color_t color, char *text) |
|
void | myBoxText (Double_t x, Double_t y, Double_t boxsize, Int_t mcolor, char *text) |
|
void | myMarkerText (Double_t x, Double_t y, Int_t color, Int_t mstyle, char *text) |
|
◆ ATLASLabel()
void ATLASLabel |
( |
Double_t |
x, |
|
|
Double_t |
y, |
|
|
char * |
text = NULL , |
|
|
Color_t |
color = 1 |
|
) |
| |
◆ ATLASLabelOld()
void ATLASLabelOld |
( |
Double_t |
x, |
|
|
Double_t |
y, |
|
|
bool |
Preliminary = false , |
|
|
Color_t |
color = 1 |
|
) |
| |
Definition at line 64 of file AtlasLabels.cxx.
70 l.DrawLatex(
x,
y,
"ATLAS");
76 p.DrawLatex(
x+0.115,
y,
"Preliminary");
◆ ATLASVersion()
void ATLASVersion |
( |
char * |
version = NULL , |
|
|
Double_t |
x = 0.88 , |
|
|
Double_t |
y = 0.975 , |
|
|
Color_t |
color = 1 |
|
) |
| |
◆ myBoxText()
void myBoxText |
( |
Double_t |
x, |
|
|
Double_t |
y, |
|
|
Double_t |
boxsize, |
|
|
Int_t |
mcolor, |
|
|
char * |
text |
|
) |
| |
|
inline |
Definition at line 301 of file AtlasUtils.h.
305 TLatex
l;
l.SetTextAlign(12);
312 Double_t
x1=
x2-boxsize;
314 printf(
"x1= %f x2= %f y1= %f y2= %f \n",
x1,
x2,
y1,
y2);
316 TPave *mbox=
new TPave(
x1,
y1,
x2,
y2,0,
"NDC");
318 mbox->SetFillColor(mcolor);
319 mbox->SetFillStyle(1001);
323 mline.SetLineWidth(4);
324 mline.SetLineColor(1);
325 mline.SetLineStyle(1);
326 Double_t ytmp=(
y1+
y2)/2.;
327 mline.DrawLineNDC(
x1,ytmp,
x2,
y);
◆ myMarkerText()
void myMarkerText |
( |
Double_t |
x, |
|
|
Double_t |
y, |
|
|
Int_t |
color, |
|
|
Int_t |
mstyle, |
|
|
char * |
text |
|
) |
| |
|
inline |
Definition at line 332 of file AtlasUtils.h.
339 marker->SetMarkerStyle(mstyle);
340 marker->SetMarkerSize(2.0);
343 TLatex
l;
l.SetTextAlign(12);
◆ myText()
void myText |
( |
Double_t |
x, |
|
|
Double_t |
y, |
|
|
Color_t |
color, |
|
|
char * |
text |
|
) |
| |
|
inline |