Skip to content

Commit

Permalink
Merge pull request #1 from UAEDF-tomc/patch-1
Browse files Browse the repository at this point in the history
Update QGMLPCalculator.cc
  • Loading branch information
amarini committed Jul 18, 2013
2 parents def2d93 + 9c665c3 commit b1700c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EightTeV/src/QGMLPCalculator.cc
Expand Up @@ -46,7 +46,7 @@ Float_t QGMLPCalculator::QGvalue(std::map<TString, Float_t> variables){

Float_t QGMLPCalculator::QGvalueInBin(std::map<TString, Float_t> variables, TString region, Int_t ptBin){
for(std::map<TString, Float_t>::iterator it = mvaVariables_corr.begin(); it != mvaVariables_corr.end(); ++it){
mvaVariables_corr[it->first] = variables[it->first] - corrections[region + str(ptBin) + "_" + it->first]*variables["rho"];
mvaVariables_corr[it->first] = variables[it->first] - corrections[it->first + "_" + region + str(ptBin)]*variables["rho"];
}
if(useProbValue) return reader->GetProba(TString(mva) + region + str(ptBin));
else return reader->EvaluateMVA(TString(mva) + region + str(ptBin));
Expand Down

0 comments on commit b1700c0

Please sign in to comment.