CMS 3D CMS Logo

Classes | Functions | Variables
html Namespace Reference

Classes

class  HtmlReport
 
class  HtmlReportDummy
 
class  IndexSection
 
class  Page
 
class  PageSet
 
class  PlotPurpose
 
class  Table
 
class  TrackingIterPage
 
class  TrackingPageSet
 

Functions

def _allPtCut (s)
 
def _allToBTV (s)
 
def _allToHP (s)
 
def _allToPixel (s)
 
def _lowerFirst (s)
 
def _ptCut (s)
 
def _sectionNameLegend ()
 
def _toAlgoMask (s)
 
def _toHP (s)
 
def _toOriAlgo (s)
 
def _toPixel (s)
 

Variables

 _allmaterialsplots
 
 _allmaterialsPlotsDesc
 
 _allName
 
 _allTPEfficLegend
 
 _allTPEfficName
 
 _bhadronLegend
 
 _bhadronName
 
 _bhadronPtLegend
 
 _btvLegend
 
 _conversionName
 
 _displacedName
 
 _fromPVAllTP2Legend
 
 _fromPVAllTPLegend
 
 _fromPVAllTPName
 
 _fromPVAllTPPt2Legend
 
 _fromPVAllTPPtLegend
 
 _fromPVLegend
 
 _fromPVName
 
 _fromPVPtLegend
 
 _fromvertexplots
 
 _fromVertexPlotsDesc
 
 _geoPageNameMap
 
 _gsfName
 
 _hideShowFun
 
 _individualmaterials
 
 _individualmatplots
 
 _individualMatPlotsDesc
 
 _MatBudSections
 
 _matPageNameMap
 
 _pageNameMap
 
 _sampleFileName
 
 _sampleName
 
 _sectionNameMapOrder
 
 _summary
 
 _summobj
 
 _tpEtaGreater2p7Name
 
 _tpPtLess09Name
 
 _trackAlgoName
 
 _trackAlgoOrder
 
 _trackQualityNameOrder
 
 summhitcalib
 
 summhitvalid
 
 summlc
 
 summmcEM
 
 summmcHAD
 
 summmcTICL
 
 summstandalone
 

Function Documentation

◆ _allPtCut()

def html._allPtCut (   s)
private

Definition at line 65 of file html.py.

65 def _allPtCut(s):
66  return s.replace("All tracks", "Tracks pT > 0.9 GeV")

◆ _allToBTV()

def html._allToBTV (   s)
private

Definition at line 63 of file html.py.

63 def _allToBTV(s):
64  return s.replace("All", "BTV-like")

◆ _allToHP()

def html._allToHP (   s)
private

Definition at line 61 of file html.py.

61 def _allToHP(s):
62  return s.replace("All", "High purity")

Referenced by _sectionNameLegend().

◆ _allToPixel()

def html._allToPixel (   s)
private

Definition at line 69 of file html.py.

69 def _allToPixel(s):
70  return s.replace("All", "Pixel")

◆ _lowerFirst()

def html._lowerFirst (   s)
private

Definition at line 4 of file html.py.

4 def _lowerFirst(s):
5  return s[0].lower()+s[1:]
6 

Referenced by _toHP().

◆ _ptCut()

def html._ptCut (   s)
private

Definition at line 67 of file html.py.

67 def _ptCut(s):
68  return s.replace("Tracks", "Tracks pT > 0.9 GeV").replace("tracks", "tracks pT > 0.9 GeV")

References python.rootplot.root2matplotlib.replace().

◆ _sectionNameLegend()

def html._sectionNameLegend ( )
private

Definition at line 261 of file html.py.

261 def _sectionNameLegend():
262  return {
263  "btvLike": _btvLegend,
264  "ak4PFJets": "Tracks from AK4 PF jets (jet corrected pT > 10 GeV)",
265  "allTPEffic": _allTPEfficLegend,
266  "allTPEffic_": _allTPEfficLegend,
267  "allTPEffic_highPurity": _allToHP(_allTPEfficLegend),
268  "fromPV": _fromPVLegend,
269  "fromPV_": _fromPVLegend,
270  "fromPV_highPurity": _toHP(_fromPVLegend),
271  "fromPV_Pt09": _fromPVPtLegend,
272  "fromPV_highPurity_Pt09": _toHP(_fromPVPtLegend),
273  "fromPVAllTP": _fromPVAllTPLegend,
274  "fromPVAllTP_": _fromPVAllTPLegend,
275  "fromPVAllTP_highPurity": _toHP(_fromPVAllTPLegend),
276  "fromPVAllTP_Pt09": _fromPVAllTPPtLegend,
277  "fromPVAllTP_highPurityPt09": _toHP(_fromPVAllTPPtLegend),
278  "fromPVAllTP2_": _fromPVAllTP2Legend,
279  "fromPVAllTP2_highPurity": _toHP(_fromPVAllTP2Legend),
280  "fromPVAllTP2_Pt09": _fromPVAllTPPt2Legend,
281  "fromPVAllTP2_highPurityPt09": _toHP(_fromPVAllTPPt2Legend),
282  "bhadron_": _bhadronLegend,
283  "bhadron_highPurity": _allToHP(_bhadronLegend),
284  "bhadron_btvLike": _bhadronLegend.replace("All tracks", _btvLegend),
285  "pixelFromPV_": _fromPVLegend,
286  "pixelFromPV_Pt09": _fromPVPtLegend,
287  "pixelFromPVAllTP_": _fromPVAllTPLegend,
288  "pixelFromPVAllTP_Pt09": _fromPVAllTPPtLegend,
289  "pixelbhadron_": _bhadronLegend,
290  "pixelbhadron_Pt09": _bhadronPtLegend,
291  }
292 

References _allToHP(), and _toHP().

Referenced by html.Page._appendLegend().

◆ _toAlgoMask()

def html._toAlgoMask (   s)
private

Definition at line 59 of file html.py.

59 def _toAlgoMask(s):
60  return s.replace("tracks", "tracks by algoMask")

◆ _toHP()

def html._toHP (   s)
private

Definition at line 55 of file html.py.

55 def _toHP(s):
56  return "High purity "+_lowerFirst(s)

References _lowerFirst().

Referenced by _sectionNameLegend().

◆ _toOriAlgo()

def html._toOriAlgo (   s)
private

Definition at line 57 of file html.py.

57 def _toOriAlgo(s):
58  return s.replace("tracks", "tracks by originalAlgo")

◆ _toPixel()

def html._toPixel (   s)
private

Definition at line 71 of file html.py.

71 def _toPixel(s):
72  return s.replace("Tracks", "Pixel tracks")

Variable Documentation

◆ _allmaterialsplots

html._allmaterialsplots
private

Definition at line 228 of file html.py.

◆ _allmaterialsPlotsDesc

html._allmaterialsPlotsDesc
private

Definition at line 241 of file html.py.

◆ _allName

html._allName
private

Definition at line 45 of file html.py.

◆ _allTPEfficLegend

html._allTPEfficLegend
private

Definition at line 251 of file html.py.

◆ _allTPEfficName

html._allTPEfficName
private

Definition at line 46 of file html.py.

◆ _bhadronLegend

html._bhadronLegend
private

Definition at line 258 of file html.py.

◆ _bhadronName

html._bhadronName
private

Definition at line 53 of file html.py.

◆ _bhadronPtLegend

html._bhadronPtLegend
private

Definition at line 259 of file html.py.

◆ _btvLegend

html._btvLegend
private

Definition at line 250 of file html.py.

◆ _conversionName

html._conversionName
private

Definition at line 51 of file html.py.

◆ _displacedName

html._displacedName
private

Definition at line 54 of file html.py.

◆ _fromPVAllTP2Legend

html._fromPVAllTP2Legend
private

Definition at line 256 of file html.py.

◆ _fromPVAllTPLegend

html._fromPVAllTPLegend
private

Definition at line 254 of file html.py.

◆ _fromPVAllTPName

html._fromPVAllTPName
private

Definition at line 48 of file html.py.

◆ _fromPVAllTPPt2Legend

