Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Alignment
OfflineValidation
macros
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
relPosY
float relPosY
Definition:
CMS_lumi.h:26
lumi_8TeV
TString lumi_8TeV
Definition:
CMS_lumi.h:33
cmsTextFont
float cmsTextFont
Definition:
CMS_lumi.h:12
relExtraDY
float relExtraDY
Definition:
CMS_lumi.h:27
drawLogo
bool drawLogo
Definition:
CMS_lumi.h:37
relPosX
float relPosX
Definition:
CMS_lumi.h:25
writeExtraText
bool writeExtraText
Definition:
CMS_lumi.h:14
lumi_7TeV
TString lumi_7TeV
Definition:
CMS_lumi.h:34
cmsTextSize
float cmsTextSize
Definition:
CMS_lumi.h:22
extraText
TString extraText
Definition:
CMS_lumi.h:15
cmsTextOffset
float cmsTextOffset
Definition:
CMS_lumi.h:23
lumiTextSize
float lumiTextSize
Definition:
CMS_lumi.h:20
cmsText
TString cmsText
Definition:
CMS_lumi.h:11
lumi_13TeV
TString lumi_13TeV
Definition:
CMS_lumi.h:32
extraOverCmsTextSize
float extraOverCmsTextSize
Definition:
CMS_lumi.h:30
CMS_lumi
void CMS_lumi(TPad *pad, int iPeriod=3, int iPosX=10)
lumi_sqrtS
TString lumi_sqrtS
Definition:
CMS_lumi.h:35
extraTextFont
float extraTextFont
Definition:
CMS_lumi.h:16
lumiTextOffset
float lumiTextOffset
Definition:
CMS_lumi.h:21
Generated for CMSSW Reference Manual by
1.8.5