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
 
 _dupandfakeDxyDzBS
 
 _dupandfakeDxyDzPV
 
 _dupandfakeHitsLayers
 
 _dupandfakePosDeltaRPU
 
 _dupandfakePtEtaPhi
 
 _dupandfakeSeedingPlots
 
 _dupandfakeSeedingTable
 
 _duplicateAlgo
 
 _effandfakeDxyDzBS
 
 _effandfakeDxyDzPV
 
 _effandfakeHitsLayers
 
 _effandfakePosDeltaRPU
 
 _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
 
 _min3DLayers
 
 _minHits
 
 _minLayers
 
 _minMaxMVA
 
 _minMaxN
 
 _minMaxResol
 
 _minMaxTracks
 
 _minPU
 
 _minResidualCotTheta
 
 _minResidualDxy
 
 _minResidualDz
 
 _minResidualPhi
 
 _minResidualPt
 
 _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
 
 _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
 
 common
 
 drawStyle
 
 dup
 
 effopts
 
 fakeopts
 
 fallback
 
 False
 
 fit
 
 HLT
 
 hp
 
 IgnoreCommandLineOptions
 
 ignoreMissingBins
 
 isRate
 
 legend
 
 legendDh
 
 legendDw
 
 legendDx
 
 legendDy
 
 loopSubFolders
 
 ncols
 
 normalizeToUnitArea
 
 onlyForPileup
 
 other
 
 page
 
 plotter
 
 plotterExt
 
 plotterHLT
 
 plotterHLTExt
 
 profileX
 
 purpose
 
 ratioUncertainty
 
 reco
 
 removeEmptyBins
 
 reorder
 
 scale
 
 seeding
 
 selectedTracks
 
 selection
 
 stat
 
 statyadjust
 
 timePlotter
 
 Timing
 
 title
 
 tpPlotter
 
 True
 
 xbinlabeloption
 
 xbinlabelsize
 
 xinlabeloption
 
 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 1262 of file trackingPlots.py.

References _trackingFolders(), and cmsPerfStripChart.dict.

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

631 def _collhelper(name):
632  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 670 of file trackingPlots.py.

References _summaryBinRename(), and cmsPerfStripChart.dict.

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

References ALCARECOTkAlBeamHalo_cff.filter.

Referenced by trackingPlots.TrackingTimingTable._getValues().

1537 def _iterModuleMap(includeConvStep=True, onlyConvStep=False):
1538  iterations = _iterations
1539  if not includeConvStep:
1540  iterations = filter(lambda i: i.name() != "ConvStep", iterations)
1541  if onlyConvStep:
1542  iterations = filter(lambda i: i.name() == "ConvStep", iterations)
1543  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 102 of file trackingPlots.py.

References _makeFakeDist(), and cmsPerfStripChart.dict.

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

Definition at line 116 of file trackingPlots.py.

References cmsPerfStripChart.dict.

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

Definition at line 62 of file trackingPlots.py.

References cmsPerfStripChart.dict.

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

Definition at line 99 of file trackingPlots.py.

Referenced by _makeDistPlots().

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

Definition at line 81 of file trackingPlots.py.

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

Definition at line 128 of file trackingPlots.py.

References cmsPerfStripChart.dict.

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

Definition at line 569 of file trackingPlots.py.

References python.rootplot.root2matplotlib.replace().

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

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

Definition at line 40 of file trackingPlots.py.

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

Definition at line 1544 of file trackingPlots.py.

1545  def getProp(prop):
1546  ret = []
1547  for i in _iterations:
1548  if i.name() == "ConvStep":
1549  continue
1550  ret.extend(getattr(i, prop)())
1551  return ret
1552 
1553  return collections.OrderedDict([
1554  ("ClusterMask", getProp("clusterMasking")),
1555  ("Seeding", getProp("seeding")),
1556  ("Building", getProp("building")),
1557  ("Fitting", getProp("fit")),
1558  ("Selection", getProp("selection")),
1559  ("Other", getProp("other"))
1560  ])
1561 
def trackingPlots._summaryBinRename (   binLabel,
  highPurity,
  byOriginalAlgo,
  byAlgoMask,
  ptCut,
  seeds 
)
private

