CMS 3D CMS Logo

Classes | Functions | Variables
trackingPlots Namespace Reference

Classes

class  Iteration
 
class  TimePerEventPlot
 
class  TimePerTrackPlot
 
class  TrackingIterationOrder
 
class  TrackingPlotFolder
 
class  TrackingSeedingLayerTable
 
class  TrackingSummaryTable
 
class  TrackingTimingTable
 

Functions

def _appendTrackingPlots (lastDirName, name, algoPlots, onlyForPileup=False, onlyForElectron=False, onlyForConversion=False, onlyForBHadron=False, seeding=False, building=False, rawSummary=False, highPuritySummary=True)
 
def _collhelper (name)
 
def _constructSummary (mapping=None, highPurity=False, byOriginalAlgo=False, byAlgoMask=False, ptCut=False, seeds=False, midfix="")
 
def _iterModuleMap (includeConvStep=True, onlyConvStep=False)
 
def _makeDistPlots (postfix, quantity, common={})
 
def _makeDistSimPlots (postfix, quantity, common={})
 
def _makeEffFakeDupPlots (postfix, quantity, unit="", common={}, effopts={}, fakeopts={})
 
def _makeFakeDist (postfix)
 
def _makeFakeDupPileupPlots (postfix, quantity, unit="", xquantity="", xtitle=None, common={})
 
def _makeMVAPlots (num, hp=False)
 
def _mapCollectionToAlgoQuality (collName)
 
def _minMaxResidual (ma)
 
def _stepModuleMap ()
 
def _summaryBinRename (binLabel, highPurity, byOriginalAlgo, byAlgoMask, ptCut, seeds)
 
def _trackingFolders (lastDirName="Track")
 
def _trackingRefFileFallbackSLHC_Phase1PU140 (path)
 
def _trackingSubFoldersFallbackConversion (subfolder)
 
def _trackingSubFoldersFallbackFromPV (subfolder)
 
def _trackingSubFoldersFallbackPreSplitting (subfolder)
 
def _trackingSubFoldersFallbackSLHC_Phase1PU140 (subfolder)
 

Variables

 _additionalTrackQualities
 
 _algos_common
 
 _buildingExtendedPlots
 
 _chargemisid
 
 _collLabelMap
 
 _collLabelMapHp
 
 _common
 PackedCandidate plots. More...
 
 _common2
 
 _commonLabelSize
 
 _commonStatus
 
 _dedx
 
 _dupandfakeChi2Seeding
 
 _dupandfakeDeltaRPU
 
 _dupandfakeDxyDzBS
 
 _dupandfakeDxyDzPV
 
 _dupandfakeHitsLayers
 
 _dupandfakePos
 
 _dupandfakePtEtaPhi
 
 _dupandfakeSeedingPlots
 
 _dupandfakeSeedingTable
 
 _duplicateAlgo
 
 _effandfakeDeltaRPU
 
 _effandfakeDxyDzBS
 
 _effandfakeDxyDzPV
 
 _effandfakeHitsLayers
 
 _effandfakePos
 
 _effandfakePtEtaPhi
 
 _extDistChi2Seeding
 
 _extDistDeltaR
 
 _extDistDxyDzBS
 
 _extDistDxyDzPV
 
 _extDistHitsLayers
 
 _extDistPos
 
 _extDistPtEtaPhi
 Extended set of plots. More...
 
 _extDistSeedingPlots
 
 _extDistSeedingTable
 
 _extDistSimDeltaR
 
 _extDistSimDxyDzBS
 
 _extDistSimDxyDzPV
 
 _extDistSimHitsLayers
 
 _extDistSimPos
 
 _extDistSimPtEtaPhi
 Extended set of plots also for simulation. More...
 
 _extendedPlots
 
 _extHitsLayers
 
 _extNrecVsNsim
 
 _extResidualEta
 
 _extResidualPt
 
 _hitsAndPt
 
 _hltFolder
 
 _iteration_reorder
 
 _iterations
 
 _legendDy_1row
 
 _legendDy_2rows
 
 _legendDy_2rows_3cols
 
 _legendDy_4rows
 
 _max3DLayers
 
 _maxEff
 Per track collection plots. More...
 
 _maxFake
 
 _maxHits
 
 _maxLayers
 
 _maxPixelLayers
 
 _maxPU
 
 _maxZ
 
 _min3DLayers
 
 _minHits
 
 _minLayers
 
 _minMaxMVA
 
 _minMaxN
 
 _minMaxResol
 
 _minMaxTracks
 
 _minPU
 
 _minResidualCotTheta
 
 _minResidualDxy
 
 _minResidualDz
 
 _minResidualPhi
 
 _minResidualPt
 
 _minZ
 
 _packedCandidateCovarianceMatrix1
 
 _packedCandidateCovarianceMatrix2
 
 _packedCandidateFlow
 
 _packedCandidateHits
 
 _packedCandidateHitsHitPattern
 
 _packedCandidateImpactParameter1
 
 _packedCandidateImpactParameter2
 
 _packedCandidateKinematics
 
 _packedCandidateLayers
 
 _packedCandidatePlots
 
 _packedCandidateVertex
 
 _possibleTrackingColls
 
 _possibleTrackingCollsOld
 
 _possibleTrackingNonIterationColls
 Summary plots. More...
 
 _pulls
 
 _pvassociation1
 
 _pvassociation2
 
 _pvassociation3
 
 _recoBasedPlots
 
 _resolutionsEta
 
 _resolutionsPt
 
 _seedingBuildingPlots
 
 _seedingLayerSet_common
 
 _simBasedPlots
 
 _summaryPlots
 
 _summaryPlotsHp
 
 _summaryPlotsSeeds
 
 _summaryRaw
 
 _summaryRawN
 
 _time_per_event_cpu
 
 _time_per_event_real
 
 _time_per_iter_cpu
 
 _time_per_iter_real
 
 _timeFolders
 
 _timing_iterationsCPU
 
 _timing_iterationsReal
 
 _timing_summaryCPU
 
 _timing_summaryReal
 
 _tplifetime
 
 _trackingIterationOrderHistogram
 
 _tuning
 
 adjustMarginLeft
 
 adjustMarginRight
 
 assoc
 
 building
 
 clusterMasking
 
 collection
 
 common
 
 drawStyle
 
 dup
 
 effopts
 
 fakeopts
 
 fallback
 
 False
 
 fit
 
 HLT
 
 hp
 
 IgnoreCommandLineOptions
 
 ignoreMissingBins
 
 isRate
 
 legend
 
 legendDh
 
 legendDw
 
 legendDx
 
 legendDy
 
 loopSubFolders
 
 MiniAOD
 
 ncols
 
 normalizeToUnitArea
 
 onlyForPileup
 
 other
 
 page
 
 Pixel
 
 plotter
 
 plotterExt
 
 plotterHLT
 
 plotterHLTExt
 
 profileX
 
 purpose
 
 ratioUncertainty
 
 reco
 
 removeEmptyBins
 
 reorder
 
 scale
 
 section
 
 seeding
 
 selectedTracks
 
 selection
 
 stat
 
 statyadjust
 
 timePlotter
 
 Timing
 
 title
 
 tpPlotter
 
 TrackingSummary
 
 True
 
 xbinlabeloption
 
 xbinlabelsize
 
 xlog
 
 xmax
 
 xmin
 
 xquantity
 
 xtitle
 
 ylog
 
 ymax
 
 ymin
 
 ytitle
 
 zaxis
 
 ztitle
 

Function Documentation

def trackingPlots._appendTrackingPlots (   lastDirName,
  name,
  algoPlots,
  onlyForPileup = False,
  onlyForElectron = False,
  onlyForConversion = False,
  onlyForBHadron = False,
  seeding = False,
  building = False,
  rawSummary = False,
  highPuritySummary = True 
)
private

Definition at line 1304 of file trackingPlots.py.

References _trackingFolders(), and cmsPerfStripChart.dict.

