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, 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 _trackingSubFoldersFallbackSLHC_Phase1PU140 (subfolder)
 

Variables

 _additionalTrackQualities
 
 _algos_common
 
 _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,
  rawSummary = False,
  highPuritySummary = True 
)
private

Definition at line 1282 of file trackingPlots.py.

References _trackingFolders(), and cmsPerfStripChart.dict.

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

Definition at line 645 of file trackingPlots.py.

645 def _collhelper(name):
646  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 684 of file trackingPlots.py.

References _summaryBinRename(), and cmsPerfStripChart.dict.

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

Referenced by trackingPlots.TrackingTimingTable._getValues().

1565 def _iterModuleMap(includeConvStep=True, onlyConvStep=False):
1566  iterations = _iterations
1567  if not includeConvStep:
1568  iterations = [i for i in iterations if i.name() != "ConvStep"]
1569  if onlyConvStep:
1570  iterations = [i for i in iterations if i.name() == "ConvStep"]
1571  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 583 of file trackingPlots.py.

References python.rootplot.root2matplotlib.replace().

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

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

1573  def getProp(prop):
1574  ret = []
1575  for i in _iterations:
1576  if i.name() == "ConvStep":
1577  continue
1578  ret.extend(getattr(i, prop)())
1579  return ret
1580 
1581  return collections.OrderedDict([
1582  ("ClusterMask", getProp("clusterMasking")),
1583  ("Seeding", getProp("seeding")),
1584  ("Building", getProp("building")),
1585  ("Fitting", getProp("fit")),
1586  ("Selection", getProp("selection")),
1587  ("Other", getProp("other"))
1588  ])
1589 
def trackingPlots._summaryBinRename (   binLabel,
  highPurity,
  byOriginalAlgo,
  byAlgoMask,
  ptCut,
  seeds 
)
private

Definition at line 649 of file trackingPlots.py.

References _mapCollectionToAlgoQuality(), and pfDeepBoostedJetPreprocessParams_cfi.upper.

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

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

Definition at line 1173 of file trackingPlots.py.

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

1173 def _trackingFolders(lastDirName="Track"):
1174  return [
1175  "DQMData/Run 1/Tracking/Run summary/"+lastDirName,
1176  "DQMData/Tracking/"+lastDirName,
1177  "DQMData/Run 1/RecoTrackV/Run summary/"+lastDirName,
1178  "DQMData/RecoTrackV/"+lastDirName,
1179  ]
1180 
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")
575 
576 # Additional "quality" flags than highPurity. In a separate list to
577 # allow customization.
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._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 578 of file trackingPlots.py.

trackingPlots._algos_common
private

Definition at line 222 of file trackingPlots.py.

trackingPlots._chargemisid
private

Definition at line 347 of file trackingPlots.py.

trackingPlots._collLabelMap
private

Definition at line 647 of file trackingPlots.py.

trackingPlots._collLabelMapHp
private

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

trackingPlots._commonStatus
private

Definition at line 764 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 1168 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 1170 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 1226 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 1354 of file trackingPlots.py.

trackingPlots._iteration_reorder
private

Definition at line 1805 of file trackingPlots.py.

trackingPlots._iterations
private

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

trackingPlots._packedCandidateCovarianceMatrix2
private

Definition at line 855 of file trackingPlots.py.

trackingPlots._packedCandidateFlow
private

Definition at line 771 of file trackingPlots.py.

trackingPlots._packedCandidateHits
private

Definition at line 787 of file trackingPlots.py.

trackingPlots._packedCandidateHitsHitPattern
private

Definition at line 779 of file trackingPlots.py.

trackingPlots._packedCandidateImpactParameter1
private

Definition at line 815 of file trackingPlots.py.

trackingPlots._packedCandidateImpactParameter2
private

Definition at line 830 of file trackingPlots.py.

trackingPlots._packedCandidateKinematics
private

Definition at line 882 of file trackingPlots.py.

trackingPlots._packedCandidateLayers
private

Definition at line 798 of file trackingPlots.py.

trackingPlots._packedCandidatePlots
private

Definition at line 1268 of file trackingPlots.py.

trackingPlots._packedCandidateVertex
private

Definition at line 873 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 1190 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 1210 of file trackingPlots.py.

trackingPlots._seedingLayerSet_common
private

Definition at line 265 of file trackingPlots.py.

trackingPlots._simBasedPlots
private

Definition at line 1181 of file trackingPlots.py.

