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
 
 _extDistDxyDzBS
 
 _extDistDxyDzPV
 
 _extDistHitsLayers
 
 _extDistPosDeltaR
 
 _extDistPtEtaPhi
 Extended set of plots. More...
 
 _extDistSeedingPlots
 
 _extDistSeedingTable
 
 _extDistSimDxyDzBS
 
 _extDistSimDxyDzPV
 
 _extDistSimHitsLayers
 
 _extDistSimPosDeltaR
 
 _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 1290 of file trackingPlots.py.

References _trackingFolders(), and cmsPerfStripChart.dict.

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

647 def _collhelper(name):
648  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 686 of file trackingPlots.py.

References _summaryBinRename(), and cmsPerfStripChart.dict.

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

Referenced by trackingPlots.TrackingTimingTable._getValues().

1578 def _iterModuleMap(includeConvStep=True, onlyConvStep=False):
1579  iterations = _iterations
1580  if not includeConvStep:
1581  iterations = [i for i in iterations if i.name() != "ConvStep"]
1582  if onlyConvStep:
1583  iterations = [i for i in iterations if i.name() == "ConvStep"]
1584  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 105 of file trackingPlots.py.

References _makeFakeDist(), and cmsPerfStripChart.dict.

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

Definition at line 119 of file trackingPlots.py.

References cmsPerfStripChart.dict.

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

Definition at line 65 of file trackingPlots.py.

References cmsPerfStripChart.dict.

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

Definition at line 102 of file trackingPlots.py.

Referenced by _makeDistPlots().

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

Definition at line 84 of file trackingPlots.py.

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

Definition at line 131 of file trackingPlots.py.

References cmsPerfStripChart.dict.

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

Definition at line 585 of file trackingPlots.py.

References python.rootplot.root2matplotlib.replace().

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

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

Definition at line 43 of file trackingPlots.py.

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

Definition at line 1585 of file trackingPlots.py.

1586  def getProp(prop):
1587  ret = []
1588  for i in _iterations:
1589  if i.name() == "ConvStep":
1590  continue
1591  ret.extend(getattr(i, prop)())
1592  return ret
1593 
1594  return collections.OrderedDict([
1595  ("ClusterMask", getProp("clusterMasking")),
1596  ("Seeding", getProp("seeding")),
1597  ("Building", getProp("building")),
1598  ("Fitting", getProp("fit")),
1599  ("Selection", getProp("selection")),
1600  ("Other", getProp("other"))
1601  ])
1602 
def trackingPlots._summaryBinRename (   binLabel,
  highPurity,
  byOriginalAlgo,
  byAlgoMask,
  ptCut,
  seeds 
)
private

Definition at line 651 of file trackingPlots.py.

References _mapCollectionToAlgoQuality(), and pfDeepBoostedJetPreprocessParams_cfi.upper.

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

651 def _summaryBinRename(binLabel, highPurity, byOriginalAlgo, byAlgoMask, ptCut, seeds):
652  (algo, quality) = _mapCollectionToAlgoQuality(binLabel)
653  if algo == "ootb":
654  algo = "generalTracks"
655  ret = None
656 
657  if byOriginalAlgo:
658  if algo != "generalTracks" and "ByOriginalAlgo" not in quality: # keep generalTracks bin as well
659  return None
660  quality = quality.replace("ByOriginalAlgo", "")
661  if byAlgoMask:
662  if algo != "generalTracks" and "ByAlgoMask" not in quality: # keep generalTracks bin as well
663  return None
664  quality = quality.replace("ByAlgoMask", "")
665  if ptCut:
666  if "Pt09" not in quality:
667  return None
668  quality = quality.replace("Pt09", "")
669 
670  if highPurity:
671  if quality == "highPurity":
672  ret = algo
673  elif seeds:
674  i_seeds = quality.find("seeds")
675  if i_seeds == 0:
676  ret = algo
677  seedSubColl = quality[i_seeds+5:]
678  if seedSubColl != "":
679  ret += seedSubColl[0].upper() + seedSubColl[1:]
680  else:
681  if quality == "":
682  ret = algo
683 
684  return ret
685 
def _summaryBinRename(binLabel, highPurity, byOriginalAlgo, byAlgoMask, ptCut, seeds)
def _mapCollectionToAlgoQuality(collName)
def trackingPlots._trackingFolders (   lastDirName = "Track")
private

