Skip to content

Commit dbd7bec

Browse files
committed
Merge pull request #22 from gpetruc/CascadeMinimizer-run-option-fix
avoid conflict with --run option of Asymptotic
2 parents 15c1ee2 + 6bfb45f commit dbd7bec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CascadeMinimizer.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ void CascadeMinimizer::initOptions()
373373
("cminOldRobustMinimize", boost::program_options::value<bool>(&oldFallback_)->default_value(oldFallback_), "Use the old 'robustMinimize' logic in addition to the cascade")
374374
("cminDefaultMinimizerType",boost::program_options::value<std::string>(&defaultMinimizerType_)->default_value(defaultMinimizerType_), "Set the default minimizer Type")
375375
("cminDefaultMinimizerAlgo",boost::program_options::value<std::string>(&defaultMinimizerAlgo_)->default_value(defaultMinimizerAlgo_), "Set the default minimizer Algo")
376-
("runAllDiscreteCombinations", "Run all combinations for discrete nuisances")
376+
("cminRunAllDiscreteCombinations", "Run all combinations for discrete nuisances")
377377
//("cminNuisancePruning", boost::program_options::value<float>(&nuisancePruningThreshold_)->default_value(nuisancePruningThreshold_), "if non-zero, discard constrained nuisances whose effect on the NLL when changing by 0.2*range is less than the absolute value of the threshold; if threshold is negative, repeat afterwards the fit with these floating")
378378

379379
//("cminDefaultIntegratorEpsAbs", boost::program_options::value<double>(), "RooAbsReal::defaultIntegratorConfig()->setEpsAbs(x)")
@@ -395,7 +395,7 @@ void CascadeMinimizer::applyOptions(const boost::program_options::variables_map
395395
poiOnlyFit_ = vm.count("cminPoiOnlyFit");
396396
singleNuisFit_ = vm.count("cminSingleNuisFit");
397397
setZeroPoint_ = vm.count("cminSetZeroPoint");
398-
runShortCombinations = !(vm.count("runAllDiscreteCombinations"));
398+
runShortCombinations = !(vm.count("cminRunAllDiscreteCombinations"));
399399
if (vm.count("cminFallbackAlgo")) {
400400
vector<string> falls(vm["cminFallbackAlgo"].as<vector<string> >());
401401
for (vector<string>::const_iterator it = falls.begin(), ed = falls.end(); it != ed; ++it) {

0 commit comments

Comments
 (0)