Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force updateGrid in expectedFromGrid HybridNew.cc (cms-analysis#941)
* Force updateGrid in expectedFromGrid HybridNew.cc if using `--noUpdateGrid` with `--expectedFromGrid` and the grid file was not produced using the same value for expectedFromGrid, then the limit will be identical to the result without `--expectedFromGrid`. With this change, we now *force* an update if `--expectedFromGrid` option set. Usual workflow is to produce the grid (without this option) and then calculate expected results after, so this works with this workflow if user adds `--noUpdateGrid` * Check if really necessary to update grid with expectedFromGrid based on quantileFrom gridfile --------- Co-authored-by: Nick Wardle <nckw@cern.ch>
- Loading branch information