Skip to content

Commit

Permalink
Merge pull request #537 from cms-analysis/102x-remove-old-method-names
Browse files Browse the repository at this point in the history
Remove old method names in 102x
  • Loading branch information
ajgilbert authored Apr 12, 2019
2 parents 01ffa73 + 996fe2c commit fa52dec
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions bin/combine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,17 +144,6 @@ int main(int argc, char **argv) {
std::cout << " <<< Combine >>> " << std::endl;
}

// Temporary printout for rename of methods ...
std::map<std::string,std::string> renames ;
renames["MaxLikelihoodFit"] = "FitDiagnostics";
renames["Asymptotic"] = "AsymptoticLimits";
renames["ProfileLikelihood"] = "Significance";
map<string, string >::const_iterator it_rename = renames.find(whichMethod);
if ( it_rename != renames.end()) {
cout << " WARNING -- From combine v7, method " << whichMethod << " has been renamed to " << it_rename->second << endl;
whichMethod = it_rename->second ;
}

// now search for algo, and add option
map<string, LimitAlgo *>::const_iterator it_algo = methods.find(whichMethod);
if (it_algo == methods.end()) {
Expand Down

0 comments on commit fa52dec

Please sign in to comment.