1304 def _appendTrackingPlots(lastDirName, name, algoPlots, onlyForPileup=False, onlyForElectron=False, onlyForConversion=False, onlyForBHadron=False, seeding=False, building=False, rawSummary=False, highPuritySummary=True):
1305  folders = _trackingFolders(lastDirName)
1306  # to keep backward compatibility, this set of plots has empty name
1307  limiters = dict(onlyForPileup=onlyForPileup, onlyForElectron=onlyForElectron, onlyForConversion=onlyForConversion, onlyForBHadron=onlyForBHadron)
1308  commonForTPF = dict(purpose=PlotPurpose.TrackingIteration, fallbackRefFiles=[
1309  _trackingRefFileFallbackSLHC_Phase1PU140
1310  ], **limiters)
1311  common = dict(fallbackDqmSubFolders=[
1312  _trackingSubFoldersFallbackSLHC_Phase1PU140,
1313  _trackingSubFoldersFallbackFromPV, _trackingSubFoldersFallbackConversion,
1314  _trackingSubFoldersFallbackPreSplitting])
1315  plotter.append(name, folders, TrackingPlotFolder(*algoPlots, **commonForTPF), **common)
1316  extendedPlots = []
1317  if building:
1318  extendedPlots.extend(_buildingExtendedPlots)
1319  extendedPlots.extend(_extendedPlots)
1320  plotterExt.append(name, folders, TrackingPlotFolder(*extendedPlots, **commonForTPF), **common)
1321 
1322  summaryName = ""
1323  if name != "":
1324  summaryName += name+"_"
1325  summaryName += "summary"
1326  summaryPlots = []
1327  if rawSummary:
1328  summaryPlots.extend([_summaryRaw, _summaryRawN])
1329  summaryPlots.extend(_summaryPlots)
1330 
1331  common = dict(loopSubFolders=False, purpose=PlotPurpose.TrackingSummary, page="summary",
1332  #numberOfEventsHistogram=_trackingNumberOfEventsHistogram, # FIXME
1333  **limiters)
1334  plotter.append(summaryName, folders,
1335  PlotFolder(*summaryPlots, section=name, **common))
1336  if highPuritySummary:
1337  plotter.append(summaryName+"_highPurity", folders,
1338  PlotFolder(*_summaryPlotsHp, section=name+"_highPurity" if name != "" else "highPurity", **common),
1339  fallbackNames=[summaryName]) # backward compatibility for release validation, the HP plots used to be in the same directory with all-track plots
1340  if seeding:
1341  plotter.append(summaryName+"_seeds", folders,
1342  PlotFolder(*_summaryPlotsSeeds, section=name+"_seeds", **common))
1343 
1344  plotter.appendTable(summaryName, folders, TrackingSummaryTable(section=name))
1345  plotter.appendTable(summaryName, folders, TrackingSummaryTable(section=name+"Pt09", collection=TrackingSummaryTable.GeneralTracksPt09))
1346  if highPuritySummary:
1347  sectionName = name+"_highPurity" if name != "" else "highPurity"
1348  plotter.appendTable(summaryName+"_highPurity", folders, TrackingSummaryTable(section=sectionName, collection=TrackingSummaryTable.HighPurity))
1349  plotter.appendTable(summaryName+"_highPurity", folders, TrackingSummaryTable(section=sectionName+"Pt09", collection=TrackingSummaryTable.HighPurityPt09))
1350  if name == "":
1351  plotter.appendTable(summaryName, folders, TrackingSummaryTable(section="btvLike", collection=TrackingSummaryTable.BTVLike))
1352  plotter.appendTable(summaryName, folders, TrackingSummaryTable(section="ak4PFJets", collection=TrackingSummaryTable.AK4PFJets))
1353 _appendTrackingPlots("Track", "", _simBasedPlots+_recoBasedPlots)
1354 _appendTrackingPlots("TrackTPPtLess09", "tpPtLess09", _simBasedPlots)
1355 _appendTrackingPlots("TrackAllTPEffic", "allTPEffic", _simBasedPlots, onlyForPileup=True)
1356 _appendTrackingPlots("TrackFromPV", "fromPV", _simBasedPlots+_recoBasedPlots, onlyForPileup=True)
1357 _appendTrackingPlots("TrackFromPVAllTP", "fromPVAllTP", _simBasedPlots+_recoBasedPlots, onlyForPileup=True)
1358 _appendTrackingPlots("TrackFromPVAllTP2", "fromPVAllTP2", _simBasedPlots+_recoBasedPlots, onlyForPileup=True)
1359 _appendTrackingPlots("TrackSeeding", "seeding", _seedingBuildingPlots, seeding=True)
1360 _appendTrackingPlots("TrackBuilding", "building", _seedingBuildingPlots, building=True)
1361 _appendTrackingPlots("TrackConversion", "conversion", _simBasedPlots+_recoBasedPlots, onlyForConversion=True, rawSummary=True, highPuritySummary=False)
1362 _appendTrackingPlots("TrackGsf", "gsf", _simBasedPlots+_recoBasedPlots, onlyForElectron=True, rawSummary=True, highPuritySummary=False)
1363 _appendTrackingPlots("TrackBHadron", "bhadron", _simBasedPlots+_recoBasedPlots, onlyForBHadron=True)
1364 # Pixel tracks
def _appendTrackingPlots(lastDirName, name, algoPlots, onlyForPileup=False, onlyForElectron=False, onlyForConversion=False, onlyForBHadron=False, seeding=False, building=False, rawSummary=False, highPuritySummary=True)
def _trackingFolders(lastDirName="Track")
def trackingPlots._collhelper (   name)
private

Definition at line 659 of file trackingPlots.py.

659 def _collhelper(name):
660  return (name, [name])
def _collhelper(name)
def trackingPlots._constructSummary (   mapping = None,
  highPurity = False,
  byOriginalAlgo = False,
  byAlgoMask = False,
  ptCut = False,
  seeds = False,
  midfix = "" 
)
private

Definition at line 698 of file trackingPlots.py.

References _summaryBinRename(), and cmsPerfStripChart.dict.

698 def _constructSummary(mapping=None, highPurity=False, byOriginalAlgo=False, byAlgoMask=False, ptCut=False, seeds=False, midfix=""):
699  _common = {"drawStyle": "EP", "xbinlabelsize": 10, "xbinlabeloption": "d"}
700  _commonN = dict(ylog=True, ymin=_minMaxN, ymax=_minMaxN,
701  normalizeToNumberOfEvents=True,
702  )
703  _commonN.update(_common)
704  _commonAB = dict(mapping=mapping,
705  renameBin=lambda bl: _summaryBinRename(bl, highPurity, byOriginalAlgo, byAlgoMask, ptCut, seeds),
706  ignoreMissingBins=True,
707  originalOrder=True,
708  )
709  if byOriginalAlgo or byAlgoMask:
710  _commonAB["minExistingBins"] = 2
711  prefix = "summary"+midfix
712 
713  h_eff = "effic_vs_coll"
714  h_fakerate = "fakerate_vs_coll"
715  h_duplicaterate = "duplicatesRate_coll"
716  h_pileuprate = "pileuprate_coll"
717 
718  h_reco = "num_reco_coll"
719  h_true = "num_assoc(recoToSim)_coll"
720  h_fake = Subtract("num_fake_coll_orig", "num_reco_coll", "num_assoc(recoToSim)_coll")
721  h_duplicate = "num_duplicate_coll"
722  h_pileup = "num_pileup_coll"
723  if mapping is not None:
724  h_eff = AggregateBins("efficiency", h_eff, **_commonAB)
725  h_fakerate = AggregateBins("fakerate", h_fakerate, **_commonAB)
726  h_duplicaterate = AggregateBins("duplicatesRate", h_duplicaterate, **_commonAB)
727  h_pileuprate = AggregateBins("pileuprate", h_pileuprate, **_commonAB)
728 
729  h_reco = AggregateBins("num_reco_coll", h_reco, **_commonAB)
730  h_true = AggregateBins("num_true_coll", h_true, **_commonAB)
731  h_fake = AggregateBins("num_fake_coll", h_fake, **_commonAB)
732  h_duplicate = AggregateBins("num_duplicate_coll", h_duplicate, **_commonAB)
733  h_pileup = AggregateBins("num_pileup_coll", h_pileup, **_commonAB)
734 
735  summary = PlotGroup(prefix, [
736  Plot(h_eff, title="Efficiency vs collection", ytitle="Efficiency", ymin=1e-3, ymax=1, ylog=True, **_common),
737  Plot(h_fakerate, title="Fakerate vs collection", ytitle="Fake rate", ymax=_maxFake, **_common),
738  #
739  Plot(h_duplicaterate, title="Duplicates rate vs collection", ytitle="Duplicates rate", ymax=_maxFake, **_common),
740  Plot(h_pileuprate, title="Pileup rate vs collection", ytitle="Pileup rate", ymax=_maxFake, **_common),
741  ],
742  legendDy=_legendDy_2rows
743  )
744  summaryN = PlotGroup(prefix+"_ntracks", [
745  # FIXME
746  #Plot(h_reco, ytitle="Tracks/event", title="Number of tracks/event vs collection", **_commonN),
747  #Plot(h_true, ytitle="True tracks/event", title="Number of true tracks/event vs collection", **_commonN),
748  #Plot(h_fake, ytitle="Fake tracks/event", title="Number of fake tracks/event vs collection", **_commonN),
749  #Plot(h_duplicate, ytitle="Duplicate tracks/event", title="Number of duplicate tracks/event vs collection", **_commonN),
750  #Plot(h_pileup, ytitle="Pileup tracks/event", title="Number of pileup tracks/event vs collection", **_commonN),
751  Plot(h_reco, ytitle="Tracks", title="Number of tracks vs collection", **_commonN),
752  Plot(h_true, ytitle="True tracks", title="Number of true tracks vs collection", **_commonN),
753  Plot(h_fake, ytitle="Fake tracks", title="Number of fake tracks vs collection", **_commonN),
754  Plot(h_duplicate, ytitle="Duplicate tracks", title="Number of duplicate tracks vs collection", **_commonN),
755  Plot(h_pileup, ytitle="Pileup tracks", title="Number of pileup tracks vs collection", **_commonN),
756  ])
757 
758  return (summary, summaryN)
759 
760 (_summaryRaw, _summaryRawN) = _constructSummary(midfix="Raw")
761 (_summary, _summaryN) = _constructSummary(_collLabelMap)
762 (_summaryHp, _summaryNHp) = _constructSummary(_collLabelMapHp, highPurity=True)
763 (_summaryByOriginalAlgo, _summaryByOriginalAlgoN) = _constructSummary(_collLabelMapHp, byOriginalAlgo=True, midfix="ByOriginalAlgo")
764 (_summaryByOriginalAlgoHp, _summaryByOriginalAlgoNHp) = _constructSummary(_collLabelMapHp, byOriginalAlgo=True, midfix="ByOriginalAlgo", highPurity=True)
765 (_summaryByAlgoMask, _summaryByAlgoMaskN) = _constructSummary(_collLabelMapHp, byAlgoMask=True, midfix="ByAlgoMask")
766 (_summaryByAlgoMaskHp, _summaryByAlgoMaskNHp) = _constructSummary(_collLabelMapHp, byAlgoMask=True, midfix="ByAlgoMask", highPurity=True)
767 (_summaryPt09, _summaryPt09N) = _constructSummary(_collLabelMap, ptCut=True, midfix="Pt09")
768 (_summaryPt09Hp, _summaryPt09NHp) = _constructSummary(_collLabelMap, ptCut=True, midfix="Pt09", highPurity=True)
769 (_summarySeeds, _summarySeedsN) = _constructSummary(_collLabelMapHp, seeds=True)
770 
def _summaryBinRename(binLabel, highPurity, byOriginalAlgo, byAlgoMask, ptCut, seeds)
def _constructSummary(mapping=None, highPurity=False, byOriginalAlgo=False, byAlgoMask=False, ptCut=False, seeds=False, midfix="")
def trackingPlots._iterModuleMap (   includeConvStep = True,
  onlyConvStep = False 
)
private

