Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:32:18

0001 #include "TPad.h"
0002 #include "TLatex.h"
0003 #include "TLine.h"
0004 #include "TBox.h"
0005 #include "TASImage.h"
0006 
0007 //
0008 // Global variables
0009 //
0010 
0011 TString cmsText = "CMS";
0012 float cmsTextFont = 61;  // default is helvetic-bold
0013 
0014 bool writeExtraText = false;
0015 TString extraText = "Preliminary";
0016 float extraTextFont = 52;  // default is helvetica-italics
0017 
0018 // text sizes and text offsets with respect to the top frame
0019 // in unit of the top margin size
0020 float lumiTextSize = 0.6;
0021 float lumiTextOffset = 0.2;
0022 float cmsTextSize = 0.75;
0023 float cmsTextOffset = 0.1;  // only used in outOfFrame version
0024 
0025 float relPosX = 0.045;
0026 float relPosY = 0.035;
0027 float relExtraDY = 1.2;
0028 
0029 // ratio of "CMS" and extra text size
0030 float extraOverCmsTextSize = 0.76;
0031 
0032 TString lumi_13TeV = "20.1 fb^{-1}";
0033 TString lumi_8TeV = "19.7 fb^{-1}";
0034 TString lumi_7TeV = "5.1 fb^{-1}";
0035 TString lumi_sqrtS = "";
0036 
0037 bool drawLogo = false;
0038 
0039 void CMS_lumi(TPad* pad, int iPeriod = 3, int iPosX = 10);