Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite tracking MC validation scripts #8408

Merged
merged 31 commits into from
Mar 20, 2015

Conversation

makortel
Copy link
Contributor

This PR contains a rewrite of the tracking validation scripts. Main new features are

  • implemented completely in python (it is also faster)
  • separate script for vertex plots, using the same infrastructure
  • the required DQM files are downloaded semi-automatically
  • allows to produce plots for a single validation campaign by running the script only once
    • earlier one had to run the script many times toggling various variables back and forth to cover all samples
  • easier to maintain (both for new campaigns and new plots)

I have been using the script for tracking validation since 72X, so this is mainly to get it integrated for easier use by others.

Should not have any effect on standard workflows.

@rovere @VinInn

…fficiency to FakeDuplicate

Aim is to take as much as possible from the DQM files, after which a
custom calculation is needed only for fake+duplicate rate. Therefore
rename Efficiency class (and adjust the implementation) to emphasize
this functionality.
…, in SimpleValidation move algoDirMap from constructor to doPlots()
…esult by given amount

Also remove a spurious printout.
Main idea is that the name-argument of Plot could produce a
non-histogram (typically a number), and then this function can
transform them to one or more histograms
- Use style for HIST also if the histogram is a TGraph and drawStyle
  contains L (i.e. line).
- Pass drawStyle to Draw()
- Do not pass "F" to TLegend.AddEntry()
Use case is that the histogramModifier decreases the number of
histograms, so we need alternative mechanism to deliver the legend
labels.
- Possibility to specify TFile-specific subdirectory
- Possibility to give plot output format in Plotter.draw()
- New plots: number of tracks vs. DeltaR, dz, dxy
- New plots: TrackingParticle lip and tip
- GTs for new releases
- Possibility to override a GT per sample and per release
@deguio
Copy link
Contributor

deguio commented Mar 20, 2015

+1
thanks @makortel

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_5_X IBs unless changes (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @nclopezo, @ktf, @smuzaffar

@davidlange6
Copy link
Contributor

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants