User Tools

Site Tools


limits:brazilianplotexample

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
limits:brazilianplotexample [2016/08/07 10:28] iwnlimits:brazilianplotexample [2017/09/18 15:19] (current) iwn
Line 1: Line 1:
 +{{ limits:upperlimit_brazilianplot.png ? 200 }}
 +
 +To be used with [[plots:CMS_lumi|CMS_lumi.py]] and [[plots:tdrstyle|tdrstyle.py]] for the [[https://ghm.web.cern.ch/ghm/plots/|CMS plot style]]:
 +
 <file python BrazilianPlots.py> <file python BrazilianPlots.py>
  
Line 32: Line 36:
                        "------------",                        "------------",
                        #"lumi    lnN    1.10  1.10   luminosity",                        #"lumi    lnN    1.10  1.10   luminosity",
-                       "xs_HH   lnN    1.10       cross section + signal efficiency + other minor ones",+                       "xs_HH   lnN    1.02       cross section + signal efficiency + other minor ones",
                        #"ttbar   lnN      -   1.02   ",                        #"ttbar   lnN      -   1.02   ",
                       ]                       ]
Line 80: Line 84:
 # PLOT upper limits # PLOT upper limits
 def plotUpperLimits(labels,values): def plotUpperLimits(labels,values):
-    # see CMA plot guidelines: https://ghm.web.cern.ch/ghm/plots/+    # see CMS plot guidelines: https://ghm.web.cern.ch/ghm/plots/
          
     N = len(labels)     N = len(labels)
Line 102: Line 106:
     T = 0.08*H     T = 0.08*H
     B = 0.12*H     B = 0.12*H
-    L = 0.12*W*scaleleftmargin +    L = 0.12*W 
-    R = 0.04*W*scalerightmargin+    R = 0.04*W
     c = TCanvas("c","c",100,100,W,H)     c = TCanvas("c","c",100,100,W,H)
     c.SetFillColor(0)     c.SetFillColor(0)
limits/brazilianplotexample.1470558501.txt.gz · Last modified: 2016/08/07 10:28 by iwn