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

References _trackingFolders(), and cmsPerfStripChart.dict.

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

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

References _summaryBinRename(), and cmsPerfStripChart.dict.

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

References ALCARECOTkAlBeamHalo_cff.filter.

Referenced by trackingPlots.TrackingTimingTable._getValues().

1564 def _iterModuleMap(includeConvStep=True, onlyConvStep=False):
1565  iterations = _iterations
1566  if not includeConvStep:
1567  iterations = filter(lambda i: i.name() != "ConvStep", iterations)
1568  if onlyConvStep:
1569  iterations = filter(lambda i: i.name() == "ConvStep", iterations)
1570  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 104 of file trackingPlots.py.

References _makeFakeDist(), and cmsPerfStripChart.dict.

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

Definition at line 118 of file trackingPlots.py.

References cmsPerfStripChart.dict.

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

Definition at line 64 of file trackingPlots.py.

References cmsPerfStripChart.dict.

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

Definition at line 101 of file trackingPlots.py.

Referenced by _makeDistPlots().

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

Definition at line 83 of file trackingPlots.py.

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

Definition at line 130 of file trackingPlots.py.

References cmsPerfStripChart.dict.

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

Definition at line 582 of file trackingPlots.py.

References python.rootplot.root2matplotlib.replace().

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

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

Definition at line 42 of file trackingPlots.py.

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

Definition at line 1571 of file trackingPlots.py.

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

Definition at line 648 of file trackingPlots.py.

References _mapCollectionToAlgoQuality(), and pileupCalc.upper.

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

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

Definition at line 1172 of file trackingPlots.py.

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

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

Definition at line 558 of file trackingPlots.py.

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

Definition at line 572 of file trackingPlots.py.

573  return subfolder.replace("quickAssociatorByHits", "quickAssociatorByHitsConversion")
574 
575 # Additional "quality" flags than highPurity. In a separate list to
576 # allow customization.
def _trackingSubFoldersFallbackConversion(subfolder)
def trackingPlots._trackingSubFoldersFallbackFromPV (   subfolder)
private

Definition at line 570 of file trackingPlots.py.

571  return subfolder.replace("trackingParticleRecoAsssociation", "trackingParticleRecoAsssociationSignal")
def _trackingSubFoldersFallbackFromPV(subfolder)
def trackingPlots._trackingSubFoldersFallbackSLHC_Phase1PU140 (   subfolder)
private

Definition at line 544 of file trackingPlots.py.

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

Variable Documentation

trackingPlots._additionalTrackQualities
private

Definition at line 577 of file trackingPlots.py.

trackingPlots._algos_common
private

Definition at line 221 of file trackingPlots.py.

trackingPlots._chargemisid
private

Definition at line 346 of file trackingPlots.py.

trackingPlots._collLabelMap
private

Definition at line 646 of file trackingPlots.py.

trackingPlots._collLabelMapHp
private

Definition at line 647 of file trackingPlots.py.

trackingPlots._common
private

PackedCandidate plots.

Definition at line 208 of file trackingPlots.py.

trackingPlots._common2
private

Definition at line 277 of file trackingPlots.py.

trackingPlots._commonLabelSize
private

Definition at line 766 of file trackingPlots.py.

trackingPlots._commonStatus
private

Definition at line 763 of file trackingPlots.py.

trackingPlots._dedx
private

Definition at line 337 of file trackingPlots.py.

trackingPlots._dupandfakeChi2Seeding
private

Definition at line 266 of file trackingPlots.py.

trackingPlots._dupandfakeDeltaRPU
private

Definition at line 259 of file trackingPlots.py.

trackingPlots._dupandfakeDxyDzBS
private

Definition at line 234 of file trackingPlots.py.

trackingPlots._dupandfakeDxyDzPV
private

Definition at line 239 of file trackingPlots.py.

trackingPlots._dupandfakeHitsLayers
private

Definition at line 246 of file trackingPlots.py.

trackingPlots._dupandfakePos
private

Definition at line 253 of file trackingPlots.py.

trackingPlots._dupandfakePtEtaPhi
private

Definition at line 224 of file trackingPlots.py.

trackingPlots._dupandfakeSeedingPlots
private

Definition at line 265 of file trackingPlots.py.