Definition at line 1592 of file trackingPlots.py.

Referenced by trackingPlots.TrackingTimingTable._getValues().

1592 def _iterModuleMap(includeConvStep=True, onlyConvStep=False):
1593  iterations = _iterations
1594  if not includeConvStep:
1595  iterations = [i for i in iterations if i.name() != "ConvStep"]
1596  if onlyConvStep:
1597  iterations = [i for i in iterations if i.name() == "ConvStep"]
1598  return collections.OrderedDict([(i.name(), i.all()) for i in iterations])
def _iterModuleMap(includeConvStep=True, onlyConvStep=False)
def trackingPlots._makeDistPlots (   postfix,
  quantity,
  common = {} 
)
private

Definition at line 107 of file trackingPlots.py.

References _makeFakeDist(), and cmsPerfStripChart.dict.

107 def _makeDistPlots(postfix, quantity, common={}):
108  p = postfix
109  q = quantity
110 
111  args = dict(xtitle="track "+q, ylog=True, ymin=_minMaxN, ymax=_minMaxN)
112  args.update(common)
113 
114  return [
115  Plot("num_reco_"+p , ytitle="tracks", **args),
116  Plot("num_assoc(recoToSim)_"+p, ytitle="true tracks", **args),
117  Plot(_makeFakeDist(p), ytitle="fake tracks", **args),
118  Plot("num_duplicate_"+p , ytitle="duplicate tracks", **args),
119  ]
120 
def _makeFakeDist(postfix)
def _makeDistPlots(postfix, quantity, common={})
def trackingPlots._makeDistSimPlots (   postfix,
  quantity,
  common = {} 
)
private

Definition at line 121 of file trackingPlots.py.

References cmsPerfStripChart.dict.

121 def _makeDistSimPlots(postfix, quantity, common={}):
122  p = postfix
123  q = quantity
124 
125  args = dict(xtitle="TP "+q, ylog=True, ymin=_minMaxN, ymax=_minMaxN)
126  args.update(common)
127 
128  return [
129  Plot("num_simul_"+p , ytitle="TrackingParticles", **args),
130  Plot("num_assoc(simToReco)_"+p, ytitle="Reconstructed TPs", **args),
131  ]
132 
def _makeDistSimPlots(postfix, quantity, common={})
def trackingPlots._makeEffFakeDupPlots (   postfix,
  quantity,
  unit = "",
  common = {},
  effopts = {},
  fakeopts = {} 
)
private

Definition at line 67 of file trackingPlots.py.

References cmsPerfStripChart.dict.

67 def _makeEffFakeDupPlots(postfix, quantity, unit="", common={}, effopts={}, fakeopts={}):
68  p = postfix
69  q = quantity
70  xq = q
71  if unit != "":
72  xq += " (" + unit + ")"
73 
74  effargs = dict(xtitle="TP "+xq , ytitle="efficiency vs "+q , ymax=_maxEff)
75  fakeargs = dict(xtitle="track "+xq, ytitle="fake+duplicates rate vs "+q, ymax=_maxFake)
76  effargs.update(common)
77  fakeargs.update(common)
78  effargs.update(effopts)
79  fakeargs.update(fakeopts)
80 
81  return [
82  Plot("effic_vs_"+p, **effargs),
83  Plot(FakeDuplicate("fakeduprate_vs_"+p, assoc="num_assoc(recoToSim)_"+p, dup="num_duplicate_"+p, reco="num_reco_"+p, title="fake+duplicates vs "+q), **fakeargs)
84  ]
85 
def _makeEffFakeDupPlots(postfix, quantity, unit="", common={}, effopts={}, fakeopts={})
def trackingPlots._makeFakeDist (   postfix)
private

Definition at line 104 of file trackingPlots.py.

Referenced by _makeDistPlots().

104 def _makeFakeDist(postfix):
105  return Subtract("num_fake_"+postfix, "num_reco_"+postfix, "num_assoc(recoToSim)_"+postfix)
106 
def _makeFakeDist(postfix)
def trackingPlots._makeFakeDupPileupPlots (   postfix,
  quantity,
  unit = "",
  xquantity = "",
  xtitle = None,
  common = {} 
)
private

Definition at line 86 of file trackingPlots.py.

86 def _makeFakeDupPileupPlots(postfix, quantity, unit="", xquantity="", xtitle=None, common={}):
87  p = postfix
88  q = quantity
89  if xtitle is None:
90  if xquantity != "":
91  xq = xquantity
92  else:
93  xq = q
94  if unit != "":
95  xq += " (" + unit + ")"
96  xtitle="track "+xq
97 
98  return [
99  Plot("fakerate_vs_"+p , xtitle=xtitle, ytitle="fakerate vs "+q , ymax=_maxFake, **common),
100  Plot("duplicatesRate_"+p, xtitle=xtitle, ytitle="duplicates rate vs "+q, ymax=_maxFake, **common),
101  Plot("pileuprate_"+p , xtitle=xtitle, ytitle="pileup rate vs "+q , ymax=_maxFake, **common),
102  ]
103 
def _makeFakeDupPileupPlots(postfix, quantity, unit="", xquantity="", xtitle=None, common={})
def trackingPlots._makeMVAPlots (   num,
  hp = False 
)
private

Definition at line 133 of file trackingPlots.py.

References cmsPerfStripChart.dict.

