Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
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
#include "
CondFormats/GBRForest/interface/GBRForest.h
"
14
#include "
FWCore/ParameterSet/interface/FileInPath.h
"
15
16
#include <memory>
17
18
// Create a GBRForest from an XML weight file
19
std::unique_ptr<const GBRForest>
createGBRForest
(
const
std::string
&
weightsFile
);
20
std::unique_ptr<const GBRForest>
createGBRForest
(
const
edm::FileInPath
&
weightsFile
);
21
22
// Overloaded versions which are taking string vectors by reference to strore the variable names in
23
std::unique_ptr<const GBRForest>
createGBRForest
(
const
std::string
&
weightsFile
, std::vector<std::string> &
varNames
);
24
std::unique_ptr<const GBRForest>
createGBRForest
(
const
edm::FileInPath
&
weightsFile
,
25
std::vector<std::string> &
varNames
);
26
27
#endif
varNames
constexpr char const * varNames[]
Definition:
PulseShapeFitOOTPileupCorrection.cc:110
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
FileInPath.h
edm::FileInPath
Definition:
FileInPath.h:61
pfClustersFromHGC3DClusters_cfi.weightsFile
weightsFile
Definition:
pfClustersFromHGC3DClusters_cfi.py:29
GBRForest.h
createGBRForest
std::unique_ptr< const GBRForest > createGBRForest(const std::string &weightsFile)
Definition:
GBRForestTools.cc:270
Generated for CMSSW Reference Manual by
1.8.14