trackingPlots._dupandfakeSeedingTable
private

Definition at line 1167 of file trackingPlots.py.

trackingPlots._duplicateAlgo
private

Definition at line 222 of file trackingPlots.py.

trackingPlots._effandfakeDeltaRPU
private

Definition at line 214 of file trackingPlots.py.

trackingPlots._effandfakeDxyDzBS
private

Definition at line 189 of file trackingPlots.py.

trackingPlots._effandfakeDxyDzPV
private

Definition at line 194 of file trackingPlots.py.

trackingPlots._effandfakeHitsLayers
private

Definition at line 201 of file trackingPlots.py.

trackingPlots._effandfakePos
private

Definition at line 209 of file trackingPlots.py.

trackingPlots._effandfakePtEtaPhi
private

Definition at line 178 of file trackingPlots.py.

trackingPlots._extDistChi2Seeding
private

Definition at line 430 of file trackingPlots.py.

trackingPlots._extDistDxyDzBS
private

Definition at line 405 of file trackingPlots.py.

trackingPlots._extDistDxyDzPV
private

Definition at line 409 of file trackingPlots.py.

trackingPlots._extDistHitsLayers
private

Definition at line 415 of file trackingPlots.py.

trackingPlots._extDistPosDeltaR
private

Definition at line 422 of file trackingPlots.py.

trackingPlots._extDistPtEtaPhi
private

Extended set of plots.

Definition at line 400 of file trackingPlots.py.

trackingPlots._extDistSeedingPlots
private

Definition at line 429 of file trackingPlots.py.

trackingPlots._extDistSeedingTable
private

Definition at line 1169 of file trackingPlots.py.

trackingPlots._extDistSimDxyDzBS
private

Definition at line 472 of file trackingPlots.py.

trackingPlots._extDistSimDxyDzPV
private

Definition at line 476 of file trackingPlots.py.

trackingPlots._extDistSimHitsLayers
private

Definition at line 482 of file trackingPlots.py.

trackingPlots._extDistSimPosDeltaR
private

Definition at line 489 of file trackingPlots.py.

trackingPlots._extDistSimPtEtaPhi
private

Extended set of plots also for simulation.

Definition at line 467 of file trackingPlots.py.

trackingPlots._extendedPlots
private

Definition at line 1225 of file trackingPlots.py.

trackingPlots._extHitsLayers
private

Definition at line 458 of file trackingPlots.py.

trackingPlots._extNrecVsNsim
private

Definition at line 452 of file trackingPlots.py.

trackingPlots._extResidualEta
private

Definition at line 436 of file trackingPlots.py.

trackingPlots._extResidualPt
private

Definition at line 444 of file trackingPlots.py.

trackingPlots._hitsAndPt
private

Definition at line 355 of file trackingPlots.py.

trackingPlots._hltFolder
private

Definition at line 1353 of file trackingPlots.py.

trackingPlots._iteration_reorder
private

Definition at line 1804 of file trackingPlots.py.

trackingPlots._iterations
private

Definition at line 1415 of file trackingPlots.py.

trackingPlots._legendDy_1row
private

Definition at line 52 of file trackingPlots.py.

trackingPlots._legendDy_2rows
private

Definition at line 53 of file trackingPlots.py.

trackingPlots._legendDy_2rows_3cols
private

Definition at line 54 of file trackingPlots.py.

trackingPlots._legendDy_4rows
private

Definition at line 55 of file trackingPlots.py.

trackingPlots._max3DLayers
private

Definition at line 34 of file trackingPlots.py.

trackingPlots._maxEff
private

Per track collection plots.

Definition at line 21 of file trackingPlots.py.

trackingPlots._maxFake
private

Definition at line 22 of file trackingPlots.py.

trackingPlots._maxHits
private

Definition at line 29 of file trackingPlots.py.

trackingPlots._maxLayers
private

Definition at line 31 of file trackingPlots.py.

trackingPlots._maxPixelLayers
private

Definition at line 32 of file trackingPlots.py.

trackingPlots._maxPU
private

Definition at line 38 of file trackingPlots.py.

trackingPlots._maxZ
private

Definition at line 36 of file trackingPlots.py.

trackingPlots._min3DLayers
private

