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
 
 _maxResidualPt
 
 _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 1306 of file trackingPlots.py.

References _trackingFolders().

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

661 def _collhelper(name):
662  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 700 of file trackingPlots.py.

References _summaryBinRename().

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

Referenced by trackingPlots.TrackingTimingTable._getValues().

1597 def _iterModuleMap(includeConvStep=True, onlyConvStep=False):
1598  iterations = _iterations
1599  if not includeConvStep:
1600  iterations = [i for i in iterations if i.name() != "ConvStep"]
1601  if onlyConvStep:
1602  iterations = [i for i in iterations if i.name() == "ConvStep"]
1603  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().

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.

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.

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.

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 599 of file trackingPlots.py.

References python.rootplot.root2matplotlib.replace().

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

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

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

Definition at line 665 of file trackingPlots.py.

References _mapCollectionToAlgoQuality(), and pileupCalc.upper.

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

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

Definition at line 1189 of file trackingPlots.py.

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

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

Definition at line 573 of file trackingPlots.py.

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

Definition at line 587 of file trackingPlots.py.

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

Definition at line 585 of file trackingPlots.py.

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

Definition at line 589 of file trackingPlots.py.

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

Definition at line 559 of file trackingPlots.py.

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

Variable Documentation

trackingPlots._additionalTrackQualities
private

Definition at line 594 of file trackingPlots.py.

trackingPlots._algos_common
private

Definition at line 225 of file trackingPlots.py.

trackingPlots._buildingExtendedPlots
private

Definition at line 1242 of file trackingPlots.py.

trackingPlots._chargemisid
private

Definition at line 351 of file trackingPlots.py.

trackingPlots._collLabelMap
private

Definition at line 663 of file trackingPlots.py.

trackingPlots._collLabelMapHp
private

Definition at line 664 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 783 of file trackingPlots.py.

trackingPlots._commonStatus
private

Definition at line 780 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 1184 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 441 of file trackingPlots.py.

trackingPlots._extDistDeltaR
private

Definition at line 435 of file trackingPlots.py.

trackingPlots._extDistDxyDzBS
private

Definition at line 412 of file trackingPlots.py.

trackingPlots._extDistDxyDzPV
private

Definition at line 416 of file trackingPlots.py.

trackingPlots._extDistHitsLayers
private

Definition at line 422 of file trackingPlots.py.

trackingPlots._extDistPos
private

Definition at line 429 of file trackingPlots.py.

trackingPlots._extDistPtEtaPhi
private

Extended set of plots.

Definition at line 407 of file trackingPlots.py.

trackingPlots._extDistSeedingPlots
private

Definition at line 440 of file trackingPlots.py.

trackingPlots._extDistSeedingTable
private

Definition at line 1186 of file trackingPlots.py.

trackingPlots._extDistSimDeltaR
private

Definition at line 506 of file trackingPlots.py.

trackingPlots._extDistSimDxyDzBS
private

Definition at line 483 of file trackingPlots.py.

trackingPlots._extDistSimDxyDzPV
private

Definition at line 487 of file trackingPlots.py.

trackingPlots._extDistSimHitsLayers
private

Definition at line 493 of file trackingPlots.py.

trackingPlots._extDistSimPos
private

Definition at line 500 of file trackingPlots.py.

trackingPlots._extDistSimPtEtaPhi
private

Extended set of plots also for simulation.

Definition at line 478 of file trackingPlots.py.

trackingPlots._extendedPlots
private

Definition at line 1248 of file trackingPlots.py.

trackingPlots._extHitsLayers
private

Definition at line 469 of file trackingPlots.py.

trackingPlots._extNrecVsNsim
private

Definition at line 463 of file trackingPlots.py.

trackingPlots._extResidualEta
private

Definition at line 447 of file trackingPlots.py.

trackingPlots._extResidualPt
private

Definition at line 455 of file trackingPlots.py.

trackingPlots._hitsAndPt
private

Definition at line 360 of file trackingPlots.py.

trackingPlots._hltFolder
private

Definition at line 1383 of file trackingPlots.py.

