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

Make python3 compatible (Part 2) #37

Merged
merged 21 commits into from
Jul 25, 2023
Merged

Conversation

IzaakWN
Copy link
Collaborator

@IzaakWN IzaakWN commented Jun 20, 2023

Follow up on PR #36:

  • Make common plotting scrips python3 compatible.
  • ROOT.Doublectypes.c_double for passing by reference in python, see https://root.cern/manual/python/#passing-fundamental-types-by-reference
  • len(zip(...))len(list(zip(...))).
  • Add rootrepr to print ROOT objects in more informative & readable way.
  • Add ticks on top and right side of frames.
  • Fix segmentation fault due to deletehist in MergedSample.gethist
  • ...

Also sneaked in other stuff:

  • Add option to compress pico tuples.
  • Add options for plotting with Plot, Stack.
  • Expand Ratio to allow for single numerator for all histograms (as opposed to single denominator)
  • Add beam spot corrections module (for g–2 measurement).
  • Move ensureTFile, gethist to new TauFW.common.tools.root module (this might cause some conflicts with other people's setups).
  • Add HLT_Iso*Mu24 to json for 2016.
  • ...

@IzaakWN IzaakWN changed the title Make python3 compatible Make python3 compatible (Part 2) Jul 20, 2023
@IzaakWN IzaakWN marked this pull request as ready for review July 25, 2023 08:31
@IzaakWN IzaakWN merged commit 06d9680 into cms-tau-pog:master Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant