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 66 of file html.py.

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

◆ _allToBTV()

def html._allToBTV (   s)
private

Definition at line 64 of file html.py.

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

◆ _allToHP()

def html._allToHP (   s)
private

Definition at line 62 of file html.py.

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

Referenced by _sectionNameLegend().

◆ _allToPixel()

def html._allToPixel (   s)
private

Definition at line 70 of file html.py.

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

◆ _lowerFirst()

def html._lowerFirst (   s)
private

Definition at line 5 of file html.py.

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

Referenced by _toHP().

◆ _ptCut()

def html._ptCut (   s)
private

Definition at line 68 of file html.py.

68 def _ptCut(s):
69  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 262 of file html.py.

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

References _allToHP(), and _toHP().

Referenced by html.Page._appendLegend().

◆ _toAlgoMask()

def html._toAlgoMask (   s)
private

Definition at line 60 of file html.py.

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

◆ _toHP()

def html._toHP (   s)
private

Definition at line 56 of file html.py.

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

References _lowerFirst().

Referenced by _sectionNameLegend().

◆ _toOriAlgo()

def html._toOriAlgo (   s)
private

Definition at line 58 of file html.py.

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

◆ _toPixel()

def html._toPixel (   s)
private

Definition at line 72 of file html.py.

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

Variable Documentation

◆ _allmaterialsplots

html._allmaterialsplots
private

Definition at line 229 of file html.py.

◆ _allmaterialsPlotsDesc

html._allmaterialsPlotsDesc
private

Definition at line 242 of file html.py.

◆ _allName

html._allName
private

Definition at line 46 of file html.py.

◆ _allTPEfficLegend

html._allTPEfficLegend
private

Definition at line 252 of file html.py.

◆ _allTPEfficName

html._allTPEfficName
private

Definition at line 47 of file html.py.

◆ _bhadronLegend

html._bhadronLegend
private

Definition at line 259 of file html.py.

◆ _bhadronName

html._bhadronName
private

Definition at line 54 of file html.py.

◆ _bhadronPtLegend

html._bhadronPtLegend
private

Definition at line 260 of file html.py.

◆ _btvLegend

html._btvLegend
private

Definition at line 251 of file html.py.

◆ _conversionName

html._conversionName
private

Definition at line 52 of file html.py.

◆ _displacedName

html._displacedName
private

Definition at line 55 of file html.py.

◆ _fromPVAllTP2Legend

html._fromPVAllTP2Legend
private

Definition at line 257 of file html.py.

◆ _fromPVAllTPLegend

html._fromPVAllTPLegend
private

Definition at line 255 of file html.py.

◆ _fromPVAllTPName

html._fromPVAllTPName
private

Definition at line 49 of file html.py.

◆ _fromPVAllTPPt2Legend

html._fromPVAllTPPt2Legend
private

Definition at line 258 of file html.py.

◆ _fromPVAllTPPtLegend

html._fromPVAllTPPtLegend
private

Definition at line 256 of file html.py.

◆ _fromPVLegend

html._fromPVLegend
private

Definition at line 253 of file html.py.

◆ _fromPVName

html._fromPVName
private

Definition at line 48 of file html.py.

◆ _fromPVPtLegend

html._fromPVPtLegend
private

Definition at line 254 of file html.py.

◆ _fromvertexplots

html._fromvertexplots
private

Definition at line 231 of file html.py.

◆ _fromVertexPlotsDesc

html._fromVertexPlotsDesc
private

Definition at line 274 of file html.py.

◆ _geoPageNameMap

html._geoPageNameMap
private

Definition at line 201 of file html.py.

◆ _gsfName

html._gsfName
private

Definition at line 53 of file html.py.

◆ _hideShowFun

html._hideShowFun
private

Definition at line 287 of file html.py.

◆ _individualmaterials

html._individualmaterials
private

Definition at line 209 of file html.py.

◆ _individualmatplots

html._individualmatplots
private

Definition at line 227 of file html.py.

◆ _individualMatPlotsDesc

html._individualMatPlotsDesc
private

Definition at line 233 of file html.py.

◆ _MatBudSections

html._MatBudSections
private

Definition at line 199 of file html.py.

◆ _matPageNameMap

html._matPageNameMap
private

Definition at line 211 of file html.py.

◆ _pageNameMap

html._pageNameMap
private

Definition at line 97 of file html.py.

◆ _sampleFileName

html._sampleFileName
private

Definition at line 54 of file html.py.

◆ _sampleName

html._sampleName
private

Definition at line 5 of file html.py.

◆ _sectionNameMapOrder

html._sectionNameMapOrder
private

Definition at line 109 of file html.py.

◆ _summary

html._summary
private

Definition at line 124 of file html.py.

◆ _summobj

html._summobj
private

Definition at line 128 of file html.py.

◆ _tpEtaGreater2p7Name

html._tpEtaGreater2p7Name
private

Definition at line 51 of file html.py.

◆ _tpPtLess09Name

html._tpPtLess09Name
private

Definition at line 50 of file html.py.

◆ _trackAlgoName

html._trackAlgoName
private

Definition at line 140 of file html.py.

◆ _trackAlgoOrder

html._trackAlgoOrder
private

Definition at line 155 of file html.py.

◆ _trackQualityNameOrder

html._trackQualityNameOrder
private

Definition at line 74 of file html.py.

◆ summhitcalib

html.summhitcalib

Definition at line 132 of file html.py.

◆ summhitvalid

html.summhitvalid

Definition at line 141 of file html.py.

◆ summlc

html.summlc

Definition at line 147 of file html.py.

◆ summmcEM

html.summmcEM

Definition at line 165 of file html.py.

◆ summmcHAD

html.summmcHAD

Definition at line 173 of file html.py.

◆ summmcTICL

html.summmcTICL

Definition at line 180 of file html.py.

◆ summstandalone

html.summstandalone

Definition at line 183 of file html.py.

html._toOriAlgo
def _toOriAlgo(s)
Definition: html.py:58
html._allToBTV
def _allToBTV(s)
Definition: html.py:64
html._lowerFirst
def _lowerFirst(s)
Definition: html.py:5
html._sectionNameLegend
def _sectionNameLegend()
Definition: html.py:262
html._toAlgoMask
def _toAlgoMask(s)
Definition: html.py:60
html._ptCut
def _ptCut(s)
Definition: html.py:68
html._toHP
def _toHP(s)
Definition: html.py:56
html._allToHP
def _allToHP(s)
Definition: html.py:62
html._allToPixel
def _allToPixel(s)
Definition: html.py:70
html._toPixel
def _toPixel(s)
Definition: html.py:72
html._allPtCut
def _allPtCut(s)
Definition: html.py:66
python.rootplot.root2matplotlib.replace
def replace(string, replacements)
Definition: root2matplotlib.py:444