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

Don't do public accessor workarounds if not needed #875

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

guitargeek
Copy link
Contributor

Some public accessor hacks are now hidden behind preprocessor macros. This will serve as a reminder to remove these workarounds in the far future when combine doesn't support old ROOT versions anymore.

Some public accessor hacks are now hidden behind preprocessor macros.
This will serve as a reminder to remove these workarounds in the far
future when combine doesn't support old ROOT versions anymore.
@nucleosynthesis
Copy link
Contributor

@guitargeek - I don't think we have any specific checks other than compilation in the CI. Did you try running combine on a tutorial datacard to make sure nothing breaks with this?

@guitargeek
Copy link
Contributor Author

Hi Nick, thanks for you comment!

I think the CI actually does more checks other than compilation:
https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit/actions/runs/7085197338/job/19280967946?pr=875

If you expand the logs for the "Run tests" step, you can see what it does.

It this enough to validate the changes in this PR, or you want me to do something else?

@nucleosynthesis
Copy link
Contributor

Ah right, these have been added now - that was the kind of thing I was after - thanks!

@nucleosynthesis
Copy link
Contributor

Shall we merge this?

@nucleosynthesis nucleosynthesis merged commit 7a408dd into cms-analysis:main Dec 20, 2023
6 checks passed
@guitargeek guitargeek deleted the public_accessors branch December 20, 2023 17:26
@guitargeek
Copy link
Contributor Author

Yes, thanks!

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.

2 participants