test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 _lowerFirst
 
def _sectionNameLegend
 

Variables

string _allTPEfficLegend = "All tracks, efficiency denominator contains all TrackingParticles"
 
string _allTPEfficName = "All tracks (all TPs)"
 
string _conversionName = "Tracks for conversions"
 
string _fromPVAllTP2Legend = "Tracks from reco PV (another method), fake rate numerator contains all TrackingParticles (separates fake tracks from pileup tracks)"
 
string _fromPVAllTPLegend = "Tracks from reco PV, fake rate numerator contains all TrackingParticles (separates fake tracks from pileup tracks)"
 
string _fromPVAllTPName = "Tracks from PV (all TPs)"
 
string _fromPVAllTPPt2Legend = "Tracks (pT &gt 0.9 GeV) from reco PV (another method), fake rate numerator contains all TrackingParticles (separates fake tracks from pileup tracks)"
 
string _fromPVAllTPPtLegend = "Tracks (pT &gt 0.9 GeV) from reco PV, fake rate numerator contains all TrackingParticles (separates fake tracks from pileup tracks)"
 
string _fromPVLegend = "Tracks from reco PV vs. TrackingParticles from gen PV (fake rate includes pileup tracks)"
 
string _fromPVName = "Tracks from PV"
 
dictionary _pageNameMap
 
dictionary _sampleFileName
 
dictionary _sampleName
 
tuple _sectionNameMapOrder
 
dictionary _trackAlgoName
 
list _trackAlgoOrder
 
tuple _trackQualityNameOrder
 

Function Documentation

def html._lowerFirst (   s)
private

Definition at line 4 of file html.py.

Referenced by _sectionNameLegend().

4 
5 def _lowerFirst(s):
6  return s[0].lower()+s[1:]
def _lowerFirst
Definition: html.py:4
def html._sectionNameLegend ( )
private

Definition at line 153 of file html.py.

References _lowerFirst().

Referenced by html.Page._appendLegend().

154 def _sectionNameLegend():
155  return {
156  "btvLike": "BTV-like selected tracks",
157  "ak4PFJets": "Tracks from AK4 PF jets (jet corrected pT > 10 GeV)",
158  "allTPEffic": _allTPEfficLegend,
159  "allTPEffic_": _allTPEfficLegend,
160  "allTPEffic_highPurity": _allTPEfficLegend.replace("All", "High purity"),
161  "fromPV": _fromPVLegend,
162  "fromPV_": _fromPVLegend,
163  "fromPV_highPurity": "High purity "+_lowerFirst(_fromPVLegend),
164  "fromPVAllTP": _fromPVAllTPLegend,
165  "fromPVAllTP_": _fromPVAllTPLegend,
166  "fromPVAllTP_highPurity": "High purity "+_lowerFirst(_fromPVAllTPLegend),
167  "fromPVAllTP_Pt": _fromPVAllTPPtLegend,
168  "fromPVAllTP_highPurityPt": "High purity "+_lowerFirst(_fromPVAllTPPtLegend),
169  "fromPVAllTP2_": _fromPVAllTP2Legend,
170  "fromPVAllTP2_highPurity": "High purity "+_lowerFirst(_fromPVAllTP2Legend),
171  "fromPVAllTP2_Pt": _fromPVAllTPPt2Legend,
172  "fromPVAllTP2_highPurityPt": "High purity "+_lowerFirst(_fromPVAllTPPt2Legend),
173  }
def _sectionNameLegend
Definition: html.py:153
def _lowerFirst
Definition: html.py:4

Variable Documentation

string html._allTPEfficLegend = "All tracks, efficiency denominator contains all TrackingParticles"

Definition at line 146 of file html.py.

string html._allTPEfficName = "All tracks (all TPs)"

Definition at line 35 of file html.py.

string html._conversionName = "Tracks for conversions"

Definition at line 38 of file html.py.

string html._fromPVAllTP2Legend = "Tracks from reco PV (another method), fake rate numerator contains all TrackingParticles (separates fake tracks from pileup tracks)"

Definition at line 150 of file html.py.

string html._fromPVAllTPLegend = "Tracks from reco PV, fake rate numerator contains all TrackingParticles (separates fake tracks from pileup tracks)"

Definition at line 148 of file html.py.

string html._fromPVAllTPName = "Tracks from PV (all TPs)"

Definition at line 37 of file html.py.

string html._fromPVAllTPPt2Legend = "Tracks (pT &gt 0.9 GeV) from reco PV (another method), fake rate numerator contains all TrackingParticles (separates fake tracks from pileup tracks)"