Definition at line 635 of file trackingPlots.py.

References _mapCollectionToAlgoQuality(), and pileupCalc.upper.

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

635 def _summaryBinRename(binLabel, highPurity, byOriginalAlgo, byAlgoMask, ptCut, seeds):
636  (algo, quality) = _mapCollectionToAlgoQuality(binLabel)
637  if algo == "ootb":
638  algo = "generalTracks"
639  ret = None
640 
641  if byOriginalAlgo:
642  if algo != "generalTracks" and "ByOriginalAlgo" not in quality: # keep generalTracks bin as well
643  return None
644  quality = quality.replace("ByOriginalAlgo", "")
645  if byAlgoMask:
646  if algo != "generalTracks" and "ByAlgoMask" not in quality: # keep generalTracks bin as well
647  return None
648  quality = quality.replace("ByAlgoMask", "")
649  if ptCut:
650  if "Pt09" not in quality:
651  return None
652  quality = quality.replace("Pt09", "")
653 
654  if highPurity:
655  if quality == "highPurity":
656  ret = algo
657  elif seeds:
658  i_seeds = quality.find("seeds")
659  if i_seeds == 0:
660  ret = algo
661  seedSubColl = quality[i_seeds+5:]
662  if seedSubColl != "":
663  ret += seedSubColl[0].upper() + seedSubColl[1:]
664  else:
665  if quality == "":
666  ret = algo
667 
668  return ret
669 
def _summaryBinRename(binLabel, highPurity, byOriginalAlgo, byAlgoMask, ptCut, seeds)
def _mapCollectionToAlgoQuality(collName)
def trackingPlots._trackingFolders (   lastDirName = "Track")
private

Definition at line 1156 of file trackingPlots.py.

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

1156 def _trackingFolders(lastDirName="Track"):
1157  return [
1158  "DQMData/Run 1/Tracking/Run summary/"+lastDirName,
1159  "DQMData/Tracking/"+lastDirName,
1160  "DQMData/Run 1/RecoTrackV/Run summary/"+lastDirName,
1161  "DQMData/RecoTrackV/"+lastDirName,
1162  ]
1163 
def _trackingFolders(lastDirName="Track")
def trackingPlots._trackingRefFileFallbackSLHC_Phase1PU140 (   path)
private

Definition at line 545 of file trackingPlots.py.

546  for (old, new) in [("initialStep", "iter0"),
547  ("highPtTripletStep", "iter1"),
548  ("lowPtQuadStep", "iter2"),
549  ("lowPtTripletStep", "iter3"),
550  ("detachedQuadStep", "iter4"),
551  ("pixelPairStep", "iter5"),
552  ("muonSeededStepInOut", "iter9"),
553  ("muonSeededStepOutIn", "iter10")]:
554  path = path.replace(old, new)
555  return path
556 
def _trackingRefFileFallbackSLHC_Phase1PU140(path)
def trackingPlots._trackingSubFoldersFallbackConversion (   subfolder)
private

Definition at line 559 of file trackingPlots.py.

560  return subfolder.replace("quickAssociatorByHits", "quickAssociatorByHitsConversion")
561 
562 # Additional "quality" flags than highPurity. In a separate list to
563 # allow customization.
def _trackingSubFoldersFallbackConversion(subfolder)
def trackingPlots._trackingSubFoldersFallbackFromPV (   subfolder)
private

Definition at line 557 of file trackingPlots.py.

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

Definition at line 531 of file trackingPlots.py.

532  ret = subfolder.replace("trackingParticleRecoAsssociation", "AssociatorByHitsRecoDenom")
533  for (old, new) in [("InitialStep", "Zero"),
534  ("HighPtTripletStep", "First"),
535  ("LowPtQuadStep", "Second"),
536  ("LowPtTripletStep", "Third"),
537  ("DetachedQuadStep", "Fourth"),
538  ("PixelPairStep", "Fifth"),
539  ("MuonSeededStepInOut", "Ninth"),
540  ("MuonSeededStepOutIn", "Tenth")]:
541  ret = ret.replace(old, new)
542  if ret == subfolder:
543  return None
544  return ret
def _trackingSubFoldersFallbackSLHC_Phase1PU140(subfolder)

