src
CondFormats
GBRForest
src
GBRTree.cc
Go to the documentation of this file.
1
#include "
CondFormats/GBRForest/interface/GBRTree.h
"
2
3
//_______________________________________________________________________
4
GBRTree::GBRTree
(
int
nIntermediate,
int
nTerminal) {
5
//special case, root node is terminal
6
if
(nIntermediate == 0)
7
nIntermediate = 1;
8
9
fCutIndices
.reserve(nIntermediate);
10
fCutVals
.reserve(nIntermediate);
11
fLeftIndices
.reserve(nIntermediate);
12
fRightIndices
.reserve(nIntermediate);
13
fResponses
.reserve(nTerminal);
14
}
GBRTree::GBRTree
GBRTree()
Definition:
GBRTree.h:31
GBRTree::fRightIndices
std::vector< int > fRightIndices
Definition:
GBRTree.h:55
GBRTree::fResponses
std::vector< float > fResponses
Definition:
GBRTree.h:56
GBRTree::fCutVals
std::vector< float > fCutVals
Definition:
GBRTree.h:53
GBRTree::fLeftIndices
std::vector< int > fLeftIndices
Definition:
GBRTree.h:54
GBRTree.h
GBRTree::fCutIndices
std::vector< unsigned char > fCutIndices
Definition:
GBRTree.h:52
Generated for CMSSW Reference Manual by
1.8.14