Skip to content

Commit

Permalink
Merge pull request #22 from gpetruc/CascadeMinimizer-run-option-fix
Browse files Browse the repository at this point in the history
avoid conflict with --run option of Asymptotic
  • Loading branch information
gpetruc committed Aug 13, 2013
2 parents 15c1ee2 + 6bfb45f commit dbd7bec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CascadeMinimizer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ void CascadeMinimizer::initOptions()
("cminOldRobustMinimize", boost::program_options::value<bool>(&oldFallback_)->default_value(oldFallback_), "Use the old 'robustMinimize' logic in addition to the cascade")
("cminDefaultMinimizerType",boost::program_options::value<std::string>(&defaultMinimizerType_)->default_value(defaultMinimizerType_), "Set the default minimizer Type")
("cminDefaultMinimizerAlgo",boost::program_options::value<std::string>(&defaultMinimizerAlgo_)->default_value(defaultMinimizerAlgo_), "Set the default minimizer Algo")
("runAllDiscreteCombinations", "Run all combinations for discrete nuisances")
("cminRunAllDiscreteCombinations", "Run all combinations for discrete nuisances")
//("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")

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

0 comments on commit dbd7bec

Please sign in to comment.