Skip to content

Commit

Permalink
revert to old GBRForestTools interface
Browse files Browse the repository at this point in the history
  • Loading branch information
bainbrid committed Feb 5, 2019
1 parent f3020dd commit e2fb224
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include "CommonTools/MVAUtils/interface/GBRForestTools.h"
#include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
#include "DataFormats/EgammaReco/interface/SuperCluster.h"
#include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
Expand All @@ -8,6 +7,7 @@
#include "DataFormats/TrackReco/interface/TrackFwd.h"
#include "FWCore/ParameterSet/interface/FileInPath.h"
#include "RecoEgamma/EgammaElectronProducers/interface/LowPtGsfElectronIDHeavyObjectCache.h"
#include "RecoEgamma/EgammaTools/interface/GBRForestTools.h"
#include <string>

namespace lowptgsfeleid {
Expand Down Expand Up @@ -112,7 +112,7 @@ namespace lowptgsfeleid {
}
for ( auto& weights : conf.getParameter< std::vector<std::string> >("ModelWeights") )
{
models_.push_back(createGBRForest(edm::FileInPath(weights)));
models_.push_back(GBRForestTools::createGBRForest(edm::FileInPath(weights)));
}
for ( auto& thresh : conf.getParameter< std::vector<double> >("ModelThresholds") )
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include "CommonTools/MVAUtils/interface/GBRForestTools.h"
#include "DataFormats/BeamSpot/interface/BeamSpot.h"
#include "DataFormats/ParticleFlowReco/interface/PFCluster.h"
#include "DataFormats/ParticleFlowReco/interface/PFClusterFwd.h"
Expand Down

0 comments on commit e2fb224

Please sign in to comment.