Definition at line 1175 of file trackingPlots.py.

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

1175 def _trackingFolders(lastDirName="Track"):
1176  return [
1177  "DQMData/Run 1/Tracking/Run summary/"+lastDirName,
1178  "DQMData/Tracking/"+lastDirName,
1179  "DQMData/Run 1/RecoTrackV/Run summary/"+lastDirName,
1180  "DQMData/RecoTrackV/"+lastDirName,
1181  ]
1182 
def _trackingFolders(lastDirName="Track")
def trackingPlots._trackingRefFileFallbackSLHC_Phase1PU140 (   path)
private

Definition at line 559 of file trackingPlots.py.

560  for (old, new) in [("initialStep", "iter0"),
561  ("highPtTripletStep", "iter1"),
562  ("lowPtQuadStep", "iter2"),
563  ("lowPtTripletStep", "iter3"),
564  ("detachedQuadStep", "iter4"),
565  ("pixelPairStep", "iter5"),
566  ("muonSeededStepInOut", "iter9"),
567  ("muonSeededStepOutIn", "iter10")]:
568  path = path.replace(old, new)
569  return path
570 
def _trackingRefFileFallbackSLHC_Phase1PU140(path)
def trackingPlots._trackingSubFoldersFallbackConversion (   subfolder)
private

Definition at line 573 of file trackingPlots.py.

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

Definition at line 571 of file trackingPlots.py.

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

Definition at line 575 of file trackingPlots.py.

576  return subfolder.replace("quickAssociatorByHits", "quickAssociatorByHitsPreSplitting")
577 
578 # Additional "quality" flags than highPurity. In a separate list to
579 # allow customization.
def _trackingSubFoldersFallbackPreSplitting(subfolder)
def trackingPlots._trackingSubFoldersFallbackSLHC_Phase1PU140 (   subfolder)
private

Definition at line 545 of file trackingPlots.py.

546  ret = subfolder.replace("trackingParticleRecoAsssociation", "AssociatorByHitsRecoDenom")
547  for (old, new) in [("InitialStep", "Zero"),
548  ("HighPtTripletStep", "First"),
549  ("LowPtQuadStep", "Second"),
550  ("LowPtTripletStep", "Third"),
551  ("DetachedQuadStep", "Fourth"),
552  ("PixelPairStep", "Fifth"),
553  ("MuonSeededStepInOut", "Ninth"),
554  ("MuonSeededStepOutIn", "Tenth")]:
555  ret = ret.replace(old, new)
556  if ret == subfolder:
557  return None
558  return ret
def _trackingSubFoldersFallbackSLHC_Phase1PU140(subfolder)

Variable Documentation

trackingPlots._additionalTrackQualities
private

Definition at line 580 of file trackingPlots.py.

trackingPlots._algos_common
private

Definition at line 222 of file trackingPlots.py.

trackingPlots._buildingExtendedPlots
private

Definition at line 1228 of file trackingPlots.py.

trackingPlots._chargemisid
private

Definition at line 347 of file trackingPlots.py.

trackingPlots._collLabelMap
private

Definition at line 649 of file trackingPlots.py.

trackingPlots._collLabelMapHp
private

Definition at line 650 of file trackingPlots.py.

trackingPlots._common
private

PackedCandidate plots.

Definition at line 209 of file trackingPlots.py.

trackingPlots._common2
private

Definition at line 278 of file trackingPlots.py.

trackingPlots._commonLabelSize
private

