Main Page
Namespaces
Classes
Package Documentation
CommonTools
MVAUtils
interface
GBRForestTools.h
Go to the documentation of this file.
1
#ifndef CommonTools_MVAUtils_GBRForestTools_h
2
#define CommonTools_MVAUtils_GBRForestTools_h
3
4
//--------------------------------------------------------------------------------------------------
5
//
6
// GRBForestTools
7
//
8
// Utility to parse an XML weights files specifying an ensemble of decision trees into a GRBForest.
9
//
10
// Author: Jonas Rembser
11
//--------------------------------------------------------------------------------------------------
12
13
14
#include "
CondFormats/EgammaObjects/interface/GBRForest.h
"
15
#include "
FWCore/ParameterSet/interface/FileInPath.h
"
16
17
#include <memory>
18
19
// Create a GBRForest from an XML weight file
20
std::unique_ptr<const GBRForest>
createGBRForest
(
const
std::string
&weightsFile);
21
std::unique_ptr<const GBRForest>
createGBRForest
(
const
edm::FileInPath
&weightsFile);
22
23
// Overloaded versions which are taking string vectors by reference to strore the variable names in
24
std::unique_ptr<const GBRForest>
createGBRForest
(
const
std::string
&weightsFile, std::vector<std::string> &
varNames
);
25
std::unique_ptr<const GBRForest>
createGBRForest
(
const
edm::FileInPath
&weightsFile, std::vector<std::string> &
varNames
);
26
27
#endif
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
FileInPath.h
edm::FileInPath
Definition:
FileInPath.h:68
varNames
char const * varNames[]
Definition:
PulseShapeFitOOTPileupCorrection.cc:82
GBRForest.h
createGBRForest
std::unique_ptr< const GBRForest > createGBRForest(const std::string &weightsFile)
Definition:
GBRForestTools.cc:271
Generated for CMSSW Reference Manual by
1.8.11