CMS 3D CMS Logo

GBRTree.cc
Go to the documentation of this file.
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::fCutIndices
std::vector< unsigned char > fCutIndices
Definition: GBRTree.h:52
GBRTree::GBRTree
GBRTree()
Definition: GBRTree.h:31
GBRTree.h
GBRTree::fLeftIndices
std::vector< int > fLeftIndices
Definition: GBRTree.h:54
GBRTree::fRightIndices
std::vector< int > fRightIndices
Definition: GBRTree.h:55
GBRTree::fCutVals
std::vector< float > fCutVals
Definition: GBRTree.h:53
GBRTree::fResponses
std::vector< float > fResponses
Definition: GBRTree.h:56