Definition at line 769 of file trackingPlots.py.

trackingPlots._commonStatus
private

Definition at line 766 of file trackingPlots.py.

trackingPlots._dedx
private

Definition at line 338 of file trackingPlots.py.

trackingPlots._dupandfakeChi2Seeding
private

Definition at line 267 of file trackingPlots.py.

trackingPlots._dupandfakeDeltaRPU
private

Definition at line 260 of file trackingPlots.py.

trackingPlots._dupandfakeDxyDzBS
private

Definition at line 235 of file trackingPlots.py.

trackingPlots._dupandfakeDxyDzPV
private

Definition at line 240 of file trackingPlots.py.

trackingPlots._dupandfakeHitsLayers
private

Definition at line 247 of file trackingPlots.py.

trackingPlots._dupandfakePos
private

Definition at line 254 of file trackingPlots.py.

trackingPlots._dupandfakePtEtaPhi
private

Definition at line 225 of file trackingPlots.py.

trackingPlots._dupandfakeSeedingPlots
private

Definition at line 266 of file trackingPlots.py.

trackingPlots._dupandfakeSeedingTable
private

Definition at line 1170 of file trackingPlots.py.

trackingPlots._duplicateAlgo
private

Definition at line 223 of file trackingPlots.py.

trackingPlots._effandfakeDeltaRPU
private

Definition at line 215 of file trackingPlots.py.

trackingPlots._effandfakeDxyDzBS
private

Definition at line 190 of file trackingPlots.py.

trackingPlots._effandfakeDxyDzPV
private

Definition at line 195 of file trackingPlots.py.

trackingPlots._effandfakeHitsLayers
private

Definition at line 202 of file trackingPlots.py.

trackingPlots._effandfakePos
private

Definition at line 210 of file trackingPlots.py.

trackingPlots._effandfakePtEtaPhi
private

Definition at line 179 of file trackingPlots.py.

trackingPlots._extDistChi2Seeding
private

Definition at line 431 of file trackingPlots.py.

trackingPlots._extDistDxyDzBS
private

Definition at line 406 of file trackingPlots.py.

trackingPlots._extDistDxyDzPV
private

Definition at line 410 of file trackingPlots.py.

trackingPlots._extDistHitsLayers
private

Definition at line 416 of file trackingPlots.py.

trackingPlots._extDistPosDeltaR
private

Definition at line 423 of file trackingPlots.py.

trackingPlots._extDistPtEtaPhi
private

Extended set of plots.

Definition at line 401 of file trackingPlots.py.

trackingPlots._extDistSeedingPlots
private

Definition at line 430 of file trackingPlots.py.

trackingPlots._extDistSeedingTable
private

Definition at line 1172 of file trackingPlots.py.

trackingPlots._extDistSimDxyDzBS
private

Definition at line 473 of file trackingPlots.py.

trackingPlots._extDistSimDxyDzPV
private

Definition at line 477 of file trackingPlots.py.

trackingPlots._extDistSimHitsLayers
private

Definition at line 483 of file trackingPlots.py.

trackingPlots._extDistSimPosDeltaR
private

Definition at line 490 of file trackingPlots.py.

trackingPlots._extDistSimPtEtaPhi
private

Extended set of plots also for simulation.

Definition at line 468 of file trackingPlots.py.

trackingPlots._extendedPlots
private

Definition at line 1234 of file trackingPlots.py.

trackingPlots._extHitsLayers
private

Definition at line 459 of file trackingPlots.py.

trackingPlots._extNrecVsNsim
private

Definition at line 453 of file trackingPlots.py.

trackingPlots._extResidualEta
private

Definition at line 437 of file trackingPlots.py.

trackingPlots._extResidualPt
private

Definition at line 445 of file trackingPlots.py.

trackingPlots._hitsAndPt
private

Definition at line 356 of file trackingPlots.py.

trackingPlots._hltFolder
private

