Skip to content

Commit

Permalink
Merge pull request #76 from OlivierBondu/scale_factor
Browse files Browse the repository at this point in the history
Renaming
  • Loading branch information
OlivierBondu committed Jan 30, 2016
2 parents 2b9dea4 + 2ce4fe3 commit 872ab99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions interface/HHAnalyzer.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include <cp3_llbb/Framework/interface/Analyzer.h>
#include <cp3_llbb/Framework/interface/Category.h>
#include <cp3_llbb/Framework/interface/ScaleFactorParser.h>
#include <cp3_llbb/Framework/interface/BinnedValuesJSONParser.h>
#include <cp3_llbb/HHAnalysis/interface/Types.h>

#include <Math/VectorUtil.h>
Expand Down Expand Up @@ -56,8 +56,8 @@ class HHAnalyzer: public Framework::Analyzer {
const edm::ParameterSet& hlt_efficiencies = config.getUntrackedParameter<edm::ParameterSet>("hlt_efficiencies");
std::vector<std::string> hlt_efficiencies_name = hlt_efficiencies.getParameterNames();
for (const std::string& hlt_efficiency: hlt_efficiencies_name) {
ScaleFactorParser parser(hlt_efficiencies.getUntrackedParameter<edm::FileInPath>(hlt_efficiency).fullPath());
m_hlt_efficiencies.emplace(hlt_efficiency, std::move(parser.get_scale_factor()));
BinnedValuesJSONParser parser(hlt_efficiencies.getUntrackedParameter<edm::FileInPath>(hlt_efficiency).fullPath());
m_hlt_efficiencies.emplace(hlt_efficiency, std::move(parser.get_values()));
}
}
}
Expand Down Expand Up @@ -135,7 +135,7 @@ class HHAnalyzer: public Framework::Analyzer {
std::string m_electron_medium_wp_name;
std::string m_electron_tight_wp_name;
bool m_applyBJetRegression;
std::map<std::string, ScaleFactor> m_hlt_efficiencies;
std::map<std::string, BinnedValues> m_hlt_efficiencies;

};

Expand Down

0 comments on commit 872ab99

Please sign in to comment.