Variable Documentation

trackingPlots._additionalTrackQualities
private

Definition at line 564 of file trackingPlots.py.

trackingPlots._algos_common
private

Definition at line 214 of file trackingPlots.py.

trackingPlots._chargemisid
private

Definition at line 335 of file trackingPlots.py.

trackingPlots._collLabelMap
private

Definition at line 633 of file trackingPlots.py.

trackingPlots._collLabelMapHp
private

Definition at line 634 of file trackingPlots.py.

trackingPlots._common
private

PackedCandidate plots.

Definition at line 206 of file trackingPlots.py.

trackingPlots._common2
private

Definition at line 266 of file trackingPlots.py.

trackingPlots._commonLabelSize
private

Definition at line 753 of file trackingPlots.py.

trackingPlots._commonStatus
private

Definition at line 750 of file trackingPlots.py.

trackingPlots._dedx
private

Definition at line 326 of file trackingPlots.py.

trackingPlots._dupandfakeChi2Seeding
private

Definition at line 255 of file trackingPlots.py.

trackingPlots._dupandfakeDxyDzBS
private

Definition at line 227 of file trackingPlots.py.

trackingPlots._dupandfakeDxyDzPV
private

Definition at line 232 of file trackingPlots.py.

trackingPlots._dupandfakeHitsLayers
private

Definition at line 239 of file trackingPlots.py.

trackingPlots._dupandfakePosDeltaRPU
private

Definition at line 246 of file trackingPlots.py.

trackingPlots._dupandfakePtEtaPhi
private

Definition at line 217 of file trackingPlots.py.

trackingPlots._dupandfakeSeedingPlots
private

Definition at line 254 of file trackingPlots.py.

trackingPlots._dupandfakeSeedingTable
private

Definition at line 1151 of file trackingPlots.py.

trackingPlots._duplicateAlgo
private

Definition at line 215 of file trackingPlots.py.

trackingPlots._effandfakeDxyDzBS
private

Definition at line 187 of file trackingPlots.py.

trackingPlots._effandfakeDxyDzPV
private

Definition at line 192 of file trackingPlots.py.

trackingPlots._effandfakeHitsLayers
private

Definition at line 199 of file trackingPlots.py.

trackingPlots._effandfakePosDeltaRPU
private

Definition at line 207 of file trackingPlots.py.

trackingPlots._effandfakePtEtaPhi
private

Definition at line 176 of file trackingPlots.py.

trackingPlots._extDistChi2Seeding
private

Definition at line 418 of file trackingPlots.py.

trackingPlots._extDistDxyDzBS
private

Definition at line 394 of file trackingPlots.py.

trackingPlots._extDistDxyDzPV
private

Definition at line 398 of file trackingPlots.py.

trackingPlots._extDistHitsLayers
private

Definition at line 404 of file trackingPlots.py.

trackingPlots._extDistPosDeltaR
private

Definition at line 411 of file trackingPlots.py.

trackingPlots._extDistPtEtaPhi
private

Extended set of plots.

Definition at line 389 of file trackingPlots.py.

trackingPlots._extDistSeedingPlots
private

Definition at line 417 of file trackingPlots.py.

trackingPlots._extDistSeedingTable
private

Definition at line 1153 of file trackingPlots.py.

trackingPlots._extDistSimDxyDzBS
private

Definition at line 460 of file trackingPlots.py.

trackingPlots._extDistSimDxyDzPV
private

Definition at line 464 of file trackingPlots.py.

trackingPlots._extDistSimHitsLayers
private

Definition at line 470 of file trackingPlots.py.

trackingPlots._extDistSimPosDeltaR
private

Definition at line 477 of file trackingPlots.py.

trackingPlots._extDistSimPtEtaPhi
private

Extended set of plots also for simulation.

Definition at line 455 of file trackingPlots.py.