Definition at line 1367 of file trackingPlots.py.

trackingPlots._iteration_reorder
private

Definition at line 1818 of file trackingPlots.py.

trackingPlots._iterations
private

Definition at line 1429 of file trackingPlots.py.

trackingPlots._legendDy_1row
private

Definition at line 53 of file trackingPlots.py.

trackingPlots._legendDy_2rows
private

Definition at line 54 of file trackingPlots.py.

trackingPlots._legendDy_2rows_3cols
private

Definition at line 55 of file trackingPlots.py.

trackingPlots._legendDy_4rows
private

Definition at line 56 of file trackingPlots.py.

trackingPlots._max3DLayers
private

Definition at line 35 of file trackingPlots.py.

trackingPlots._maxEff
private

Per track collection plots.

Definition at line 22 of file trackingPlots.py.

trackingPlots._maxFake
private

Definition at line 23 of file trackingPlots.py.

trackingPlots._maxHits
private

Definition at line 30 of file trackingPlots.py.

trackingPlots._maxLayers
private

Definition at line 32 of file trackingPlots.py.

trackingPlots._maxPixelLayers
private

Definition at line 33 of file trackingPlots.py.

trackingPlots._maxPU
private

Definition at line 39 of file trackingPlots.py.

trackingPlots._maxZ
private

Definition at line 37 of file trackingPlots.py.

trackingPlots._min3DLayers
private

Definition at line 34 of file trackingPlots.py.

trackingPlots._minHits
private

Definition at line 29 of file trackingPlots.py.

trackingPlots._minLayers
private

Definition at line 31 of file trackingPlots.py.

trackingPlots._minMaxMVA
private

Definition at line 41 of file trackingPlots.py.

trackingPlots._minMaxN
private

Definition at line 27 of file trackingPlots.py.

trackingPlots._minMaxResol
private

Definition at line 26 of file trackingPlots.py.

trackingPlots._minMaxTracks
private

Definition at line 40 of file trackingPlots.py.

trackingPlots._minPU
private

Definition at line 38 of file trackingPlots.py.

trackingPlots._minResidualCotTheta
private

Definition at line 439 of file trackingPlots.py.

trackingPlots._minResidualDxy
private

Definition at line 440 of file trackingPlots.py.

trackingPlots._minResidualDz
private

Definition at line 441 of file trackingPlots.py.

trackingPlots._minResidualPhi
private

Definition at line 438 of file trackingPlots.py.

trackingPlots._minResidualPt
private

Definition at line 370 of file trackingPlots.py.

trackingPlots._minZ
private

Definition at line 36 of file trackingPlots.py.

trackingPlots._packedCandidateCovarianceMatrix1
private

Definition at line 841 of file trackingPlots.py.

trackingPlots._packedCandidateCovarianceMatrix2
private

Definition at line 857 of file trackingPlots.py.

trackingPlots._packedCandidateFlow
private

Definition at line 773 of file trackingPlots.py.

trackingPlots._packedCandidateHits
private

Definition at line 789 of file trackingPlots.py.

trackingPlots._packedCandidateHitsHitPattern
private

Definition at line 781 of file trackingPlots.py.

trackingPlots._packedCandidateImpactParameter1
private

Definition at line 817 of file trackingPlots.py.

trackingPlots._packedCandidateImpactParameter2
private

Definition at line 832 of file trackingPlots.py.

trackingPlots._packedCandidateKinematics
private

Definition at line 884 of file trackingPlots.py.

trackingPlots._packedCandidateLayers
private

Definition at line 800 of file trackingPlots.py.

trackingPlots._packedCandidatePlots
private

Definition at line 1276 of file trackingPlots.py.

trackingPlots._packedCandidateVertex
private

Definition at line 875 of file trackingPlots.py.

trackingPlots._possibleTrackingColls
private

Definition at line 508 of file trackingPlots.py.

trackingPlots._possibleTrackingCollsOld
private

