Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:33:29

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 Phase II Simulation";
0012 //TString cmsText     = "CMS Phase I/II Simulation";
0013 //TString cmsText     = "CMS Simulation";
0014 //TString cmsText     = "CMS Simulation";
0015 TString cmsText     = "CMS";
0016 float cmsTextFont   = 61;  // default is helvetic-bold
0017 
0018 //bool writeExtraText = false;
0019 bool writeExtraText = true;
0020 //TString extraText   = "Preliminary";
0021 TString extraText   = "Simulation preliminary";
0022 //TString extraText   = "Simulation private";
0023 float extraTextFont = 52;  // default is helvetica-italics
0024 
0025 // text sizes and text offsets with respect to the top frame
0026 // in unit of the top margin size
0027 float lumiTextSize     = 0.6;
0028 float lumiTextOffset   = 0.2;
0029 float cmsTextSize      = 0.75;
0030 float cmsTextOffset    = 0.1;  // only used in outOfFrame version
0031 
0032 float relPosX    = 0.045;
0033 float relPosY    = 0.035;
0034 float relExtraDY = 1.2;
0035 
0036 // ratio of "CMS" and extra text size
0037 float extraOverCmsTextSize  = 0.76;
0038 
0039 //TString lumi_13TeV = "20.1 fb^{-1}";
0040 //TString lumi_13TeV = "PU = 35";
0041 TString lumi_13TeV = "";
0042 TString lumi_8TeV  = "19.7 fb^{-1}";
0043 TString lumi_7TeV  = "5.1 fb^{-1}";
0044 //TString lumi_14TeV = "3000 fb^{-1}, PU = 140";
0045 //TString lumi_14TeV = "PU = 140";
0046 TString lumi_14TeV = "";
0047 
0048 bool drawLogo      = false;
0049 
0050 void CMS_lumi_v2( TPad* pad, int iPeriod=3, int iPosX=10 );
0051