trackingPlots._summaryPlots
private

Definition at line 1244 of file trackingPlots.py.

trackingPlots._summaryPlotsHp
private

Definition at line 1254 of file trackingPlots.py.

trackingPlots._summaryPlotsSeeds
private

Definition at line 1264 of file trackingPlots.py.

trackingPlots._summaryRaw
private

Definition at line 1341 of file trackingPlots.py.

trackingPlots._summaryRawN
private

Definition at line 1341 of file trackingPlots.py.

trackingPlots._time_per_event_cpu
private

Definition at line 1741 of file trackingPlots.py.

trackingPlots._time_per_event_real
private

Definition at line 1742 of file trackingPlots.py.

trackingPlots._time_per_iter_cpu
private

Definition at line 1806 of file trackingPlots.py.

trackingPlots._time_per_iter_real
private

Definition at line 1807 of file trackingPlots.py.

trackingPlots._timeFolders
private

Definition at line 1864 of file trackingPlots.py.

trackingPlots._timing_iterationsCPU
private

Definition at line 1844 of file trackingPlots.py.

trackingPlots._timing_iterationsReal
private

Definition at line 1851 of file trackingPlots.py.

trackingPlots._timing_summaryCPU
private

Definition at line 1809 of file trackingPlots.py.

trackingPlots._timing_summaryReal
private

Definition at line 1826 of file trackingPlots.py.

trackingPlots._tplifetime
private

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

trackingPlots.clusterMasking

Definition at line 1417 of file trackingPlots.py.

trackingPlots.collection

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

trackingPlots.fit
trackingPlots.HLT

Definition at line 1359 of file trackingPlots.py.

trackingPlots.hp

Definition at line 1222 of file trackingPlots.py.

trackingPlots.IgnoreCommandLineOptions

Definition at line 8 of file trackingPlots.py.

trackingPlots.ignoreMissingBins

Definition at line 1806 of file trackingPlots.py.

trackingPlots.isRate

Definition at line 1169 of file trackingPlots.py.

trackingPlots.legend

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

trackingPlots.MiniAOD

Definition at line 1348 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 1426 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< Phase2ITPixelCluster >.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< ETLDetId, ETLSample > >.pop_back(), ProcessCallGraph::ProcessType.ProcessType(), edm::PtrVectorBase.product(), edm::Principal.productLookup(), reco::GhostTrackVertexFinder.recursiveMerge(), edm::RefToBase< T >.RefToBase(), edm::ProductID.reset(), edm::OwnVector< reco::reco::PFBlockElement >.reverse(), RooCBExGaussShape.RooCBExGaussShape(), RooCMSShape.RooCMSShape(), TrackerSingleRecHit.setClusterPhase2Ref(), MuonPFIsolationWithConeVeto.setConsumes(), ElectronPFIsolationWithConeVeto.setConsumes(), SiStripMatchedRecHit2D.sharesInput(), CSCRecHit2D.sharesInput(), FastTrackerRecHit.sharesInput(), PixelGeomDetType.specificTopology(), npstat::ArrayND< Num1, Len1, Dim1 >.strides(), GenFilterInfo.sumWeights2(), edm::reftobase::VectorHolder< reco::Candidate, reco::GsfElectronRefVector >.swap(), ProxyBase11< T >.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(), 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(), RPCConeBuilder.~RPCConeBuilder(), SiStripDigi.~SiStripDigi(), SiStripProcessedRawDigi.~SiStripProcessedRawDigi(), SiStripRawDigi.~SiStripRawDigi(), and SurfaceDeformation.~SurfaceDeformation().

trackingPlots.page

Definition at line 1338 of file trackingPlots.py.

trackingPlots.Pixel

Definition at line 1338 of file trackingPlots.py.

trackingPlots.plotter

Definition at line 1280 of file trackingPlots.py.

Referenced by MuScleFitMuonSelector.~MuScleFitMuonSelector().

trackingPlots.plotterExt

Definition at line 1281 of file trackingPlots.py.

trackingPlots.plotterHLT

Definition at line 1357 of file trackingPlots.py.

trackingPlots.plotterHLTExt

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

trackingPlots.scale

Definition at line 370 of file trackingPlots.py.

trackingPlots.section
trackingPlots.seeding

Definition at line 1418 of file trackingPlots.py.

trackingPlots.selectedTracks
trackingPlots.selection

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

trackingPlots.Timing

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