Definition at line 532 of file trackingPlots.py.

trackingPlots._possibleTrackingNonIterationColls
private

Summary plots.

Definition at line 504 of file trackingPlots.py.

trackingPlots._pulls
private

Definition at line 373 of file trackingPlots.py.

trackingPlots._pvassociation1
private

Definition at line 285 of file trackingPlots.py.

trackingPlots._pvassociation2
private

Definition at line 308 of file trackingPlots.py.

trackingPlots._pvassociation3
private

Definition at line 321 of file trackingPlots.py.

trackingPlots._recoBasedPlots
private

Definition at line 1192 of file trackingPlots.py.

trackingPlots._resolutionsEta
private

Definition at line 384 of file trackingPlots.py.

trackingPlots._resolutionsPt
private

Definition at line 392 of file trackingPlots.py.

trackingPlots._seedingBuildingPlots
private

Definition at line 1212 of file trackingPlots.py.

trackingPlots._seedingLayerSet_common
private

Definition at line 265 of file trackingPlots.py.

trackingPlots._simBasedPlots
private

Definition at line 1183 of file trackingPlots.py.

trackingPlots._summaryPlots
private

Definition at line 1252 of file trackingPlots.py.

trackingPlots._summaryPlotsHp
private

Definition at line 1262 of file trackingPlots.py.

trackingPlots._summaryPlotsSeeds
private

Definition at line 1272 of file trackingPlots.py.

trackingPlots._summaryRaw
private

Definition at line 1354 of file trackingPlots.py.

trackingPlots._summaryRawN
private

Definition at line 1354 of file trackingPlots.py.

trackingPlots._time_per_event_cpu
private

Definition at line 1754 of file trackingPlots.py.

trackingPlots._time_per_event_real
private

Definition at line 1755 of file trackingPlots.py.

trackingPlots._time_per_iter_cpu
private

Definition at line 1819 of file trackingPlots.py.

trackingPlots._time_per_iter_real
private

Definition at line 1820 of file trackingPlots.py.

trackingPlots._timeFolders
private

Definition at line 1877 of file trackingPlots.py.

trackingPlots._timing_iterationsCPU
private

Definition at line 1857 of file trackingPlots.py.

trackingPlots._timing_iterationsReal
private

Definition at line 1864 of file trackingPlots.py.

trackingPlots._timing_summaryCPU
private

Definition at line 1822 of file trackingPlots.py.

trackingPlots._timing_summaryReal
private

Definition at line 1839 of file trackingPlots.py.

trackingPlots._tplifetime
private

Definition at line 1893 of file trackingPlots.py.

trackingPlots._trackingIterationOrderHistogram
private

Definition at line 63 of file trackingPlots.py.

trackingPlots._tuning
private

Definition at line 365 of file trackingPlots.py.

trackingPlots.adjustMarginLeft

Definition at line 223 of file trackingPlots.py.

trackingPlots.adjustMarginRight

Definition at line 223 of file trackingPlots.py.

trackingPlots.assoc
trackingPlots.building

Definition at line 1437 of file trackingPlots.py.

trackingPlots.clusterMasking

Definition at line 1430 of file trackingPlots.py.

trackingPlots.collection

Definition at line 1355 of file trackingPlots.py.

trackingPlots.common
trackingPlots.drawStyle

Definition at line 223 of file trackingPlots.py.

trackingPlots.dup

Definition at line 181 of file trackingPlots.py.

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

trackingPlots.effopts

Definition at line 216 of file trackingPlots.py.

trackingPlots.fakeopts

Definition at line 211 of file trackingPlots.py.

trackingPlots.fallback
trackingPlots.False

Definition at line 1354 of file trackingPlots.py.

trackingPlots.fit
trackingPlots.HLT

Definition at line 1372 of file trackingPlots.py.

trackingPlots.hp

Definition at line 1224 of file trackingPlots.py.