Definition at line 151 of file html.py.

string html._fromPVAllTPPtLegend = "Tracks (pT &gt 0.9 GeV) from reco PV, fake rate numerator contains all TrackingParticles (separates fake tracks from pileup tracks)"

Definition at line 149 of file html.py.

string html._fromPVLegend = "Tracks from reco PV vs. TrackingParticles from gen PV (fake rate includes pileup tracks)"

Definition at line 147 of file html.py.

string html._fromPVName = "Tracks from PV"

Definition at line 36 of file html.py.

dictionary html._pageNameMap
Initial value:
1 = {
2  "summary": "Summary",
3  "vertex": "Vertex",
4  "v0": "V0",
5  "miniaod": "MiniAOD",
6  "timing": "Timing",
7 }

Definition at line 118 of file html.py.

dictionary html._sampleFileName
Initial value:
1 = {
2  "RelValMinBias": "minbias",
3  "RelValTTbar": "ttbar",
4  "RelValQCD_Pt600_800": "qcd600",
5  "RelValQCD_Pt3000_3500": "qcd3000",
6  "RelValQCD_FlatPt_15_3000": "qcdflat",
7  "RelValZMM": "zmm",
8  "RelValWjet_Pt_3000_3500": "wjet3000",
9  "RelValSingleElectronPt35": "ele35",
10  "RelValSingleElectronPt10": "ele10",
11  "RelValSingleMuPt10": "mu10",
12  "RelValSingleMuPt100": "mu100",
13 }

Definition at line 21 of file html.py.

dictionary html._sampleName
Initial value:
1 = {
2  "RelValMinBias": "Min Bias",
3  "RelValTTbar": "TTbar",
4  "RelValQCD_Pt_600_800": "QCD Pt 600 to 800",
5  "RelValQCD_Pt_3000_3500": "QCD Pt 3000 to 3500",
6  "RelValQCD_FlatPt_15_3000": "QCD Flat Pt 15 to 3000",
7  "RelValZMM": "ZMuMu",
8  "RelValWjet_Pt_3000_3500": "Wjet Pt 3000 to 3500",
9  "RelValSingleElectronPt35": "Single Electron Pt 35",
10  "RelValSingleElectronPt10": "Single Electron Pt 10",
11  "RelValSingleMuPt10": "Single Muon Pt 10",
12  "RelValSingleMuPt100": "Single Muon Pt 100",
13 }

Definition at line 7 of file html.py.

tuple html._sectionNameMapOrder
Initial value:
1 = collections.OrderedDict([
2  # These are for the summary page
3  ("seeding_seeds", "Seeds"),
4  ("building", "Built tracks"),
5  ("", "All tracks"),
6  ("highPurity", "High purity tracks"),
7  ("allTPEffic", _allTPEfficName),
8  ("allTPEffic_highPurity", _allTPEfficName.replace("All", "High purity")),
9  ("fromPV", _fromPVName),
10  ("fromPV_highPurity", "High purity "+_lowerFirst(_fromPVName)),
11  ("fromPVAllTP", _fromPVAllTPName),
12  ("fromPVAllTP_highPurity", "High purity "+_lowerFirst(_fromPVAllTPName)),
13  ("conversion", _conversionName),
14  # These are for vertices
15  ("offlinePrimaryVertices", "All vertices (offlinePrimaryVertices)"),
16  ("selectedOfflinePrimaryVertices", "Selected vertices (selectedOfflinePrimaryVertices)"),
17  # These are for V0
18  ("k0", "K0"),
19  ("lambda", "Lambda"),
20 ])
def _lowerFirst
Definition: html.py:4

Definition at line 126 of file html.py.

dictionary html._trackAlgoName
Initial value:
1 = {
2  "ootb": "Out of the box",
3  "iter0" : "Iterative Step 0",
4  "iter1" : "Iterative Step 1",
5  "iter2" : "Iterative Step 2",
6  "iter3" : "Iterative Step 3",
7  "iter4" : "Iterative Step 4",
8  "iter5" : "Iterative Step 5",
9  "iter6" : "Iterative Step 6",
10  "iter7" : "Iterative Step 7",
11  "iter9" : "Iterative Step 9",
12  "iter10": "Iterative Step 10",
13 }

Definition at line 71 of file html.py.

list html._trackAlgoOrder

Definition at line 85 of file html.py.

tuple html._trackQualityNameOrder

Definition at line 39 of file html.py.