trackingPlots._iteration_reorder
private

Definition at line 1837 of file trackingPlots.py.

trackingPlots._iterations
private

Definition at line 1445 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._maxResidualPt
private

Definition at line 376 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 449 of file trackingPlots.py.

trackingPlots._minResidualDxy
private

Definition at line 450 of file trackingPlots.py.

trackingPlots._minResidualDz
private

Definition at line 451 of file trackingPlots.py.

trackingPlots._minResidualPhi
private

Definition at line 448 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 855 of file trackingPlots.py.

trackingPlots._packedCandidateCovarianceMatrix2
private

Definition at line 871 of file trackingPlots.py.

trackingPlots._packedCandidateFlow
private

Definition at line 787 of file trackingPlots.py.

trackingPlots._packedCandidateHits
private

Definition at line 803 of file trackingPlots.py.

trackingPlots._packedCandidateHitsHitPattern
private

Definition at line 795 of file trackingPlots.py.

trackingPlots._packedCandidateImpactParameter1
private

Definition at line 831 of file trackingPlots.py.

trackingPlots._packedCandidateImpactParameter2
private

Definition at line 846 of file trackingPlots.py.

trackingPlots._packedCandidateKinematics
private

Definition at line 898 of file trackingPlots.py.

trackingPlots._packedCandidateLayers
private

Definition at line 814 of file trackingPlots.py.

trackingPlots._packedCandidatePlots
private

Definition at line 1292 of file trackingPlots.py.

trackingPlots._packedCandidateVertex
private

Definition at line 889 of file trackingPlots.py.

trackingPlots._possibleTrackingColls
private

Definition at line 522 of file trackingPlots.py.

trackingPlots._possibleTrackingCollsOld
private

Definition at line 546 of file trackingPlots.py.

trackingPlots._possibleTrackingNonIterationColls
private

Summary plots.

Definition at line 518 of file trackingPlots.py.

trackingPlots._pulls
private

Definition at line 379 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 1206 of file trackingPlots.py.

trackingPlots._resolutionsEta
private

Definition at line 390 of file trackingPlots.py.

trackingPlots._resolutionsPt
private

Definition at line 398 of file trackingPlots.py.

trackingPlots._seedingBuildingPlots
private

Definition at line 1226 of file trackingPlots.py.

trackingPlots._seedingLayerSet_common
private

Definition at line 269 of file trackingPlots.py.

trackingPlots._simBasedPlots
private

Definition at line 1197 of file trackingPlots.py.

trackingPlots._summaryPlots
private

Definition at line 1268 of file trackingPlots.py.

trackingPlots._summaryPlotsHp
private

Definition at line 1278 of file trackingPlots.py.

trackingPlots._summaryPlotsSeeds
private

Definition at line 1288 of file trackingPlots.py.

trackingPlots._summaryRaw
private

Definition at line 1370 of file trackingPlots.py.

trackingPlots._summaryRawN
private

Definition at line 1370 of file trackingPlots.py.

trackingPlots._time_per_event_cpu
private

Definition at line 1773 of file trackingPlots.py.

trackingPlots._time_per_event_real
private

Definition at line 1774 of file trackingPlots.py.

trackingPlots._time_per_iter_cpu
private

Definition at line 1838 of file trackingPlots.py.

trackingPlots._time_per_iter_real
private

Definition at line 1839 of file trackingPlots.py.

trackingPlots._timeFolders
private

Definition at line 1896 of file trackingPlots.py.

trackingPlots._timing_iterationsCPU
private

Definition at line 1876 of file trackingPlots.py.

trackingPlots._timing_iterationsReal
private

Definition at line 1883 of file trackingPlots.py.

trackingPlots._timing_summaryCPU
private

Definition at line 1841 of file trackingPlots.py.

trackingPlots._timing_summaryReal
private

Definition at line 1858 of file trackingPlots.py.

trackingPlots._tplifetime
private

Definition at line 1912 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 1453 of file trackingPlots.py.

trackingPlots.clusterMasking

Definition at line 1446 of file trackingPlots.py.

trackingPlots.collection

