#include "CondFormats/GBRForest/interface/GBRTree.h"

//_______________________________________________________________________
GBRTree::GBRTree(int nIntermediate, int nTerminal) {
  //special case, root node is terminal
  if (nIntermediate == 0)
    nIntermediate = 1;

  fCutIndices.reserve(nIntermediate);
  fCutVals.reserve(nIntermediate);
  fLeftIndices.reserve(nIntermediate);
  fRightIndices.reserve(nIntermediate);
  fResponses.reserve(nTerminal);
}
