TMVA::BDTEventWrapper Class Reference

#include <BDTEventWrapper.h>

List of all members.

Public Member Functions

 BDTEventWrapper (const Event *)
 ~BDTEventWrapper ()
Bool_t operator< (const BDTEventWrapper &other) const
void SetCumulativeWeight (Bool_t type, Double_t weight)
Double_t GetCumulativeWeight (Bool_t type) const
Double_t GetVal () const
const Eventoperator * () const
 BDTEventWrapper (const Event *)
 ~BDTEventWrapper ()
Bool_t operator< (const BDTEventWrapper &other) const
void SetCumulativeWeight (Bool_t type, Double_t weight)
Double_t GetCumulativeWeight (Bool_t type) const
Double_t GetVal () const
const Eventoperator * () const

Static Public Member Functions

static void SetVarIndex (Int_t iVar)
static void SetVarIndex (Int_t iVar)

Private Attributes

const EventfEvent
Double_t fBkgWeight
Double_t fSigWeight
const EventfEvent

Static Private Attributes

static Int_t fVarIndex


Detailed Description

Definition at line 31 of file BDTEventWrapper.h.


Constructor & Destructor Documentation

BDTEventWrapper::BDTEventWrapper ( const Event  ) 

Definition at line 31 of file BDTEventWrapper.cxx.

References fBkgWeight, and fSigWeight.

BDTEventWrapper::~BDTEventWrapper (  ) 

Definition at line 38 of file BDTEventWrapper.cxx.

TMVA::BDTEventWrapper::BDTEventWrapper ( const Event  ) 

TMVA::BDTEventWrapper::~BDTEventWrapper (  ) 


Member Function Documentation

Bool_t TMVA::BDTEventWrapper::operator< ( const BDTEventWrapper other  )  const [inline]

Definition at line 78 of file BDTEventWrapper.h.

References GetVal().

void BDTEventWrapper::SetCumulativeWeight ( Bool_t  type,
Double_t  weight 
)

Parameters:
fType - true for signal, false for background
weight - the total weight

Parameters:
fType - true for signal, false for background
weight - the total weight

Definition at line 42 of file BDTEventWrapper.cxx.

References fBkgWeight, and fSigWeight.

Double_t BDTEventWrapper::GetCumulativeWeight ( Bool_t  type  )  const

Parameters:
fType - true for signal, false for background
Returns:
the cumulative weight for sorted signal/background events

Definition at line 53 of file BDTEventWrapper.cxx.

References fBkgWeight, and fSigWeight.

static void TMVA::BDTEventWrapper::SetVarIndex ( Int_t  iVar  )  [inline, static]

Parameters:
iVar - index of the variable in fEvent to use

Definition at line 59 of file BDTEventWrapper.h.

References fVarIndex.

Referenced by G__G__TMVA3_387_0_5(), and G__setup_memfuncTMVAcLcLBDTEventWrapper().

Double_t TMVA::BDTEventWrapper::GetVal (  )  const [inline]

Returns:
value of variable fVarIndex for this event

Definition at line 65 of file BDTEventWrapper.h.

References fEvent, fVarIndex, and TMVA::Event::GetValue().

Referenced by operator<().

const Event* TMVA::BDTEventWrapper::operator * (  )  const [inline]

Definition at line 66 of file BDTEventWrapper.h.

References fEvent.

Bool_t TMVA::BDTEventWrapper::operator< ( const BDTEventWrapper other  )  const

void TMVA::BDTEventWrapper::SetCumulativeWeight ( Bool_t  type,
Double_t  weight 
)

Parameters:
fType - true for signal, false for background
weight - the total weight

Double_t TMVA::BDTEventWrapper::GetCumulativeWeight ( Bool_t  type  )  const

Parameters:
fType - true for signal, false for background
Returns:
the cumulative weight for sorted signal/background events

static void TMVA::BDTEventWrapper::SetVarIndex ( Int_t  iVar  )  [inline, static]

Parameters:
iVar - index of the variable in fEvent to use

Definition at line 59 of file BDTEventWrapper.h.

References fVarIndex.

Double_t TMVA::BDTEventWrapper::GetVal (  )  const [inline]

Returns:
value of variable fVarIndex for this event

Definition at line 65 of file BDTEventWrapper.h.

References fEvent, fVarIndex, and TMVA::Event::GetValue().

const Event* TMVA::BDTEventWrapper::operator * (  )  const [inline]

Definition at line 66 of file BDTEventWrapper.h.

References fEvent.


Member Data Documentation

Int_t BDTEventWrapper::fVarIndex [static, private]

Definition at line 70 of file BDTEventWrapper.h.

Referenced by GetVal(), and SetVarIndex().

const Event* TMVA::BDTEventWrapper::fEvent [private]

Definition at line 71 of file BDTEventWrapper.h.

Referenced by GetVal(), and operator *().

Double_t TMVA::BDTEventWrapper::fBkgWeight [private]

Definition at line 73 of file BDTEventWrapper.h.

Referenced by BDTEventWrapper(), GetCumulativeWeight(), and SetCumulativeWeight().

Double_t TMVA::BDTEventWrapper::fSigWeight [private]

Definition at line 74 of file BDTEventWrapper.h.

Referenced by BDTEventWrapper(), GetCumulativeWeight(), and SetCumulativeWeight().

const Event* TMVA::BDTEventWrapper::fEvent [private]

Definition at line 71 of file BDTEventWrapper.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 17:01:04 2011 for ROOT_528-00b_version by  doxygen 1.5.1