2 #ifndef EGAMMAOBJECTS_GBRForest
3 #define EGAMMAOBJECTS_GBRForest
33 explicit GBRForest(
const TMVA::MethodBDT *bdt);
53 for (std::vector<GBRTree>::const_iterator it=
fTrees.begin(); it!=
fTrees.end(); ++it) {
54 response += it->GetResponse(vector);
62 return 2.0/(1.0+
exp(-2.0*response))-1;
double GetResponse(const float *vector) const
std::vector< GBRTree > & Trees()
void SetInitialResponse(double response)
std::vector< GBRTree > fTrees
const std::vector< GBRTree > & Trees() const
double GetClassifier(const float *vector) const