Definition at line 1371 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 1370 of file trackingPlots.py.

trackingPlots.fit
trackingPlots.HLT

Definition at line 1388 of file trackingPlots.py.

trackingPlots.hp

Definition at line 1238 of file trackingPlots.py.

trackingPlots.IgnoreCommandLineOptions

Definition at line 10 of file trackingPlots.py.

trackingPlots.ignoreMissingBins

Definition at line 1838 of file trackingPlots.py.

trackingPlots.isRate

Definition at line 1185 of file trackingPlots.py.

trackingPlots.legend

Definition at line 1881 of file trackingPlots.py.

trackingPlots.legendDh

Definition at line 387 of file trackingPlots.py.

trackingPlots.legendDw

Definition at line 387 of file trackingPlots.py.

trackingPlots.legendDx

Definition at line 387 of file trackingPlots.py.

trackingPlots.legendDy

Definition at line 195 of file trackingPlots.py.

trackingPlots.loopSubFolders

Definition at line 1370 of file trackingPlots.py.

trackingPlots.MiniAOD

Definition at line 1377 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 1455 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(), CombinedTrajectoryFactory.CombinedTrajectoryFactory(), 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(), HcalLinearCompositionFunctor.isEqual(), HcalChebyshevFunctor.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=(), edm::InputTag.operator=(), DynArray< T >.operator=(), DeepCopyPointerByClone< FullConvolutionWithMaterial >.operator=(), edm::HepMCProduct.operator=(), DeepCopyPointer< T >.operator=(), MeasurementTrackerEvent.operator=(), edm::RefToBase< T >.operator=(), Signal.operator=(), nanoaod::UniqueString.operator==(), VirtualKinematicParticle.operator==(), TransientTrackKinematicParticle.operator==(), PixelEndcapNameUpgrade.operator==(), PixelBarrelNameUpgrade.operator==(), PixelBarrelName.operator==(), PixelEndcapName.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(), TRecHit1DMomConstraint.TRecHit1DMomConstraint(), 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 1367 of file trackingPlots.py.

trackingPlots.Pixel

Definition at line 1367 of file trackingPlots.py.

trackingPlots.plotter

Definition at line 1304 of file trackingPlots.py.

Referenced by MuScleFitMuonSelector.~MuScleFitMuonSelector().

trackingPlots.plotterExt

Definition at line 1305 of file trackingPlots.py.

trackingPlots.plotterHLT

Definition at line 1386 of file trackingPlots.py.

trackingPlots.plotterHLTExt

Definition at line 1387 of file trackingPlots.py.

trackingPlots.profileX

Definition at line 464 of file trackingPlots.py.

trackingPlots.purpose

Definition at line 1367 of file trackingPlots.py.

trackingPlots.ratioUncertainty

Definition at line 370 of file trackingPlots.py.

trackingPlots.reco

Definition at line 183 of file trackingPlots.py.

trackingPlots.removeEmptyBins

Definition at line 225 of file trackingPlots.py.

trackingPlots.reorder

Definition at line 1838 of file trackingPlots.py.

trackingPlots.scale

Definition at line 374 of file trackingPlots.py.

trackingPlots.section
trackingPlots.seeding

Definition at line 1447 of file trackingPlots.py.

trackingPlots.selectedTracks

Definition at line 1852 of file trackingPlots.py.

trackingPlots.selection

Definition at line 1465 of file trackingPlots.py.

trackingPlots.stat

Definition at line 365 of file trackingPlots.py.

trackingPlots.statyadjust

Definition at line 363 of file trackingPlots.py.

trackingPlots.timePlotter

Definition at line 1900 of file trackingPlots.py.

trackingPlots.Timing

Definition at line 1907 of file trackingPlots.py.

trackingPlots.title

Definition at line 182 of file trackingPlots.py.

trackingPlots.tpPlotter
trackingPlots.TrackingSummary

Definition at line 1370 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

Definition at line 182 of file trackingPlots.py.

trackingPlots.zaxis

Definition at line 292 of file trackingPlots.py.

trackingPlots.ztitle

Definition at line 293 of file trackingPlots.py.