trackingPlots._extendedPlots
private

Definition at line 1206 of file trackingPlots.py.

trackingPlots._extHitsLayers
private

Definition at line 446 of file trackingPlots.py.

trackingPlots._extNrecVsNsim
private

Definition at line 440 of file trackingPlots.py.

trackingPlots._extResidualEta
private

Definition at line 424 of file trackingPlots.py.

trackingPlots._extResidualPt
private

Definition at line 432 of file trackingPlots.py.

trackingPlots._hitsAndPt
private

Definition at line 344 of file trackingPlots.py.

trackingPlots._hltFolder
private

Definition at line 1327 of file trackingPlots.py.

trackingPlots._iteration_reorder
private

Definition at line 1777 of file trackingPlots.py.

trackingPlots._iterations
private

Definition at line 1389 of file trackingPlots.py.

trackingPlots._legendDy_1row
private

Definition at line 50 of file trackingPlots.py.

trackingPlots._legendDy_2rows
private

Definition at line 51 of file trackingPlots.py.

trackingPlots._legendDy_2rows_3cols
private

Definition at line 52 of file trackingPlots.py.

trackingPlots._legendDy_4rows
private

Definition at line 53 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 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 38 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 37 of file trackingPlots.py.

trackingPlots._minPU
private

Definition at line 35 of file trackingPlots.py.

trackingPlots._minResidualCotTheta
private

Definition at line 426 of file trackingPlots.py.

trackingPlots._minResidualDxy
private

Definition at line 427 of file trackingPlots.py.

trackingPlots._minResidualDz
private

Definition at line 428 of file trackingPlots.py.

trackingPlots._minResidualPhi
private

Definition at line 425 of file trackingPlots.py.

trackingPlots._minResidualPt
private

Definition at line 358 of file trackingPlots.py.

trackingPlots._packedCandidateCovarianceMatrix1
private

Definition at line 825 of file trackingPlots.py.

trackingPlots._packedCandidateCovarianceMatrix2
private

Definition at line 841 of file trackingPlots.py.

trackingPlots._packedCandidateFlow
private

Definition at line 757 of file trackingPlots.py.

trackingPlots._packedCandidateHits
private

Definition at line 773 of file trackingPlots.py.

trackingPlots._packedCandidateHitsHitPattern
private

Definition at line 765 of file trackingPlots.py.

trackingPlots._packedCandidateImpactParameter1
private

Definition at line 801 of file trackingPlots.py.

trackingPlots._packedCandidateImpactParameter2
private

Definition at line 816 of file trackingPlots.py.

trackingPlots._packedCandidateKinematics
private

Definition at line 868 of file trackingPlots.py.

trackingPlots._packedCandidateLayers
private

Definition at line 784 of file trackingPlots.py.

trackingPlots._packedCandidatePlots
private

Definition at line 1248 of file trackingPlots.py.

trackingPlots._packedCandidateVertex
private

Definition at line 859 of file trackingPlots.py.

trackingPlots._possibleTrackingColls
private

Definition at line 494 of file trackingPlots.py.

trackingPlots._possibleTrackingCollsOld
private

Definition at line 518 of file trackingPlots.py.

trackingPlots._possibleTrackingNonIterationColls
private

Summary plots.

Definition at line 490 of file trackingPlots.py.

trackingPlots._pulls
private

Definition at line 361 of file trackingPlots.py.

trackingPlots._pvassociation1
private

Definition at line 273 of file trackingPlots.py.

trackingPlots._pvassociation2
private

Definition at line 296 of file trackingPlots.py.

trackingPlots._pvassociation3
private

Definition at line 309 of file trackingPlots.py.

trackingPlots._recoBasedPlots
private

Definition at line 1172 of file trackingPlots.py.

trackingPlots._resolutionsEta
private

Definition at line 372 of file trackingPlots.py.

trackingPlots._resolutionsPt
private

Definition at line 380 of file trackingPlots.py.

trackingPlots._seedingBuildingPlots
private

Definition at line 1191 of file trackingPlots.py.