133 def _makeMVAPlots(num, hp=False):
134  pfix = "_hp" if hp else ""
135  pfix2 = "Hp" if hp else ""
136 
137  xtitle = "MVA%d output"%num
138  xtitlecut = "Cut on MVA%d output"%num
139  args = dict(xtitle=xtitle, ylog=True, ymin=_minMaxN, ymax=_minMaxN)
140 
141  argsroc = dict(
142  xtitle="Efficiency (excl. trk eff)", ytitle="Fake rate",
143  xmax=_maxEff, ymax=_maxFake,
144  drawStyle="EP",
145  )
146  argsroc2 = dict(
147  ztitle="Cut on MVA%d"%num,
148  xtitleoffset=5, ytitleoffset=6.5, ztitleoffset=4,
149  adjustMarginRight=0.12
150  )
151  argsroc2.update(argsroc)
152  argsroc2["drawStyle"] = "pcolz"
153 
154  argsprofile = dict(ymin=_minMaxMVA, ymax=_minMaxMVA)
155 
156  true_cuteff = CutEfficiency("trueeff_vs_mva%dcut%s"%(num,pfix), "num_assoc(recoToSim)_mva%dcut%s"%(num,pfix))
157  fake_cuteff = CutEfficiency("fakeeff_vs_mva%dcut%s"%(num,pfix), Subtract("num_fake_mva%dcut%s"%(num,pfix), "num_reco_mva%dcut%s"%(num,pfix), "num_assoc(recoToSim)_mva%dcut%s"%(num,pfix)))
158 
159  return [
160  PlotGroup("mva%d%s"%(num,pfix2), [
161  Plot("num_assoc(recoToSim)_mva%d%s"%(num,pfix), ytitle="true tracks", **args),
162  Plot(Subtract("num_fake_mva%d%s"%(num,pfix), "num_reco_mva%d%s"%(num,pfix), "num_assoc(recoToSim)_mva%d%s"%(num,pfix)), ytitle="fake tracks", **args),
163  Plot("effic_vs_mva%dcut%s"%(num,pfix), xtitle=xtitlecut, ytitle="Efficiency (excl. trk eff)", ymax=_maxEff),
164  #
165  Plot("fakerate_vs_mva%dcut%s"%(num,pfix), xtitle=xtitlecut, ytitle="Fake rate", ymax=_maxFake),
166  Plot(ROC("effic_vs_fake_mva%d%s"%(num,pfix), "effic_vs_mva%dcut%s"%(num,pfix), "fakerate_vs_mva%dcut%s"%(num,pfix)), **argsroc),
167  Plot(ROC("effic_vs_fake_mva%d%s"%(num,pfix), "effic_vs_mva%dcut%s"%(num,pfix), "fakerate_vs_mva%dcut%s"%(num,pfix), zaxis=True), **argsroc2),
168  # Same signal efficiency, background efficiency, and ROC definitions as in TMVA
169  Plot(true_cuteff, xtitle=xtitlecut, ytitle="True track selection efficiency", ymax=_maxEff),
170  Plot(fake_cuteff, xtitle=xtitlecut, ytitle="Fake track selection efficiency", ymax=_maxEff),
171  Plot(ROC("true_eff_vs_fake_rej_mva%d%s"%(num,pfix), true_cuteff, Transform("fake_rej_mva%d%s"%(num,pfix), fake_cuteff, lambda x: 1-x)), xtitle="True track selection efficiency", ytitle="Fake track rejection", xmax=_maxEff, ymax=_maxEff),
172  ], ncols=3, legendDy=_legendDy_1row),
173  PlotGroup("mva%d%sPtEta"%(num,pfix2), [
174  Plot("mva_assoc(recoToSim)_mva%d%s_pT"%(num,pfix), xtitle="Track p_{T} (GeV)", ytitle=xtitle+" for true tracks", xlog=True, **argsprofile),
175  Plot("mva_fake_mva%d%s_pT"%(num,pfix), xtitle="Track p_{T} (GeV)", ytitle=xtitle+" for fake tracks", xlog=True, **argsprofile),
176  Plot("mva_assoc(recoToSim)_mva%d%s_eta"%(num,pfix), xtitle="Track #eta", ytitle=xtitle+" for true tracks", **argsprofile),
177  Plot("mva_fake_mva%d%s_eta"%(num,pfix), xtitle="Track #eta", ytitle=xtitle+" for fake tracks", **argsprofile),
178  ], legendDy=_legendDy_2rows)
179  ]
180 
def _makeMVAPlots(num, hp=False)
def trackingPlots._mapCollectionToAlgoQuality (   collName)
private

Definition at line 597 of file trackingPlots.py.

References python.rootplot.root2matplotlib.replace().

Referenced by _summaryBinRename(), trackingPlots.TrackingSummaryTable.create(), and trackingPlots.TrackingPlotFolder.translateSubFolder().

598  if "Hp" in collName:
599  quality = "highPurity"
600  else:
601  quality = ""
602  collNameNoQuality = collName.replace("Hp", "")
603  for qual in _additionalTrackQualities:
604  if qual in collName:
605  quality += qual
606  collNameNoQuality = collNameNoQuality.replace(qual, "")
607 
608  collNameNoQuality = collNameNoQuality.replace("Tracks", "", 1) # make summary naming consistent with iteration folders
609  collNameLow = collNameNoQuality.lower().replace("frompv2", "").replace("frompv", "").replace("frompvalltp", "").replace("alltp", "")
610 
611  if collNameLow.find("seed") == 0:
612  collNameLow = collNameLow[4:]
613  if collNameLow == "initialstepseedspresplitting":
614  collNameLow = "initialsteppresplittingseeds"
615  elif collNameLow == "muonseededseedsinout":
616  collNameLow = "muonseededstepinoutseeds"
617  elif collNameLow == "muonseededseedsoutin":
618  collNameLow = "muonseededstepoutinseeds"
619 
620  i_seeds = collNameLow.index("seeds")
621  quality = collNameLow[i_seeds:]+quality
622 
623  collNameLow = collNameLow[:i_seeds]
624 
625  algo = None
626  prefixes = ["cutsreco", "cutsrecofrompv", "cutsrecofrompv2", "cutsrecofrompvalltp"]
627  if collNameLow in ["general", "generalfrompv"]+prefixes:
628  algo = "ootb"
629  else:
630  def testColl(coll):
631  for pfx in prefixes:
632  if coll == collNameLow.replace(pfx, ""):
633  return True
634  return False
635 
636  for coll in _possibleTrackingColls:
637  if testColl(coll.lower()):
638  algo = coll
639  break
640  # next try "old style"
641  if algo is None:
642  for coll, name in six.iteritems(_possibleTrackingCollsOld):
643  if testColl(coll.lower()):
644  algo = name
645  break
646 
647  # fallback
648  if algo is None:
649  algo = collNameNoQuality
650 
651  # fix for track collection naming convention
652  if algo == "muonSeededInOut":
653  algo = "muonSeededStepInOut"
654  if algo == "muonSeededOutIn":
655  algo = "muonSeededStepOutIn"
656 
657  return (algo, quality)
658 
def replace(string, replacements)
def _mapCollectionToAlgoQuality(collName)
def trackingPlots._minMaxResidual (   ma)
private

Definition at line 45 of file trackingPlots.py.

46  return ([-x for x in ma], ma)
47 
48 (_minResidualPhi, _maxResidualPhi) = _minMaxResidual([1e-4, 2e-4]) # rad
49 (_minResidualCotTheta, _maxResidualCotTheta) = _minMaxResidual([1e-4, 2e-4])
50 (_minResidualDxy, _maxResidualDxy) = _minMaxResidual([10, 20, 50, 100]) # um
51 (_minResidualDz, _maxResidualDz) = (_minResidualDxy, _maxResidualDxy)
52 (_minResidualPt, _maxResidualPt) = _minMaxResidual([1, 1.5, 2, 5]) # %
53 
54 
def _minMaxResidual(ma)
def trackingPlots._stepModuleMap ( )
private

Definition at line 1599 of file trackingPlots.py.

1600  def getProp(prop):
1601  ret = []
1602  for i in _iterations:
1603  if i.name() == "ConvStep":
1604  continue
1605  ret.extend(getattr(i, prop)())
1606  return ret
1607 
1608  return collections.OrderedDict([
1609  ("ClusterMask", getProp("clusterMasking")),
1610  ("Seeding", getProp("seeding")),
1611  ("Building", getProp("building")),
1612  ("Fitting", getProp("fit")),
1613  ("Selection", getProp("selection")),
1614  ("Other", getProp("other"))
1615  ])
1616 
def trackingPlots._summaryBinRename (   binLabel,
  highPurity,
  byOriginalAlgo,
  byAlgoMask,
  ptCut,
  seeds 
)
private

