CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CMS_lumi.h
Go to the documentation of this file.
1 #include "TPad.h"
2 #include "TLatex.h"
3 #include "TLine.h"
4 #include "TBox.h"
5 #include "TASImage.h"
6 
7 //
8 // Global variables
9 //
10 
11 TString cmsText = "CMS";
12 float cmsTextFont = 61; // default is helvetic-bold
13 
14 bool writeExtraText = false;
15 TString extraText = "Preliminary";
16 float extraTextFont = 52; // default is helvetica-italics
17 
18 // text sizes and text offsets with respect to the top frame
19 // in unit of the top margin size
20 float lumiTextSize = 0.6;
21 float lumiTextOffset = 0.2;
22 float cmsTextSize = 0.75;
23 float cmsTextOffset = 0.1; // only used in outOfFrame version
24 
25 float relPosX = 0.045;
26 float relPosY = 0.035;
27 float relExtraDY = 1.2;
28 
29 // ratio of "CMS" and extra text size
30 float extraOverCmsTextSize = 0.76;
31 
32 TString lumi_13TeV = "20.1 fb^{-1}";
33 TString lumi_8TeV = "19.7 fb^{-1}";
34 TString lumi_7TeV = "5.1 fb^{-1}";
35 TString lumi_sqrtS = "";
36 
37 bool drawLogo = false;
38 
39 void CMS_lumi( TPad* pad, int iPeriod=3, int iPosX=10 );
40 
float relPosY
Definition: CMS_lumi.h:26
TString lumi_8TeV
Definition: CMS_lumi.h:33
float cmsTextFont
Definition: CMS_lumi.h:12
float relExtraDY
Definition: CMS_lumi.h:27
bool drawLogo
Definition: CMS_lumi.h:37
float relPosX
Definition: CMS_lumi.h:25
bool writeExtraText
Definition: CMS_lumi.h:14
TString lumi_7TeV
Definition: CMS_lumi.h:34
float cmsTextSize
Definition: CMS_lumi.h:22
TString extraText
Definition: CMS_lumi.h:15
float cmsTextOffset
Definition: CMS_lumi.h:23
float lumiTextSize
Definition: CMS_lumi.h:20
TString cmsText
Definition: CMS_lumi.h:11
TString lumi_13TeV
Definition: CMS_lumi.h:32
float extraOverCmsTextSize
Definition: CMS_lumi.h:30
void CMS_lumi(TPad *pad, int iPeriod=3, int iPosX=10)
TString lumi_sqrtS
Definition: CMS_lumi.h:35
float extraTextFont
Definition: CMS_lumi.h:16
float lumiTextOffset
Definition: CMS_lumi.h:21