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  TrackingIterPage
 
class  TrackingPageSet
 

Functions

def _lowerFirst
 

Variables

string _allTPEfficLegend = "All tracks, efficiency denominator contains all TrackingParticles"
 
string _allTPEfficName = "All tracks (all TPs)"
 
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 _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
 
dictionary _sectionNameLegend
 
tuple _sectionNameMapOrder
 
dictionary _trackAlgoName
 
list _trackAlgoOrder
 
tuple _trackQualityNameOrder
 

Function Documentation

def html._lowerFirst (   s)
private

Definition at line 4 of file html.py.

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

Variable Documentation

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

Definition at line 89 of file html.py.

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

Definition at line 35 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 91 of file html.py.

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

Definition at line 37 of file html.py.

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

Definition at line 90 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  "miniaod": "MiniAOD"
5 }

Definition at line 69 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.

dictionary html._sectionNameLegend
Initial value:
1 = {
2  "btvLike": "BTV-like selected tracks",
3  "ak4PFJets": "Tracks from AK4 PF jets (jet corrected pT > 10 GeV)",
4  "allTPEffic": _allTPEfficLegend,
5  "allTPEffic_": _allTPEfficLegend,
6  "allTPEffic_highPurity": _allTPEfficLegend.replace("All", "High purity"),
7  "fromPV": _fromPVLegend,
8  "fromPV_": _fromPVLegend,
9  "fromPV_highPurity": "High purity "+_lowerFirst(_fromPVLegend),
10  "fromPVAllTP": _fromPVAllTPLegend,
11  "fromPVAllTP_": _fromPVAllTPLegend,
12  "fromPVAllTP_highPurity": "High purity "+_lowerFirst(_fromPVAllTPLegend),
13 }
def _lowerFirst
Definition: html.py:4

Definition at line 92 of file html.py.

tuple html._sectionNameMapOrder
Initial value:
1 = collections.OrderedDict([
2  # These are for the summary page
3  ("", "All tracks"),
4  ("highPurity", "High purity tracks"),
5  ("allTPEffic", _allTPEfficName),
6  ("allTPEffic_highPurity", _allTPEfficName.replace("All", "High purity")),
7  ("fromPV", _fromPVName),
8  ("fromPV_highPurity", "High purity "+_lowerFirst(_fromPVName)),
9  ("fromPVAllTP", _fromPVAllTPName),
10  ("fromPVAllTP_highPurity", "High purity "+_lowerFirst(_fromPVAllTPName)),
11  # These are for vertices
12  ("offlinePrimaryVertices", "All vertices (offlinePrimaryVertices)"),
13  ("selectedOfflinePrimaryVertices", "Selected vertices (selectedOfflinePrimaryVertices)"),
14 ])
def _lowerFirst
Definition: html.py:4

Definition at line 75 of file html.py.

dictionary html._trackAlgoName
Initial value:
1 = {
2  "ootb": "Out of the box"
3 }

Definition at line 51 of file html.py.

list html._trackAlgoOrder
Initial value:
1 = [
2  'ootb',
3  'initialStep',
4  'lowPtTripletStep',
5  'pixelPairStep',
6  'detachedTripletStep',
7  'mixedTripletStep',
8  'pixelLessStep',
9  'tobTecStep',
10  'jetCoreRegionalStep',
11  'muonSeededStepInOut',
12  'muonSeededStepOutIn',
13 ]

Definition at line 55 of file html.py.

tuple html._trackQualityNameOrder
Initial value:
1 = collections.OrderedDict([
2  ("", "All tracks"),
3  ("highPurity", "High purity tracks"),
4  ("btvLike", "BTV-like"),
5  ("ak4PFJets", "AK4 PF jets"),
6  ("allTPEffic_", _allTPEfficName),
7  ("allTPEffic_highPurity", _allTPEfficName.replace("All", "High purity")),
8  ("fromPV_", _fromPVName),
9  ("fromPV_highPurity", "High purity "+_lowerFirst(_fromPVName)),
10  ("fromPVAllTP_", _fromPVAllTPName),
11  ("fromPVAllTP_highPurity", "High purity "+_lowerFirst(_fromPVAllTPName)),
12 ])
def _lowerFirst
Definition: html.py:4

Definition at line 38 of file html.py.