Skip to content

Commit

Permalink
Merge pull request cms-sw#108 from nucleosynthesis/nckw-remove-spurio…
Browse files Browse the repository at this point in the history
…us-lowerbound-on-poi

Fixes cms-sw#107
  • Loading branch information
adavidzh committed Mar 5, 2014
2 parents d695ca1 + e2ce7ff commit 4e1808c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/HybridNew.cc
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,8 @@ std::auto_ptr<RooStats::HybridCalculator> HybridNew::create(RooWorkspace *w, Roo
if (testStat_ != "MLZ" && testStat_ != "Profile") r->setMax(rVal);
r->setVal(rVal);
if (testStat_ == "LHC" || testStat_ == "Profile") {
r->setConstant(false); r->setMin(0);
r->setConstant(false);
if (testStat == "LHC") r->setMin(0);
if (workingMode_ == MakeSignificance || workingMode_ == MakeSignificanceTestStatistics) {
r->setVal(0);
// r->removeMax(); // NO, this is done within the test statistics, and knowing the scale of the variable is useful
Expand Down

0 comments on commit 4e1808c

Please sign in to comment.