Definition at line 33 of file trackingPlots.py.

trackingPlots._minHits
private

Definition at line 28 of file trackingPlots.py.

trackingPlots._minLayers
private

Definition at line 30 of file trackingPlots.py.

trackingPlots._minMaxMVA
private

Definition at line 40 of file trackingPlots.py.

trackingPlots._minMaxN
private

Definition at line 26 of file trackingPlots.py.

trackingPlots._minMaxResol
private

Definition at line 25 of file trackingPlots.py.

trackingPlots._minMaxTracks
private

Definition at line 39 of file trackingPlots.py.

trackingPlots._minPU
private

Definition at line 37 of file trackingPlots.py.

trackingPlots._minResidualCotTheta
private

Definition at line 438 of file trackingPlots.py.

trackingPlots._minResidualDxy
private

Definition at line 439 of file trackingPlots.py.

trackingPlots._minResidualDz
private

Definition at line 440 of file trackingPlots.py.

trackingPlots._minResidualPhi
private

Definition at line 437 of file trackingPlots.py.

trackingPlots._minResidualPt
private

Definition at line 369 of file trackingPlots.py.

trackingPlots._minZ
private

Definition at line 35 of file trackingPlots.py.

trackingPlots._packedCandidateCovarianceMatrix1
private

Definition at line 838 of file trackingPlots.py.

trackingPlots._packedCandidateCovarianceMatrix2
private

Definition at line 854 of file trackingPlots.py.

trackingPlots._packedCandidateFlow
private

Definition at line 770 of file trackingPlots.py.

trackingPlots._packedCandidateHits
private

Definition at line 786 of file trackingPlots.py.

trackingPlots._packedCandidateHitsHitPattern
private

Definition at line 778 of file trackingPlots.py.

trackingPlots._packedCandidateImpactParameter1
private

Definition at line 814 of file trackingPlots.py.

trackingPlots._packedCandidateImpactParameter2
private

Definition at line 829 of file trackingPlots.py.

trackingPlots._packedCandidateKinematics
private

Definition at line 881 of file trackingPlots.py.

trackingPlots._packedCandidateLayers
private

Definition at line 797 of file trackingPlots.py.

trackingPlots._packedCandidatePlots
private

Definition at line 1267 of file trackingPlots.py.

trackingPlots._packedCandidateVertex
private

Definition at line 872 of file trackingPlots.py.

trackingPlots._possibleTrackingColls
private

Definition at line 507 of file trackingPlots.py.

trackingPlots._possibleTrackingCollsOld
private

Definition at line 531 of file trackingPlots.py.

trackingPlots._possibleTrackingNonIterationColls
private

Summary plots.

Definition at line 503 of file trackingPlots.py.

trackingPlots._pulls
private

Definition at line 372 of file trackingPlots.py.

trackingPlots._pvassociation1
private

Definition at line 284 of file trackingPlots.py.

trackingPlots._pvassociation2
private

Definition at line 307 of file trackingPlots.py.

trackingPlots._pvassociation3
private

Definition at line 320 of file trackingPlots.py.

trackingPlots._recoBasedPlots
private

Definition at line 1189 of file trackingPlots.py.

trackingPlots._resolutionsEta
private

Definition at line 383 of file trackingPlots.py.

trackingPlots._resolutionsPt
private

Definition at line 391 of file trackingPlots.py.

trackingPlots._seedingBuildingPlots
private

Definition at line 1209 of file trackingPlots.py.

trackingPlots._seedingLayerSet_common
private

Definition at line 264 of file trackingPlots.py.

trackingPlots._simBasedPlots
private

Definition at line 1180 of file trackingPlots.py.

trackingPlots._summaryPlots
private

Definition at line 1243 of file trackingPlots.py.

trackingPlots._summaryPlotsHp
private

Definition at line 1253 of file trackingPlots.py.

trackingPlots._summaryPlotsSeeds
private

Definition at line 1263 of file trackingPlots.py.

trackingPlots._summaryRaw
private

Definition at line 1340 of file trackingPlots.py.

trackingPlots._summaryRawN
private

Definition at line 1340 of file trackingPlots.py.

trackingPlots._time_per_event_cpu
private

Definition at line 1740 of file trackingPlots.py.