Definition at line 663 of file trackingPlots.py.

References _mapCollectionToAlgoQuality(), and pileupCalc.upper.

Referenced by _constructSummary(), and trackingPlots.TimePerTrackPlot.create().

663 def _summaryBinRename(binLabel, highPurity, byOriginalAlgo, byAlgoMask, ptCut, seeds):
664  (algo, quality) = _mapCollectionToAlgoQuality(binLabel)
665  if algo == "ootb":
666  algo = "generalTracks"
667  ret = None
668 
669  if byOriginalAlgo:
670  if algo != "generalTracks" and "ByOriginalAlgo" not in quality: # keep generalTracks bin as well
671  return None
672  quality = quality.replace("ByOriginalAlgo", "")
673  if byAlgoMask:
674  if algo != "generalTracks" and "ByAlgoMask" not in quality: # keep generalTracks bin as well
675  return None
676  quality = quality.replace("ByAlgoMask", "")
677  if ptCut:
678  if "Pt09" not in quality:
679  return None
680  quality = quality.replace("Pt09", "")
681 
682  if highPurity:
683  if quality == "highPurity":
684  ret = algo
685  elif seeds:
686  i_seeds = quality.find("seeds")
687  if i_seeds == 0:
688  ret = algo
689  seedSubColl = quality[i_seeds+5:]
690  if seedSubColl != "":
691  ret += seedSubColl[0].upper() + seedSubColl[1:]
692  else:
693  if quality == "":
694  ret = algo
695 
696  return ret
697 
def _summaryBinRename(binLabel, highPurity, byOriginalAlgo, byAlgoMask, ptCut, seeds)
def _mapCollectionToAlgoQuality(collName)
def trackingPlots._trackingFolders (   lastDirName = "Track")
private

Definition at line 1187 of file trackingPlots.py.

Referenced by _appendTrackingPlots(), and trackingPlots.TimePerTrackPlot._getDirectory().

1187 def _trackingFolders(lastDirName="Track"):
1188  return [
1189  "DQMData/Run 1/Tracking/Run summary/"+lastDirName,
1190  "DQMData/Tracking/"+lastDirName,
1191  "DQMData/Run 1/RecoTrackV/Run summary/"+lastDirName,
1192  "DQMData/RecoTrackV/"+lastDirName,
1193  ]
1194 
def _trackingFolders(lastDirName="Track")
def trackingPlots._trackingRefFileFallbackSLHC_Phase1PU140 (   path)
private

Definition at line 571 of file trackingPlots.py.

572  for (old, new) in [("initialStep", "iter0"),
573  ("highPtTripletStep", "iter1"),
574  ("lowPtQuadStep", "iter2"),
575  ("lowPtTripletStep", "iter3"),
576  ("detachedQuadStep", "iter4"),
577  ("pixelPairStep", "iter5"),
578  ("muonSeededStepInOut", "iter9"),
579  ("muonSeededStepOutIn", "iter10")]:
580  path = path.replace(old, new)
581  return path
582 
def _trackingRefFileFallbackSLHC_Phase1PU140(path)
def trackingPlots._trackingSubFoldersFallbackConversion (   subfolder)
private

Definition at line 585 of file trackingPlots.py.

586  return subfolder.replace("quickAssociatorByHits", "quickAssociatorByHitsConversion")
def _trackingSubFoldersFallbackConversion(subfolder)
def trackingPlots._trackingSubFoldersFallbackFromPV (   subfolder)
private

Definition at line 583 of file trackingPlots.py.

584  return subfolder.replace("trackingParticleRecoAsssociation", "trackingParticleRecoAsssociationSignal")
def _trackingSubFoldersFallbackFromPV(subfolder)
def trackingPlots._trackingSubFoldersFallbackPreSplitting (   subfolder)
private

Definition at line 587 of file trackingPlots.py.

588  return subfolder.replace("quickAssociatorByHits", "quickAssociatorByHitsPreSplitting")
589 
590 # Additional "quality" flags than highPurity. In a separate list to
591 # allow customization.
def _trackingSubFoldersFallbackPreSplitting(subfolder)
def trackingPlots._trackingSubFoldersFallbackSLHC_Phase1PU140 (   subfolder)
private

Definition at line 557 of file trackingPlots.py.

558  ret = subfolder.replace("trackingParticleRecoAsssociation", "AssociatorByHitsRecoDenom")
559  for (old, new) in [("InitialStep", "Zero"),
560  ("HighPtTripletStep", "First"),
561  ("LowPtQuadStep", "Second"),
562  ("LowPtTripletStep", "Third"),
563  ("DetachedQuadStep", "Fourth"),
564  ("PixelPairStep", "Fifth"),
565  ("MuonSeededStepInOut", "Ninth"),
566  ("MuonSeededStepOutIn", "Tenth")]:
567  ret = ret.replace(old, new)
568  if ret == subfolder:
569  return None
570  return ret
def _trackingSubFoldersFallbackSLHC_Phase1PU140(subfolder)

Variable Documentation

trackingPlots._additionalTrackQualities
private

Definition at line 592 of file trackingPlots.py.

trackingPlots._algos_common
private

Definition at line 225 of file trackingPlots.py.

trackingPlots._buildingExtendedPlots
private

Definition at line 1240 of file trackingPlots.py.

trackingPlots._chargemisid
private

Definition at line 351 of file trackingPlots.py.

trackingPlots._collLabelMap
private

Definition at line 661 of file trackingPlots.py.

trackingPlots._collLabelMapHp
private

Definition at line 662 of file trackingPlots.py.

trackingPlots._common
private

PackedCandidate plots.

Definition at line 211 of file trackingPlots.py.

trackingPlots._common2
private

Definition at line 282 of file trackingPlots.py.

trackingPlots._commonLabelSize
private

Definition at line 781 of file trackingPlots.py.

trackingPlots._commonStatus
private

Definition at line 778 of file trackingPlots.py.

trackingPlots._dedx
private

Definition at line 342 of file trackingPlots.py.

trackingPlots._dupandfakeChi2Seeding
private

Definition at line 271 of file trackingPlots.py.

trackingPlots._dupandfakeDeltaRPU
private

Definition at line 263 of file trackingPlots.py.

trackingPlots._dupandfakeDxyDzBS
private

Definition at line 238 of file trackingPlots.py.

trackingPlots._dupandfakeDxyDzPV
private

Definition at line 243 of file trackingPlots.py.

trackingPlots._dupandfakeHitsLayers
private

Definition at line 250 of file trackingPlots.py.

trackingPlots._dupandfakePos
private

Definition at line 257 of file trackingPlots.py.

trackingPlots._dupandfakePtEtaPhi
private

Definition at line 228 of file trackingPlots.py.

trackingPlots._dupandfakeSeedingPlots
private

Definition at line 270 of file trackingPlots.py.

trackingPlots._dupandfakeSeedingTable
private

Definition at line 1182 of file trackingPlots.py.

trackingPlots._duplicateAlgo
private

Definition at line 226 of file trackingPlots.py.

trackingPlots._effandfakeDeltaRPU
private

Definition at line 217 of file trackingPlots.py.

trackingPlots._effandfakeDxyDzBS
private

Definition at line 192 of file trackingPlots.py.

trackingPlots._effandfakeDxyDzPV
private

Definition at line 197 of file trackingPlots.py.

trackingPlots._effandfakeHitsLayers
private

Definition at line 204 of file trackingPlots.py.

trackingPlots._effandfakePos
private

Definition at line 212 of file trackingPlots.py.

trackingPlots._effandfakePtEtaPhi
private

Definition at line 181 of file trackingPlots.py.

trackingPlots._extDistChi2Seeding
private

Definition at line 439 of file trackingPlots.py.

trackingPlots._extDistDeltaR
private

Definition at line 433 of file trackingPlots.py.

trackingPlots._extDistDxyDzBS
private

Definition at line 410 of file trackingPlots.py.

trackingPlots._extDistDxyDzPV
private

Definition at line 414 of file trackingPlots.py.

trackingPlots._extDistHitsLayers
private

Definition at line 420 of file trackingPlots.py.

trackingPlots._extDistPos
private

Definition at line 427 of file trackingPlots.py.

trackingPlots._extDistPtEtaPhi
private

Extended set of plots.

Definition at line 405 of file trackingPlots.py.

trackingPlots._extDistSeedingPlots
private

Definition at line 438 of file trackingPlots.py.

trackingPlots._extDistSeedingTable
private

