ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonValidation
MuonVertexValidation
util
PlotAnnotations.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef PLOTANNOTATIONS_H
6
#define PLOTANNOTATIONS_H
7
8
#include <vector>
9
#include <string>
10
11
#include "TGraphAsymmErrors.h"
12
13
#include "TLatex.h"
14
#include "TString.h"
15
#include "TLegend.h"
16
#include "TLine.h"
17
#include "TColor.h"
18
19
20
namespace
MuonVertexValidationMacroPlotAnnotations
{
21
TLegend*
makeLegend
(
double
lower_x=0.6,
double
lower_y=0.75,
double
upper_x=0.92,
double
upper_y=0.92,
double
textsize=0.04);
22
void
drawATLASlabel
(
const
char
* text=
""
,
double
x
=0.2,
double
y
=0.88,
double
textsize=0.05);
23
void
drawDetectorRegionLabel
(
const
char
* name,
const
char
* customlabel=
""
,
double
x
=0.2,
double
y
=0.83,
double
textsize=0.04);
24
void
drawDetectorBoundaryLine
(
double
x
,
double
y_max,
int
line_style,
const
char
* text);
25
void
drawDetectorBoundaryLines
(
const
char
* bin_var,
double
y_max=1.1);
26
double
getMaxy
(
const
TGraphAsymmErrors* graph,
double
current_max=0.0);
27
}
28
29
#endif
// PLOTANNOTATIONS_H
y
#define y
x
#define x
MuonVertexValidationMacroPlotAnnotations
Definition
PlotAnnotations.cxx:11
MuonVertexValidationMacroPlotAnnotations::getMaxy
double getMaxy(const TGraphAsymmErrors *graph, double current_max)
Definition
PlotAnnotations.cxx:103
MuonVertexValidationMacroPlotAnnotations::drawATLASlabel
void drawATLASlabel(const char *text, double x, double y, double textsize)
Definition
PlotAnnotations.cxx:23
MuonVertexValidationMacroPlotAnnotations::makeLegend
TLegend * makeLegend(double lower_x, double lower_y, double upper_x, double upper_y, double textsize)
Definition
PlotAnnotations.cxx:13
MuonVertexValidationMacroPlotAnnotations::drawDetectorRegionLabel
void drawDetectorRegionLabel(const char *name, const char *customlabel, double x, double y, double textsize)
Definition
PlotAnnotations.cxx:35
MuonVertexValidationMacroPlotAnnotations::drawDetectorBoundaryLine
void drawDetectorBoundaryLine(double x, double y_max, int line_style, const char *text)
Definition
PlotAnnotations.cxx:65
MuonVertexValidationMacroPlotAnnotations::drawDetectorBoundaryLines
void drawDetectorBoundaryLines(const char *bin_var, double y_max)
Definition
PlotAnnotations.cxx:84
Generated on
for ATLAS Offline Software by
1.17.0