trackingPlots._time_per_event_real
private

Definition at line 1741 of file trackingPlots.py.

trackingPlots._time_per_iter_cpu
private

Definition at line 1805 of file trackingPlots.py.

trackingPlots._time_per_iter_real
private

Definition at line 1806 of file trackingPlots.py.

trackingPlots._timeFolders
private

Definition at line 1863 of file trackingPlots.py.

trackingPlots._timing_iterationsCPU
private

Definition at line 1843 of file trackingPlots.py.

trackingPlots._timing_iterationsReal
private

Definition at line 1850 of file trackingPlots.py.

trackingPlots._timing_summaryCPU
private

Definition at line 1808 of file trackingPlots.py.

trackingPlots._timing_summaryReal
private

Definition at line 1825 of file trackingPlots.py.

trackingPlots._tplifetime
private

Definition at line 1879 of file trackingPlots.py.

trackingPlots._trackingIterationOrderHistogram
private

Definition at line 62 of file trackingPlots.py.

trackingPlots._tuning
private

Definition at line 364 of file trackingPlots.py.

trackingPlots.adjustMarginLeft

Definition at line 222 of file trackingPlots.py.

trackingPlots.adjustMarginRight

Definition at line 222 of file trackingPlots.py.

trackingPlots.assoc
trackingPlots.building

Definition at line 1423 of file trackingPlots.py.

trackingPlots.clusterMasking

Definition at line 1416 of file trackingPlots.py.

trackingPlots.collection

Definition at line 1341 of file trackingPlots.py.

trackingPlots.common
trackingPlots.drawStyle

Definition at line 222 of file trackingPlots.py.

trackingPlots.dup

Definition at line 180 of file trackingPlots.py.

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

trackingPlots.effopts

Definition at line 215 of file trackingPlots.py.

trackingPlots.fakeopts

Definition at line 210 of file trackingPlots.py.

trackingPlots.fallback
trackingPlots.False

Definition at line 1340 of file trackingPlots.py.

trackingPlots.fit
trackingPlots.HLT

Definition at line 1358 of file trackingPlots.py.

trackingPlots.hp

Definition at line 1221 of file trackingPlots.py.

trackingPlots.IgnoreCommandLineOptions

Definition at line 7 of file trackingPlots.py.

trackingPlots.ignoreMissingBins

Definition at line 1805 of file trackingPlots.py.

trackingPlots.isRate

Definition at line 1168 of file trackingPlots.py.

trackingPlots.legend

Definition at line 1848 of file trackingPlots.py.

trackingPlots.legendDh

Definition at line 380 of file trackingPlots.py.

trackingPlots.legendDw

Definition at line 380 of file trackingPlots.py.

trackingPlots.legendDx

Definition at line 380 of file trackingPlots.py.

trackingPlots.legendDy

Definition at line 192 of file trackingPlots.py.

trackingPlots.loopSubFolders

Definition at line 1340 of file trackingPlots.py.

trackingPlots.MiniAOD

Definition at line 1347 of file trackingPlots.py.

trackingPlots.ncols
trackingPlots.normalizeToUnitArea

Definition at line 365 of file trackingPlots.py.

trackingPlots.onlyForPileup

Definition at line 304 of file trackingPlots.py.

trackingPlots.other

Definition at line 1425 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::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::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< EcalRecHit >.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(), 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(), 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 1337 of file trackingPlots.py.

trackingPlots.Pixel

Definition at line 1337 of file trackingPlots.py.

trackingPlots.plotter

Definition at line 1279 of file trackingPlots.py.

Referenced by MuScleFitMuonSelector.~MuScleFitMuonSelector().

trackingPlots.plotterExt

Definition at line 1280 of file trackingPlots.py.

trackingPlots.plotterHLT

Definition at line 1356 of file trackingPlots.py.

trackingPlots.plotterHLTExt

Definition at line 1357 of file trackingPlots.py.

trackingPlots.profileX

Definition at line 453 of file trackingPlots.py.

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

trackingPlots.purpose
trackingPlots.ratioUncertainty

Definition at line 365 of file trackingPlots.py.

trackingPlots.reco
trackingPlots.removeEmptyBins

Definition at line 221 of file trackingPlots.py.