trackingPlots._seedingLayerSet_common
private

Definition at line 253 of file trackingPlots.py.

trackingPlots._simBasedPlots
private

Definition at line 1164 of file trackingPlots.py.

trackingPlots._summaryPlots
private

Definition at line 1224 of file trackingPlots.py.

trackingPlots._summaryPlotsHp
private

Definition at line 1234 of file trackingPlots.py.

trackingPlots._summaryPlotsSeeds
private

Definition at line 1244 of file trackingPlots.py.

trackingPlots._time_per_event_cpu
private

Definition at line 1713 of file trackingPlots.py.

trackingPlots._time_per_event_real
private

Definition at line 1714 of file trackingPlots.py.

trackingPlots._time_per_iter_cpu
private

Definition at line 1778 of file trackingPlots.py.

trackingPlots._time_per_iter_real
private

Definition at line 1779 of file trackingPlots.py.

trackingPlots._timeFolders
private

Definition at line 1836 of file trackingPlots.py.

trackingPlots._timing_iterationsCPU
private

Definition at line 1816 of file trackingPlots.py.

trackingPlots._timing_iterationsReal
private

Definition at line 1823 of file trackingPlots.py.

trackingPlots._timing_summaryCPU
private

Definition at line 1781 of file trackingPlots.py.

trackingPlots._timing_summaryReal
private

Definition at line 1798 of file trackingPlots.py.

trackingPlots._tplifetime
private

Definition at line 1852 of file trackingPlots.py.

trackingPlots._trackingIterationOrderHistogram
private

Definition at line 60 of file trackingPlots.py.

trackingPlots._tuning
private

Definition at line 353 of file trackingPlots.py.

trackingPlots.adjustMarginLeft

Definition at line 215 of file trackingPlots.py.

trackingPlots.adjustMarginRight

Definition at line 215 of file trackingPlots.py.

trackingPlots.assoc
trackingPlots.building

Definition at line 1397 of file trackingPlots.py.

trackingPlots.clusterMasking

Definition at line 1390 of file trackingPlots.py.

trackingPlots.common
trackingPlots.drawStyle

Definition at line 215 of file trackingPlots.py.

trackingPlots.dup
trackingPlots.effopts

Definition at line 210 of file trackingPlots.py.

trackingPlots.fakeopts

Definition at line 208 of file trackingPlots.py.

trackingPlots.fallback
trackingPlots.False

Definition at line 1847 of file trackingPlots.py.

trackingPlots.fit
trackingPlots.HLT

Definition at line 1332 of file trackingPlots.py.

trackingPlots.hp

Definition at line 1202 of file trackingPlots.py.

trackingPlots.IgnoreCommandLineOptions

Definition at line 7 of file trackingPlots.py.

trackingPlots.ignoreMissingBins

Definition at line 1778 of file trackingPlots.py.

trackingPlots.isRate

Definition at line 1152 of file trackingPlots.py.

trackingPlots.legend

Definition at line 1821 of file trackingPlots.py.

trackingPlots.legendDh

Definition at line 369 of file trackingPlots.py.

trackingPlots.legendDw

Definition at line 369 of file trackingPlots.py.

trackingPlots.legendDx

Definition at line 369 of file trackingPlots.py.

trackingPlots.legendDy

Definition at line 190 of file trackingPlots.py.

trackingPlots.loopSubFolders

Definition at line 1847 of file trackingPlots.py.

trackingPlots.ncols
trackingPlots.normalizeToUnitArea

Definition at line 354 of file trackingPlots.py.

trackingPlots.onlyForPileup

Definition at line 293 of file trackingPlots.py.

trackingPlots.other

Definition at line 1399 of file trackingPlots.py.

