Skip to content

Commit

Permalink
Add fallback to plotting
Browse files Browse the repository at this point in the history
  • Loading branch information
makortel committed Nov 21, 2018
1 parent f76bb62 commit ec9462d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Validation/RecoTrack/python/plotting/trackingPlots.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,8 @@ def _trackingSubFoldersFallbackFromPV(subfolder):
return subfolder.replace("trackingParticleRecoAsssociation", "trackingParticleRecoAsssociationSignal")
def _trackingSubFoldersFallbackConversion(subfolder):
return subfolder.replace("quickAssociatorByHits", "quickAssociatorByHitsConversion")
def _trackingSubFoldersFallbackPreSplitting(subfolder):
return subfolder.replace("quickAssociatorByHits", "quickAssociatorByHitsPreSplitting")

# Additional "quality" flags than highPurity. In a separate list to
# allow customization.
Expand Down Expand Up @@ -1294,7 +1296,8 @@ def _appendTrackingPlots(lastDirName, name, algoPlots, onlyForPileup=False, only
], **limiters)
common = dict(fallbackDqmSubFolders=[
_trackingSubFoldersFallbackSLHC_Phase1PU140,
_trackingSubFoldersFallbackFromPV, _trackingSubFoldersFallbackConversion])
_trackingSubFoldersFallbackFromPV, _trackingSubFoldersFallbackConversion,
_trackingSubFoldersFallbackPreSplitting])
plotter.append(name, folders, TrackingPlotFolder(*algoPlots, **commonForTPF), **common)
extendedPlots = []
if building:
Expand Down

0 comments on commit ec9462d

Please sign in to comment.