ATLAS Offline Software
Loading...
Searching...
No Matches
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
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
#define y
#define x
double getMaxy(const TGraphAsymmErrors *graph, double current_max)
void drawATLASlabel(const char *text, double x, double y, double textsize)
TLegend * makeLegend(double lower_x, double lower_y, double upper_x, double upper_y, double textsize)
void drawDetectorRegionLabel(const char *name, const char *customlabel, double x, double y, double textsize)
void drawDetectorBoundaryLine(double x, double y_max, int line_style, const char *text)
void drawDetectorBoundaryLines(const char *bin_var, double y_max)