class TMVA::BDTEventWrapper

Function Members (Methods)

public:
~BDTEventWrapper()
TMVA::BDTEventWrapperBDTEventWrapper(const TMVA::Event*)
TMVA::BDTEventWrapperBDTEventWrapper(const TMVA::BDTEventWrapper&)
Double_tGetCumulativeWeight(bool type) const
Double_tGetVal() const
const TMVA::Event*operator*() const
booloperator<(const TMVA::BDTEventWrapper& other) const
voidSetCumulativeWeight(bool type, Double_t weight)
static voidSetVarIndex(Int_t iVar)

Data Members

private:
Double_tfBkgWeightcumulative background weight for splitting
const TMVA::Event*fEventpointer to the event
Double_tfSigWeightsame for the signal weights
static Int_tfVarIndexindex of the variable to sort on

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

BDTEventWrapper(const Event* e)
 constuctor
~BDTEventWrapper()
 destructor
void SetCumulativeWeight(bool type, Double_t weight)
 Set the accumulated weight, for sorted signal/background events

    * @param fType - true for signal, false for background
    * @param weight - the total weight

Double_t GetCumulativeWeight(bool type) const
 Get the accumulated weight
bool operator<(const TMVA::BDTEventWrapper& other) const
BDTEventWrapper(const Event*)
void SetVarIndex(Int_t iVar)
 Set the index of the variable to compare on

     * @param iVar - index of the variable in fEvent to use

Double_t GetVal()
 Return the value of variable fVarIndex for this event

     * @return value of variable fVarIndex for this event

const Event* operator*()
{ return fEvent; }

Last change: Sat Nov 1 10:21:29 2008
Last generated: 2008-11-01 10:21
Copyright (c) 2007: *

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.