trackingPlots.reorder

Definition at line 1805 of file trackingPlots.py.

trackingPlots.scale

Definition at line 369 of file trackingPlots.py.

trackingPlots.section
trackingPlots.seeding

Definition at line 1417 of file trackingPlots.py.

trackingPlots.selectedTracks
trackingPlots.selection

Definition at line 1435 of file trackingPlots.py.

trackingPlots.stat

Definition at line 360 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(), FedRawDataInputSource.createBoLSFile(), evf::RecoEventOutputModuleForFU< Consumer >.doOutputHeader(), DQMFileSaver.DQMFileSaver(), evf::RecoEventOutputModuleForFU< Consumer >.endLuminosityBlock(), evf::FastMonitoringService.FastMonitoringService(), FedRawDataInputSource.FedRawDataInputSource(), SiStripDetVOffBuilder.FileExists(), MuonShowerInformationFiller.fillHitsByStation(), dqm::DQMFileSaverPB.fillJson(), DQMFileSaver.fillJson(), pos::PixelROCStatus.get(), MatacqProducer.getCalibTriggerType(), LaserSorter.getDetailedTriggerType(), WatcherStreamFileReader.getInputFile(), evf::EvFDaqDirector.getNFilesFromEoLS(), dqm::RamdiskMonitor.getRunTimestamp(), metsig::SignAlgoResolutions.initializeJetResolutions(), evf::EvFDaqDirector.initRun(), reco::HitPattern.innermostMuonStationWithHits(), L1Analysis::L1AnalysisEvent.L1AnalysisEvent(), LaserSorter.LaserSorter(), main(), pos::PixelConfigFile.makeNewVersion(), FedRawDataInputSource.maybeOpenNewLumiSection(), MatacqProducer.mcheck(), l1t::L1TCaloStage1LutWriter.openOutputFile(), reco::HitPattern.outermostMuonStationWithHits(), TauSpinnerCMS.produce(), NuclearInteractionSimulator.read(), fastsim::NuclearInteraction.read(), FedRawDataInputSource.readSupervisor(), LaserSorter.restoreStreamsOfLumiBlock(), L1MuGMTMatrix< T >.rowAny(), DTLocalTriggerTest.runClientDiagnostic(), DTLocalTriggerTPTest.runClientDiagnostic(), DTLocalTriggerLutTest.runClientDiagnostic(), DTTriggerLutTest.runClientDiagnostic(), DTLocalTriggerEfficiencyTest.runClientDiagnostic(), DTTriggerEfficiencyTest.runClientDiagnostic(), pos::PixelROCStatus.set(), CalibCoeff.setStatus(), GEMRegion.station(), LaserSorter.streamFileName(), evf::EvFDaqDirector.updateFuLock(), and WatcherStreamFileReader.WatcherStreamFileReader().

trackingPlots.statyadjust

Definition at line 358 of file trackingPlots.py.

trackingPlots.timePlotter

Definition at line 1867 of file trackingPlots.py.

trackingPlots.Timing

Definition at line 1874 of file trackingPlots.py.

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

trackingPlots.title

Definition at line 179 of file trackingPlots.py.

trackingPlots.tpPlotter
trackingPlots.TrackingSummary

Definition at line 1340 of file trackingPlots.py.

trackingPlots.True

Definition at line 179 of file trackingPlots.py.

trackingPlots.xbinlabeloption

Definition at line 221 of file trackingPlots.py.

trackingPlots.xbinlabelsize

Definition at line 221 of file trackingPlots.py.

trackingPlots.xlog

Definition at line 179 of file trackingPlots.py.

trackingPlots.xmax

Definition at line 202 of file trackingPlots.py.

trackingPlots.xmin

Definition at line 202 of file trackingPlots.py.

trackingPlots.xquantity

Definition at line 254 of file trackingPlots.py.

trackingPlots.xtitle
trackingPlots.ylog

Definition at line 360 of file trackingPlots.py.

trackingPlots.ymax

Definition at line 179 of file trackingPlots.py.

trackingPlots.ymin

Definition at line 358 of file trackingPlots.py.

trackingPlots.ytitle
trackingPlots.zaxis
trackingPlots.ztitle

Definition at line 288 of file trackingPlots.py.