Definition at line 1184 of file trackingPlots.py.

trackingPlots._extDistSimDeltaR
private

Definition at line 504 of file trackingPlots.py.

trackingPlots._extDistSimDxyDzBS
private

Definition at line 481 of file trackingPlots.py.

trackingPlots._extDistSimDxyDzPV
private

Definition at line 485 of file trackingPlots.py.

trackingPlots._extDistSimHitsLayers
private

Definition at line 491 of file trackingPlots.py.

trackingPlots._extDistSimPos
private

Definition at line 498 of file trackingPlots.py.

trackingPlots._extDistSimPtEtaPhi
private

Extended set of plots also for simulation.

Definition at line 476 of file trackingPlots.py.

trackingPlots._extendedPlots
private

Definition at line 1246 of file trackingPlots.py.

trackingPlots._extHitsLayers
private

Definition at line 467 of file trackingPlots.py.

trackingPlots._extNrecVsNsim
private

Definition at line 461 of file trackingPlots.py.

trackingPlots._extResidualEta
private

Definition at line 445 of file trackingPlots.py.

trackingPlots._extResidualPt
private

Definition at line 453 of file trackingPlots.py.

trackingPlots._hitsAndPt
private

Definition at line 360 of file trackingPlots.py.

trackingPlots._hltFolder
private

Definition at line 1381 of file trackingPlots.py.

trackingPlots._iteration_reorder
private

Definition at line 1832 of file trackingPlots.py.

trackingPlots._iterations
private

Definition at line 1443 of file trackingPlots.py.

trackingPlots._legendDy_1row
private

Definition at line 55 of file trackingPlots.py.

trackingPlots._legendDy_2rows
private

Definition at line 56 of file trackingPlots.py.

trackingPlots._legendDy_2rows_3cols
private

Definition at line 57 of file trackingPlots.py.

trackingPlots._legendDy_4rows
private

Definition at line 58 of file trackingPlots.py.

trackingPlots._max3DLayers
private

Definition at line 37 of file trackingPlots.py.

trackingPlots._maxEff
private

Per track collection plots.

Definition at line 24 of file trackingPlots.py.

trackingPlots._maxFake
private

Definition at line 25 of file trackingPlots.py.

trackingPlots._maxHits
private

Definition at line 32 of file trackingPlots.py.

trackingPlots._maxLayers
private

Definition at line 34 of file trackingPlots.py.

trackingPlots._maxPixelLayers
private

Definition at line 35 of file trackingPlots.py.

trackingPlots._maxPU
private

Definition at line 41 of file trackingPlots.py.

trackingPlots._maxZ
private

Definition at line 39 of file trackingPlots.py.

trackingPlots._min3DLayers
private

Definition at line 36 of file trackingPlots.py.

trackingPlots._minHits
private

Definition at line 31 of file trackingPlots.py.

trackingPlots._minLayers
private

Definition at line 33 of file trackingPlots.py.

trackingPlots._minMaxMVA
private

Definition at line 43 of file trackingPlots.py.

trackingPlots._minMaxN
private

Definition at line 29 of file trackingPlots.py.

trackingPlots._minMaxResol
private

Definition at line 28 of file trackingPlots.py.

trackingPlots._minMaxTracks
private

Definition at line 42 of file trackingPlots.py.

trackingPlots._minPU
private

Definition at line 40 of file trackingPlots.py.

trackingPlots._minResidualCotTheta
private

Definition at line 447 of file trackingPlots.py.

trackingPlots._minResidualDxy
private

Definition at line 448 of file trackingPlots.py.

trackingPlots._minResidualDz
private

Definition at line 449 of file trackingPlots.py.

trackingPlots._minResidualPhi
private

Definition at line 446 of file trackingPlots.py.

trackingPlots._minResidualPt
private

Definition at line 374 of file trackingPlots.py.

trackingPlots._minZ
private

Definition at line 38 of file trackingPlots.py.

trackingPlots._packedCandidateCovarianceMatrix1
private

Definition at line 853 of file trackingPlots.py.

trackingPlots._packedCandidateCovarianceMatrix2
private

Definition at line 869 of file trackingPlots.py.

trackingPlots._packedCandidateFlow
private

Definition at line 785 of file trackingPlots.py.

trackingPlots._packedCandidateHits
private

Definition at line 801 of file trackingPlots.py.

trackingPlots._packedCandidateHitsHitPattern
private

Definition at line 793 of file trackingPlots.py.

trackingPlots._packedCandidateImpactParameter1
private

Definition at line 829 of file trackingPlots.py.

trackingPlots._packedCandidateImpactParameter2
private

Definition at line 844 of file trackingPlots.py.

trackingPlots._packedCandidateKinematics
private

Definition at line 896 of file trackingPlots.py.

trackingPlots._packedCandidateLayers
private

Definition at line 812 of file trackingPlots.py.

trackingPlots._packedCandidatePlots
private

Definition at line 1290 of file trackingPlots.py.

trackingPlots._packedCandidateVertex
private

Definition at line 887 of file trackingPlots.py.

trackingPlots._possibleTrackingColls
private

Definition at line 520 of file trackingPlots.py.

trackingPlots._possibleTrackingCollsOld
private

Definition at line 544 of file trackingPlots.py.

trackingPlots._possibleTrackingNonIterationColls
private

Summary plots.

Definition at line 516 of file trackingPlots.py.

trackingPlots._pulls
private

Definition at line 377 of file trackingPlots.py.

trackingPlots._pvassociation1
private

Definition at line 289 of file trackingPlots.py.

trackingPlots._pvassociation2
private

Definition at line 312 of file trackingPlots.py.

trackingPlots._pvassociation3
private

Definition at line 325 of file trackingPlots.py.

trackingPlots._recoBasedPlots
private

Definition at line 1204 of file trackingPlots.py.

trackingPlots._resolutionsEta
private

Definition at line 388 of file trackingPlots.py.

trackingPlots._resolutionsPt
private

Definition at line 396 of file trackingPlots.py.

trackingPlots._seedingBuildingPlots
private

Definition at line 1224 of file trackingPlots.py.

trackingPlots._seedingLayerSet_common
private

Definition at line 269 of file trackingPlots.py.

trackingPlots._simBasedPlots
private

Definition at line 1195 of file trackingPlots.py.

trackingPlots._summaryPlots
private

Definition at line 1266 of file trackingPlots.py.

trackingPlots._summaryPlotsHp
private

Definition at line 1276 of file trackingPlots.py.

trackingPlots._summaryPlotsSeeds
private

Definition at line 1286 of file trackingPlots.py.

trackingPlots._summaryRaw
private

Definition at line 1368 of file trackingPlots.py.

trackingPlots._summaryRawN
private

Definition at line 1368 of file trackingPlots.py.

trackingPlots._time_per_event_cpu
private

Definition at line 1768 of file trackingPlots.py.

trackingPlots._time_per_event_real
private

Definition at line 1769 of file trackingPlots.py.

trackingPlots._time_per_iter_cpu
private

Definition at line 1833 of file trackingPlots.py.

trackingPlots._time_per_iter_real
private

Definition at line 1834 of file trackingPlots.py.

trackingPlots._timeFolders
private

Definition at line 1891 of file trackingPlots.py.

trackingPlots._timing_iterationsCPU
private

Definition at line 1871 of file trackingPlots.py.

trackingPlots._timing_iterationsReal
private

Definition at line 1878 of file trackingPlots.py.

trackingPlots._timing_summaryCPU
private

Definition at line 1836 of file trackingPlots.py.

trackingPlots._timing_summaryReal
private

Definition at line 1853 of file trackingPlots.py.

trackingPlots._tplifetime
private

Definition at line 1907 of file trackingPlots.py.

trackingPlots._trackingIterationOrderHistogram
private

Definition at line 65 of file trackingPlots.py.

trackingPlots._tuning
private

Definition at line 369 of file trackingPlots.py.

trackingPlots.adjustMarginLeft

Definition at line 226 of file trackingPlots.py.

trackingPlots.adjustMarginRight

Definition at line 226 of file trackingPlots.py.

trackingPlots.assoc
trackingPlots.building

Definition at line 1451 of file trackingPlots.py.

trackingPlots.clusterMasking

Definition at line 1444 of file trackingPlots.py.

trackingPlots.collection

Definition at line 1369 of file trackingPlots.py.

trackingPlots.common
trackingPlots.drawStyle

Definition at line 226 of file trackingPlots.py.

trackingPlots.dup

Definition at line 183 of file trackingPlots.py.

Referenced by File.duplicate(), and File.sysduplicate().