html._fromPVAllTPPt2Legend
private

Definition at line 257 of file html.py.

◆ _fromPVAllTPPtLegend

html._fromPVAllTPPtLegend
private

Definition at line 255 of file html.py.

◆ _fromPVLegend

html._fromPVLegend
private

Definition at line 252 of file html.py.

◆ _fromPVName

html._fromPVName
private

Definition at line 47 of file html.py.

◆ _fromPVPtLegend

html._fromPVPtLegend
private

Definition at line 253 of file html.py.

◆ _fromvertexplots

html._fromvertexplots
private

Definition at line 230 of file html.py.

◆ _fromVertexPlotsDesc

html._fromVertexPlotsDesc
private

Definition at line 273 of file html.py.

◆ _geoPageNameMap

html._geoPageNameMap
private

Definition at line 200 of file html.py.

◆ _gsfName

html._gsfName
private

Definition at line 52 of file html.py.

◆ _hideShowFun

html._hideShowFun
private

Definition at line 286 of file html.py.

◆ _individualmaterials

html._individualmaterials
private

Definition at line 208 of file html.py.

◆ _individualmatplots

html._individualmatplots
private

Definition at line 226 of file html.py.

◆ _individualMatPlotsDesc

html._individualMatPlotsDesc
private

Definition at line 232 of file html.py.

◆ _MatBudSections

html._MatBudSections
private

Definition at line 198 of file html.py.

◆ _matPageNameMap

html._matPageNameMap
private

Definition at line 210 of file html.py.

◆ _pageNameMap

html._pageNameMap
private

Definition at line 96 of file html.py.

◆ _sampleFileName

html._sampleFileName
private

Definition at line 53 of file html.py.

◆ _sampleName

html._sampleName
private

Definition at line 4 of file html.py.

◆ _sectionNameMapOrder

html._sectionNameMapOrder
private

Definition at line 108 of file html.py.

◆ _summary

html._summary
private

Definition at line 123 of file html.py.

◆ _summobj

html._summobj
private

Definition at line 127 of file html.py.

◆ _tpEtaGreater2p7Name

html._tpEtaGreater2p7Name
private

Definition at line 50 of file html.py.

◆ _tpPtLess09Name

html._tpPtLess09Name
private

Definition at line 49 of file html.py.

◆ _trackAlgoName

html._trackAlgoName
private

Definition at line 139 of file html.py.

◆ _trackAlgoOrder

html._trackAlgoOrder
private

Definition at line 154 of file html.py.

◆ _trackQualityNameOrder

html._trackQualityNameOrder
private

Definition at line 73 of file html.py.

◆ summhitcalib

html.summhitcalib

Definition at line 131 of file html.py.

◆ summhitvalid

html.summhitvalid

Definition at line 140 of file html.py.

◆ summlc

html.summlc

Definition at line 146 of file html.py.

◆ summmcEM

html.summmcEM

Definition at line 164 of file html.py.

◆ summmcHAD

html.summmcHAD

Definition at line 172 of file html.py.

◆ summmcTICL

html.summmcTICL

Definition at line 179 of file html.py.

◆ summstandalone

html.summstandalone

Definition at line 182 of file html.py.

html._toOriAlgo
def _toOriAlgo(s)
Definition: html.py:57
html._allToBTV
def _allToBTV(s)
Definition: html.py:63
html._lowerFirst
def _lowerFirst(s)
Definition: html.py:4
html._sectionNameLegend
def _sectionNameLegend()
Definition: html.py:261
html._toAlgoMask
def _toAlgoMask(s)
Definition: html.py:59
html._ptCut
def _ptCut(s)
Definition: html.py:67
html._toHP
def _toHP(s)
Definition: html.py:55
html._allToHP
def _allToHP(s)
Definition: html.py:61
html._allToPixel
def _allToPixel(s)
Definition: html.py:69
html._toPixel
def _toPixel(s)
Definition: html.py:71
html._allPtCut
def _allPtCut(s)
Definition: html.py:65
python.rootplot.root2matplotlib.replace
def replace(string, replacements)
Definition: root2matplotlib.py:444