This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| plots:cms_lumi [2016/09/24 01:19] – iwn | plots:cms_lumi [2021/09/10 15:01] (current) – iwn | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | See [[https:// | + | Please see '' |
| + | |||
| + | See [[https:// | ||
| Line 18: | Line 20: | ||
| extraTextFont = 52 | extraTextFont = 52 | ||
| - | lumiTextSize | + | lumiTextSize |
| lumiTextOffset | lumiTextOffset | ||
| - | cmsTextSize | + | cmsTextSize |
| cmsTextOffset | cmsTextOffset | ||
| Line 30: | Line 32: | ||
| extraOverCmsTextSize | extraOverCmsTextSize | ||
| - | lumi_13TeV = "40.2 fb^{-1}" | + | lumi_14TeV = "3000 fb^{-1}" |
| + | lumi_13TeV = "35.9 fb^{-1}" | ||
| lumi_8TeV | lumi_8TeV | ||
| lumi_7TeV | lumi_7TeV | ||
| Line 36: | Line 39: | ||
| drawLogo | drawLogo | ||
| + | outOfFrame | ||
| def CMS_lumi(pad, | def CMS_lumi(pad, | ||
| - | outOfFrame | + | |
| if(iPosX/ | if(iPosX/ | ||
| Line 90: | Line 94: | ||
| elif ( iPeriod==12 ): | elif ( iPeriod==12 ): | ||
| lumiText += "8 TeV" | lumiText += "8 TeV" | ||
| + | elif ( iPeriod==13 ): | ||
| + | if( outOfFrame ):lumiText += "# | ||
| + | lumiText += lumi_13TeV | ||
| + | lumiText += " (13 TeV)" | ||
| + | if( outOfFrame): | ||
| + | elif ( iPeriod==14 ): | ||
| + | if( outOfFrame ):lumiText += "# | ||
| + | lumiText += lumi_14TeV | ||
| + | lumiText += " (14 TeV, 200 PU)" | ||
| + | if( outOfFrame): | ||
| elif ( iPeriod==0 ): | elif ( iPeriod==0 ): | ||
| lumiText += lumi_sqrtS | lumiText += lumi_sqrtS | ||
| Line 118: | Line 132: | ||
| posX_ = 0 | posX_ = 0 | ||
| if( iPosX%10< | if( iPosX%10< | ||
| - | posX_ = l + relPosX*(1-l-r) | + | posX_ = l + relPosX*(1-l-r) |
| elif( iPosX%10==2 ): | elif( iPosX%10==2 ): | ||
| - | posX_ = l + 0.5*(1-l-r) | + | posX_ = l + 0.5*(1-l-r) |
| elif( iPosX%10==3 ): | elif( iPosX%10==3 ): | ||
| - | posX_ = 1-r - relPosX*(1-l-r) | + | posX_ = 1-r - relPosX*(1-l-r) |
| posY_ = 1-t - relPosY*(1-t-b) | posY_ = 1-t - relPosY*(1-t-b) | ||