trackingPlots.effopts

Definition at line 218 of file trackingPlots.py.

trackingPlots.fakeopts

Definition at line 213 of file trackingPlots.py.

trackingPlots.fallback
trackingPlots.False

Definition at line 1368 of file trackingPlots.py.

trackingPlots.fit
trackingPlots.HLT

Definition at line 1386 of file trackingPlots.py.

trackingPlots.hp

Definition at line 1236 of file trackingPlots.py.

trackingPlots.IgnoreCommandLineOptions

Definition at line 10 of file trackingPlots.py.

trackingPlots.ignoreMissingBins

Definition at line 1833 of file trackingPlots.py.

trackingPlots.isRate

Definition at line 1183 of file trackingPlots.py.

trackingPlots.legend

Definition at line 1876 of file trackingPlots.py.

trackingPlots.legendDh

Definition at line 385 of file trackingPlots.py.

trackingPlots.legendDw

Definition at line 385 of file trackingPlots.py.

trackingPlots.legendDx

Definition at line 385 of file trackingPlots.py.

trackingPlots.legendDy

Definition at line 195 of file trackingPlots.py.

trackingPlots.loopSubFolders

Definition at line 1368 of file trackingPlots.py.

trackingPlots.MiniAOD

Definition at line 1375 of file trackingPlots.py.

trackingPlots.ncols

Definition at line 236 of file trackingPlots.py.

trackingPlots.normalizeToUnitArea

Definition at line 370 of file trackingPlots.py.

trackingPlots.onlyForPileup

Definition at line 309 of file trackingPlots.py.

trackingPlots.other

Definition at line 1453 of file trackingPlots.py.

