Definition at line 31 of file BDTEventWrapper.h.
Public Member Functions | |
BDTEventWrapper (const Event *) | |
Constructor. | |
~BDTEventWrapper () | |
Destructor. | |
Double_t | GetCumulativeWeight (Bool_t type) const |
Get the accumulated weight. | |
Double_t | GetVal () const |
Double_t | GetVal (Int_t var) const |
const Event * | operator* () const |
Bool_t | operator< (const BDTEventWrapper &other) const |
void | SetCumulativeWeight (Bool_t type, Double_t weight) |
Set the accumulated weight, for sorted signal/background events. | |
Static Public Member Functions | |
static void | SetVarIndex (Int_t iVar) |
Static Private Member Functions | |
static Int_t & | GetVarIndex () |
Private Attributes | |
Double_t | fBkgWeight |
cumulative background weight for splitting | |
const Event * | fEvent |
Double_t | fSigWeight |
same for the signal weights | |
#include <TMVA/BDTEventWrapper.h>
Constructor.
Definition at line 36 of file BDTEventWrapper.cxx.
BDTEventWrapper::~BDTEventWrapper | ( | ) |
Destructor.
Definition at line 45 of file BDTEventWrapper.cxx.
Get the accumulated weight.
type | - true for signal, false for background |
Definition at line 64 of file BDTEventWrapper.cxx.
|
inline |
Definition at line 65 of file BDTEventWrapper.h.
Definition at line 68 of file BDTEventWrapper.h.
Definition at line 73 of file BDTEventWrapper.h.
Definition at line 66 of file BDTEventWrapper.h.
|
inline |
Definition at line 82 of file BDTEventWrapper.h.
Set the accumulated weight, for sorted signal/background events.
type | - true for signal, false for background |
weight | - the total weight |
Definition at line 54 of file BDTEventWrapper.cxx.
iVar | - index of the variable in fEvent to use |
Definition at line 59 of file BDTEventWrapper.h.
|
private |
cumulative background weight for splitting
Definition at line 77 of file BDTEventWrapper.h.
Definition at line 75 of file BDTEventWrapper.h.
|
private |
same for the signal weights
Definition at line 78 of file BDTEventWrapper.h.