Referenced by reco::TrackKinematics.add(), HcalLutManager.addLutMap(), MuonHOAcceptance::deadIdRegion.adjacentPhi(), BowedSurfaceDeformation.BowedSurfaceDeformation(), edm::OwnArray< T, MAX_SIZE, P >.capacity(), CastorElectronicsMap.CastorElectronicsMap(), PerigeeMultiLTS.charge(), PerigeeLinearizedTrackState.charge(), edm::DetSet< CTPPSDiamondDigi >.clear(), edm::RefVector< reco::CastorTowerCollection, typename Ref< reco::CastorTowerCollection >::value_type, typename Ref< reco::CastorTowerCollection >::finder_type >.clear(), ReferenceTrajectoryFactory.clone(), ClusterSummary.ClusterSummary(), 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(), SiTrackerMultiRecHit.getAnnealingFactor(), 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(), dqmstorepb::ROOTFilePB_Histo.internal_default_instance(), dqmstorepb::ROOTFilePB.internal_default_instance(), 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(), LHERunInfoProduct.isProductEqual(), KinematicParticle.KinematicParticle(), KinematicState.KinematicState(), 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::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=(), ProxyBase< T, Cloner >.operator=(), DeepCopyPointerByClone< FullConvolutionWithMaterial >.operator=(), DeepCopyPointer< T >.operator=(), edm::RefToBase< T >.operator=(), Signal.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(), edm::SortedCollection< EcalRecHit >.pop_back(), ProcessCallGraph::ProcessType.ProcessType(), edm::PtrVectorBase.product(), edm::Principal.productLookup(), ProxyBase< T, Cloner >.ProxyBase(), 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(), ProxyBase< T, Cloner >.swap(), edm::Exception.swap(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >.swap(), edm::VecArray< std::pair< int, int >, 9 >.swap(), edm::RefCore.swap(), edm::RefVectorBase< key_type >.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 1332 of file trackingPlots.py.

trackingPlots.plotter

Definition at line 1260 of file trackingPlots.py.

Referenced by MuScleFitMuonSelector.~MuScleFitMuonSelector().

trackingPlots.plotterExt

Definition at line 1261 of file trackingPlots.py.

trackingPlots.plotterHLT

Definition at line 1330 of file trackingPlots.py.

trackingPlots.plotterHLTExt

Definition at line 1331 of file trackingPlots.py.

trackingPlots.profileX

Definition at line 441 of file trackingPlots.py.

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

trackingPlots.purpose
trackingPlots.ratioUncertainty

Definition at line 354 of file trackingPlots.py.

trackingPlots.reco
trackingPlots.removeEmptyBins

Definition at line 214 of file trackingPlots.py.

trackingPlots.reorder

Definition at line 1778 of file trackingPlots.py.

trackingPlots.scale

Definition at line 358 of file trackingPlots.py.

trackingPlots.seeding

Definition at line 1391 of file trackingPlots.py.

trackingPlots.selectedTracks
trackingPlots.selection

Definition at line 1409 of file trackingPlots.py.

trackingPlots.stat

Definition at line 349 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(), 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 347 of file trackingPlots.py.

trackingPlots.timePlotter

Definition at line 1840 of file trackingPlots.py.

trackingPlots.Timing

Definition at line 1847 of file trackingPlots.py.

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

trackingPlots.title

Definition at line 177 of file trackingPlots.py.

trackingPlots.tpPlotter
trackingPlots.True

Definition at line 177 of file trackingPlots.py.

trackingPlots.xbinlabeloption

Definition at line 758 of file trackingPlots.py.

trackingPlots.xbinlabelsize

Definition at line 214 of file trackingPlots.py.

trackingPlots.xinlabeloption

Definition at line 214 of file trackingPlots.py.

trackingPlots.xlog

Definition at line 177 of file trackingPlots.py.

trackingPlots.xmax

Definition at line 200 of file trackingPlots.py.

trackingPlots.xmin

Definition at line 200 of file trackingPlots.py.

trackingPlots.xquantity

Definition at line 247 of file trackingPlots.py.

trackingPlots.xtitle
trackingPlots.ylog

Definition at line 349 of file trackingPlots.py.

trackingPlots.ymax

Definition at line 177 of file trackingPlots.py.

trackingPlots.ymin

Definition at line 347 of file trackingPlots.py.

trackingPlots.ytitle
trackingPlots.zaxis
trackingPlots.ztitle

Definition at line 277 of file trackingPlots.py.