Referenced by reco::TrackKinematics.add(), HcalLutManager.addLutMap(), NanoAODDQM.analyze(), BowedSurfaceDeformation.BowedSurfaceDeformation(), edm::OwnArray< T, MAX_SIZE, P >.capacity(), CastorElectronicsMap.CastorElectronicsMap(), PerigeeMultiLTS.charge(), PerigeeLinearizedTrackState.charge(), edm::DetSet< StripDigiSimLink >.clear(), edm::RefVector< std::vector< math::PtEtaPhiELorentzVectorD > >.clear(), ReferenceTrajectoryFactory.clone(), ClusterSummary.ClusterSummary(), ConcurrentMonitorElement.ConcurrentMonitorElement(), DeepCopyPointer< T >.DeepCopyPointer(), DeepCopyPointerByClone< FullConvolutionWithMaterial >.DeepCopyPointerByClone(), edm::DetSetRefVector< T, C >.DetSetRefVector(), edm::DetSetVector< T >.DetSetVector(), InvalidTrackingRecHit.dimension(), DynArray< T >.DynArray(), ElectronPFIsolationWithMapBasedVeto.ElectronPFIsolationWithMapBasedVeto(), CSCRecHit2D.energyDepositedInLayer(), edm::MapOfVectors< K, T >::Iter.equal(), edm::TrieNodeIter< T >.equal(), pat::helper::OverlapBySuperClusterSeed.fillOverlapsForItem(), PFJetFilter.filter(), pat::GenericOverlapFinder< Distance >.GenericOverlapFinder(), PhiMemoryImage.get_straightness(), SiTrackerMultiRecHit.getAnnealingFactor(), dqmstorepb::ROOTFilePB_Histo.GetCachedSize(), dqmstorepb::ROOTFilePB.GetCachedSize(), LHEXMLStringProduct.getCompressed(), citk::IsolationConeDefinitionBase.getEventInfo(), lhef::LHERunInfo.getHEPRUP(), HFShowerParam.getHits(), SiStripMatchedRecHit2D.getKfComponents(), TrackingRecHit.getRTTI(), edm::RefToBaseProd< T >.hasCache(), MatcherUsingTracksAlgorithm.hasChi2(), reco::ClusterRemovalInfo.hasPhase2OT(), HcalDcsMap.HcalDcsMap(), HcalElectronicsMap.HcalElectronicsMap(), HcalFrontEndMap.HcalFrontEndMap(), HcalSiPMCharacteristics.HcalSiPMCharacteristics(), edm::HepMCProduct.HepMCProduct(), edm::IDVectorMap< ID, C, P >.id_size(), edm::reftobase::IndirectHolder< T >.IndirectHolder(), edm::BranchDescription.init(), edm::InputTag.InputTag(), HcalConstFunctor.isEqual(), HcalChebyshevFunctor.isEqual(), HcalLinearCompositionFunctor.isEqual(), HcalPolynomialFunctor.isEqual(), HcalCubicInterpolator.isEqual(), HcalInterpolatedTableFunctor.isEqual(), HcalPiecewiseLinearFunctor.isEqual(), HcalItemCollById< HFPhase1PMTData >.isEqual(), npstat::StorableHistoNDFunctor< Numeric, Axis, Converter >.isEqual(), HcalItemArrayCollById< Item, N >.isEqual(), npstat::StorableInterpolationFunctor< Numeric, Axis, Converter >.isEqual(), edm::HepMCProduct.isPBoostApplied(), nanoaod::UniqueString.isProductEqual(), LHERunInfoProduct.isProductEqual(), KinematicParticle.KinematicParticle(), KinematicState.KinematicState(), LHEEventProduct.LHEEventProduct(), ParticleKinematicLinearizedTrackState.linearizationPoint(), MeasurementTrackerEvent.MeasurementTrackerEvent(), edm::ProductProvenanceRetriever.mergeProvenanceRetrievers(), edm::RootDelayedReader.mergeReaders_(), reco::PFTrajectoryPoint.momentum(), LHERunInfoProduct::Header.operator!=(), GenRunInfoProduct::XSec.operator!=(), GenLumiInfoProduct::XSec.operator!=(), lhef::LHERunInfo.operator!=(), l1t::Interval< TimeType, PayloadType >.operator!=(), GenLumiInfoProduct::FinalStat.operator!=(), SiStripQuality.operator!=(), LHERunInfoProduct.operator!=(), CaloSamples.operator*=(), reco::TrackKinematics.operator+(), FastTimerService::Resources.operator+(), FastTimerService::AtomicResources.operator+(), FastTimerService::ResourcesPerModule.operator+(), FastTimerService::ResourcesPerPath.operator+(), FastTimerService::ResourcesPerProcess.operator+(), FastTimerService::ResourcesPerJob.operator+(), SiStripQuality.operator-(), Json::ValueIteratorBase.operator-(), helper::ClusterStorer::ClusterHitRecord< ClusterRefType >.operator<(), pat::eventhypothesis::Looper< T >.operator<(), pat::eventhypothesis::Looper< T >.operator<=(), GenEventInfoProduct.operator=(), DynArray< T >.operator=(), edm::InputTag.operator=(), LHEEventProduct.operator=(), DeepCopyPointerByClone< FullConvolutionWithMaterial >.operator=(), DeepCopyPointer< T >.operator=(), ConcurrentMonitorElement.operator=(), MeasurementTrackerEvent.operator=(), edm::HepMCProduct.operator=(), edm::RefToBase< T >.operator=(), Signal.operator=(), nanoaod::UniqueString.operator==(), VirtualKinematicParticle.operator==(), TransientTrackKinematicParticle.operator==(), PixelEndcapNameUpgrade.operator==(), PixelBarrelNameUpgrade.operator==(), PixelBarrelName.operator==(), PixelEndcapName.operator==(), LHERunInfoProduct::const_iterator.operator==(), SiStripQuality.operator==(), ParticleKinematicLinearizedTrackState.operator==(), PerigeeMultiLTS.operator==(), PerigeeLinearizedTrackState.operator==(), edm::RangeMap< det_id_type, edm::OwnVector< B > >.operator[](), ProcessCallGraph::PathType.PathType(), reco::PFRecHit.PFRecHit(), PhiMemoryImage.PhiMemoryImage(), edm::SortedCollection< EcalRecHit >.pop_back(), ProcessCallGraph::ProcessType.ProcessType(), edm::PtrVectorBase.product(), edm::Principal.productLookup(), PFAlgo.reconstructParticles(), reco::GhostTrackVertexFinder.recursiveMerge(), edm::RefToBase< T >.RefToBase(), edm::ElementID.reset(), edm::ProductID.reset(), edm::OwnVector< reco::reco::PFBlockElement >.reverse(), RooCBExGaussShape.RooCBExGaussShape(), RooCMSShape.RooCMSShape(), TrackerSingleRecHit.setClusterMTDRef(), MuonPFIsolationWithConeVeto.setConsumes(), ElectronPFIsolationWithConeVeto.setConsumes(), FTLTrackingRecHit< ObjRef >.sharesInput(), SiStripMatchedRecHit2D.sharesInput(), CSCRecHit2D.sharesInput(), FastTrackerRecHit.sharesInput(), MTDTransientTrackingRecHit.specificBuild(), MTDGeomDetType.specificTopology(), PixelGeomDetType.specificTopology(), npstat::ArrayND< Num1, Len1, Dim1 >.strides(), GenFilterInfo.sumWeights2(), ProxyBase11< T >.swap(), edm::reftobase::VectorHolder< T, REFV >.swap(), edm::BasicHandle.swap(), edm::Exception.swap(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >.swap(), edm::RefCore.swap(), edm::VecArray< std::pair< int, int >, 9 >.swap(), edm::RefVectorBase< key_type >.swap(), edm::OwnVector< T, P >.swap(), TRecHit2DPosConstraint.TRecHit2DPosConstraint(), TRecHit5DParamConstraint.TRecHit5DParamConstraint(), ZGeneratorLineShape.ZGeneratorLineShape(), ClusterSummary.~ClusterSummary(), LHERunInfoProduct::const_iterator.~const_iterator(), CrossingFrame< T >.~CrossingFrame(), EMap::EMapRow.~EMapRow(), FileBlobCollection.~FileBlobCollection(), HcalEmap::HcalEmapRow.~HcalEmapRow(), LinearizedTrackState< 6 >.~LinearizedTrackState(), edm::reftobase::RefVectorHolder< REFV >.~RefVectorHolder(), SiStripDigi.~SiStripDigi(), SiStripProcessedRawDigi.~SiStripProcessedRawDigi(), SiStripRawDigi.~SiStripRawDigi(), and SurfaceDeformation.~SurfaceDeformation().

trackingPlots.page

Definition at line 1365 of file trackingPlots.py.

trackingPlots.Pixel

Definition at line 1365 of file trackingPlots.py.

trackingPlots.plotter

Definition at line 1302 of file trackingPlots.py.

Referenced by MuScleFitMuonSelector.~MuScleFitMuonSelector().

trackingPlots.plotterExt

Definition at line 1303 of file trackingPlots.py.

trackingPlots.plotterHLT

Definition at line 1384 of file trackingPlots.py.

trackingPlots.plotterHLTExt

Definition at line 1385 of file trackingPlots.py.

trackingPlots.profileX

Definition at line 462 of file trackingPlots.py.

Referenced by PFClient.createProfilePlots(), and DQMCorrelationClient.getTH1().

trackingPlots.purpose

Definition at line 1365 of file trackingPlots.py.

trackingPlots.ratioUncertainty

Definition at line 370 of file trackingPlots.py.

trackingPlots.reco
trackingPlots.removeEmptyBins

Definition at line 225 of file trackingPlots.py.

trackingPlots.reorder

Definition at line 1833 of file trackingPlots.py.

trackingPlots.scale

Definition at line 374 of file trackingPlots.py.

trackingPlots.section
trackingPlots.seeding

Definition at line 1445 of file trackingPlots.py.

trackingPlots.selectedTracks
trackingPlots.selection

Definition at line 1463 of file trackingPlots.py.

trackingPlots.stat

Definition at line 365 of file trackingPlots.py.

Referenced by BufferedBoostIODBWriter.analyze(), L1GctPrintLuts.analyze(), FFTJetCorrectorDBWriter.analyze(), dqm::RamdiskMonitor.analyzeFile(), evf::EvFOutputModule.beginRun(), DTTriggerEfficiencyTask.bookHistograms(), DTLocalTriggerTask.bookHistograms(), DTLocalTriggerBaseTask.bookHistograms(), DTLocalTriggerEfficiencyTest.Bookings(), DTTriggerEfficiencyTest.Bookings(), evf::EvFDaqDirector.bumpFile(), XrdStorageMaker.check(), FedRawDataInputSource.checkNextEvent(), pos::PixelROCStatus.clear(), L1MuGMTMatrix< T >.colAny(), TkGluedMeasurementDet.collectRecHits(), CSCTriggerPrimitivesReader.compareALCTs(), CSCTriggerPrimitivesReader.compareCLCTs(), CSCTriggerPrimitivesReader.compareLCTs(), CSCTriggerPrimitivesReader.compareMPCLCTs(), EcalUncalibRecHitRatioMethodAlgo< C >.computeTime(), evf::EvFDaqDirector.createBoLSFile(), evf::EvFDaqDirector.createLumiSectionFiles(), evf::RecoEventOutputModuleForFU< Consumer >.doOutputHeader(), DQMFileSaver.DQMFileSaver(), evf::RecoEventOutputModuleForFU< Consumer >.endLuminosityBlock(), evf::EvFDaqDirector.EvFDaqDirector(), evf::FastMonitoringService.FastMonitoringService(), SiStripDetVOffBuilder.FileExists(), MuonShowerInformationFiller.fillHitsByStation(), dqm::DQMFileSaverPB.fillJson(), dqmfilesaver.fillJson(), pos::PixelROCStatus.get(), MatacqProducer.getCalibTriggerType(), LaserSorter.getDetailedTriggerType(), WatcherStreamFileReader.getInputFile(), evf::EvFDaqDirector.getLumisectionToStart(), evf::EvFDaqDirector.getNextFromFileBroker(), evf::EvFDaqDirector.getNFilesFromEoLS(), dqm::RamdiskMonitor.getRunTimestamp(), evf::EvFOutputModule.globalEndLuminosityBlock(), evf::EvFDaqDirector.grabNextJsonFile(), metsig::SignAlgoResolutions.initializeJetResolutions(), evf::EvFDaqDirector.initRun(), reco::HitPattern.innermostMuonStationWithHits(), L1Analysis::L1AnalysisEvent.L1AnalysisEvent(), LaserSorter.LaserSorter(), main(), pos::PixelConfigFile.makeNewVersion(), FedRawDataInputSource.maybeOpenNewLumiSection(), MatacqProducer.mcheck(), l1t::L1TCaloStage1LutWriter.openOutputFile(), reco::HitPattern.outermostMuonStationWithHits(), TauSpinnerCMS.produce(), NuclearInteractionSimulator.read(), fastsim::NuclearInteraction.read(), FedRawDataInputSource.readSupervisor(), LaserSorter.restoreStreamsOfLumiBlock(), L1MuGMTMatrix< T >.rowAny(), DTLocalTriggerTest.runClientDiagnostic(), DTLocalTriggerTPTest.runClientDiagnostic(), DTLocalTriggerLutTest.runClientDiagnostic(), DTTriggerLutTest.runClientDiagnostic(), DTLocalTriggerEfficiencyTest.runClientDiagnostic(), DTTriggerEfficiencyTest.runClientDiagnostic(), pos::PixelROCStatus.set(), CalibCoeff.setStatus(), GEMRegion.station(), LaserSorter.streamFileName(), evf::EvFDaqDirector.updateFuLock(), and WatcherStreamFileReader.WatcherStreamFileReader().

trackingPlots.statyadjust

Definition at line 363 of file trackingPlots.py.

trackingPlots.timePlotter

Definition at line 1895 of file trackingPlots.py.

trackingPlots.Timing

Definition at line 1902 of file trackingPlots.py.

trackingPlots.title

Definition at line 182 of file trackingPlots.py.

trackingPlots.tpPlotter
trackingPlots.TrackingSummary

Definition at line 1368 of file trackingPlots.py.

trackingPlots.True

Definition at line 182 of file trackingPlots.py.

trackingPlots.xbinlabeloption

Definition at line 225 of file trackingPlots.py.

trackingPlots.xbinlabelsize

Definition at line 225 of file trackingPlots.py.

trackingPlots.xlog

Definition at line 182 of file trackingPlots.py.

trackingPlots.xmax

Definition at line 205 of file trackingPlots.py.

trackingPlots.xmin

Definition at line 205 of file trackingPlots.py.

trackingPlots.xquantity

Definition at line 258 of file trackingPlots.py.

trackingPlots.xtitle

Definition at line 182 of file trackingPlots.py.

trackingPlots.ylog

Definition at line 365 of file trackingPlots.py.

trackingPlots.ymax

Definition at line 182 of file trackingPlots.py.

trackingPlots.ymin

Definition at line 363 of file trackingPlots.py.

trackingPlots.ytitle
trackingPlots.zaxis
trackingPlots.ztitle

Definition at line 293 of file trackingPlots.py.