trackingPlots.IgnoreCommandLineOptions

Definition at line 8 of file trackingPlots.py.

trackingPlots.ignoreMissingBins

Definition at line 1819 of file trackingPlots.py.

trackingPlots.isRate

Definition at line 1171 of file trackingPlots.py.

trackingPlots.legend

Definition at line 1862 of file trackingPlots.py.

trackingPlots.legendDh

Definition at line 381 of file trackingPlots.py.

trackingPlots.legendDw

Definition at line 381 of file trackingPlots.py.

trackingPlots.legendDx

Definition at line 381 of file trackingPlots.py.

trackingPlots.legendDy

Definition at line 193 of file trackingPlots.py.

trackingPlots.loopSubFolders

Definition at line 1354 of file trackingPlots.py.

trackingPlots.MiniAOD

Definition at line 1361 of file trackingPlots.py.

trackingPlots.ncols
trackingPlots.normalizeToUnitArea

Definition at line 366 of file trackingPlots.py.

trackingPlots.onlyForPileup

Definition at line 305 of file trackingPlots.py.

trackingPlots.other

Definition at line 1439 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< CTPPSPixelDataError >.clear(), edm::RefVector< reco::CastorTowerCollection, typename Ref< reco::CastorTowerCollection >::value_type, typename Ref< reco::CastorTowerCollection >::finder_type >.clear(), ReferenceTrajectoryFactory.clone(), ClusterSummary.ClusterSummary(), ConcurrentMonitorElement.ConcurrentMonitorElement(), DeepCopyPointer< T >.DeepCopyPointer(), DeepCopyPointerByClone< FullConvolutionWithMaterial >.DeepCopyPointerByClone(), edm::DetSetRefVector< FTLCluster >.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< reco::GsfElectronCore >.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< reco::GsfElectronCore >.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<=(), DynArray< T >.operator=(), edm::InputTag.operator=(), DeepCopyPointerByClone< FullConvolutionWithMaterial >.operator=(), LHEEventProduct.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==(), PixelEndcapName.operator==(), PixelBarrelName.operator==(), LHERunInfoProduct::const_iterator.operator==(), SiStripQuality.operator==(), ParticleKinematicLinearizedTrackState.operator==(), PerigeeMultiLTS.operator==(), PerigeeLinearizedTrackState.operator==(), edm::RangeMap< int, std::vector< float >, edm::CopyPolicy< float > >.operator[](), ProcessCallGraph::PathType.PathType(), reco::PFRecHit.PFRecHit(), PhiMemoryImage.PhiMemoryImage(), edm::SortedCollection< FTLDataFrameT< FastTimeDetId, FTLSample, mtdhelpers::FTLRowColDecode > >.pop_back(), ProcessCallGraph::ProcessType.ProcessType(), edm::PtrVectorBase.product(), edm::Principal.productLookup(), PFAlgo.reconstructParticles(), reco::GhostTrackVertexFinder.recursiveMerge(), edm::RefToBase< T >.RefToBase(), edm::ProductID.reset(), edm::OwnVector< reco::reco::PFBlockElement >.reverse(), RooCBExGaussShape.RooCBExGaussShape(), RooCMSShape.RooCMSShape(), TrackerSingleRecHit.setClusterMTDRef(), MuonPFIsolationWithConeVeto.setConsumes(), ElectronPFIsolationWithConeVeto.setConsumes(), 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< reco::Candidate, reco::GsfElectronRefVector >.swap(), edm::Exception.swap(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >.swap(), edm::RefCore.swap(), edm::RefVectorBase< key_type >.swap(), edm::VecArray< std::pair< int, int >, 9 >.swap(), edm::OwnVector< T, P >.swap(), TRecHit2DPosConstraint.TRecHit2DPosConstraint(), TRecHit5DParamConstraint.TRecHit5DParamConstraint(), ZGeneratorLineShape.ZGeneratorLineShape(), ClusterSummary.~ClusterSummary(), LHERunInfoProduct::const_iterator.~const_iterator(), CrossingFrame< PCaloHit >.~CrossingFrame(), EMap::EMapRow.~EMapRow(), FileBlobCollection.~FileBlobCollection(), HcalEmap::HcalEmapRow.~HcalEmapRow(), LinearizedTrackState< 6 >.~LinearizedTrackState(), edm::reftobase::RefVectorHolder< reco::RecoPFClusterRefCandidateRefVector >.~RefVectorHolder(), SiStripDigi.~SiStripDigi(), SiStripProcessedRawDigi.~SiStripProcessedRawDigi(), SiStripRawDigi.~SiStripRawDigi(), and SurfaceDeformation.~SurfaceDeformation().

trackingPlots.page

Definition at line 1351 of file trackingPlots.py.

trackingPlots.Pixel

Definition at line 1351 of file trackingPlots.py.

trackingPlots.plotter

Definition at line 1288 of file trackingPlots.py.

Referenced by MuScleFitMuonSelector.~MuScleFitMuonSelector().

trackingPlots.plotterExt

Definition at line 1289 of file trackingPlots.py.

trackingPlots.plotterHLT

Definition at line 1370 of file trackingPlots.py.

trackingPlots.plotterHLTExt

Definition at line 1371 of file trackingPlots.py.

trackingPlots.profileX

Definition at line 454 of file trackingPlots.py.

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

trackingPlots.purpose
trackingPlots.ratioUncertainty

Definition at line 366 of file trackingPlots.py.

trackingPlots.reco
trackingPlots.removeEmptyBins

Definition at line 222 of file trackingPlots.py.

trackingPlots.reorder

Definition at line 1819 of file trackingPlots.py.

trackingPlots.scale

Definition at line 370 of file trackingPlots.py.

trackingPlots.section
trackingPlots.seeding

Definition at line 1431 of file trackingPlots.py.

trackingPlots.selectedTracks
trackingPlots.selection

Definition at line 1449 of file trackingPlots.py.

trackingPlots.stat

Definition at line 361 of file trackingPlots.py.

Referenced by BufferedBoostIODBWriter.analyze(), L1GctPrintLuts.analyze(), FFTJetCorrectorDBWriter.analyze(), dqm::RamdiskMonitor.analyzeFile(), 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(), 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::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(), DTLocalTriggerLutTest.runClientDiagnostic(), DTLocalTriggerTPTest.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 359 of file trackingPlots.py.

trackingPlots.timePlotter

Definition at line 1881 of file trackingPlots.py.

trackingPlots.Timing

Definition at line 1888 of file trackingPlots.py.

Referenced by edm::service::Timing.accumulateTimeEnd().

trackingPlots.title

Definition at line 180 of file trackingPlots.py.

trackingPlots.tpPlotter
trackingPlots.TrackingSummary

Definition at line 1354 of file trackingPlots.py.

trackingPlots.True

Definition at line 180 of file trackingPlots.py.

trackingPlots.xbinlabeloption

Definition at line 222 of file trackingPlots.py.

trackingPlots.xbinlabelsize

Definition at line 222 of file trackingPlots.py.

trackingPlots.xlog

Definition at line 180 of file trackingPlots.py.

trackingPlots.xmax

Definition at line 203 of file trackingPlots.py.

trackingPlots.xmin

Definition at line 203 of file trackingPlots.py.

trackingPlots.xquantity

Definition at line 255 of file trackingPlots.py.

trackingPlots.xtitle
trackingPlots.ylog

Definition at line 361 of file trackingPlots.py.

trackingPlots.ymax

Definition at line 180 of file trackingPlots.py.

trackingPlots.ymin

Definition at line 359 of file trackingPlots.py.

trackingPlots.ytitle
trackingPlots.zaxis
trackingPlots.ztitle

Definition at line 289 of file trackingPlots.py.