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

Allow ChannelCompatibilityCheck to skip channels with no signal templates #805

Merged
merged 1 commit into from Jan 12, 2023

Conversation

Dominic-Stafford
Copy link
Contributor

Fixes #801 by skipping channels where the POI was not fitted due to missing signal templates in CRs. Also added a continue statement in FitterAlgoBase.cc to skip parameters which are not present also if the analytic minimiser is not used, to avoid a seg fault at RooRealVar &rf = dynamic_cast<RooRealVar &>(*rfloat); (I only encountered this issue with the latest versions of combine due to the switch of the default Minimizer from non-analytic to analytic). I haven't checked if this latter change affects other scripts, as I wasn't sure which tests to do, but can do some if requested.

@ajgilbert
Copy link
Collaborator

Thanks for this. We'll merge this shortly, but note that we don't anticipate a new combine release based on the 102x branch, instead developments are taking place on the 112x branch, where we've also ported this PR.

@ajgilbert ajgilbert merged commit 8cfc616 into cms-analysis:102x Jan 12, 2023
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.

Segfault in ChannelCompatibilityCheck for control regions not containing signal
2 participants