#ifndef ROOT_TMVA_BDTEventWrapper
#include "TMVA/BDTEventWrapper.h"
#endif
using namespace TMVA;
Int_t BDTEventWrapper::fVarIndex = 0;
BDTEventWrapper::BDTEventWrapper(const Event* e) : fEvent(e) {
fBkgWeight = 0.0;
fSigWeight = 0.0;
}
BDTEventWrapper::~BDTEventWrapper() {
}
void BDTEventWrapper::SetCumulativeWeight(bool type, Double_t weight) {
if(type) fSigWeight = weight;
else fBkgWeight = weight;
}
Double_t BDTEventWrapper::GetCumulativeWeight(bool type) const {
if(type) return fSigWeight;
return fBkgWeight;
}
Last change: Sat Nov 1 10:21:29 2008
Last generated: 2008-11-01 10:21
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.