Logo ROOT  
Reference Guide
TMVA::SVEvent Class Reference

Event class for Support Vector Machine.

Definition at line 40 of file SVEvent.h.

Public Member Functions

 SVEvent ()
 
 SVEvent (const Event *, Float_t, Bool_t isSignal=kFALSE)
 constructor More...
 
 SVEvent (const std::vector< Float_t > *, Float_t alpha, Int_t typeFlag, UInt_t ns)
 constructor More...
 
 SVEvent (const std::vector< Float_t > *svector, Float_t alpha, Float_t alpha_p, Int_t typeFlag)
 constructor More...
 
virtual ~SVEvent ()
 destructor More...
 
Float_t GetAlpha () const
 
Float_t GetAlpha_p () const
 
Float_t GetCweight () const
 
std::vector< Float_t > * GetDataVector ()
 
Float_t GetDeltaAlpha () const
 
Float_t GetErrorCache () const
 
Int_t GetIdx () const
 
Float_tGetLine () const
 
UInt_t GetNs () const
 
Int_t GetNVar () const
 
Float_t GetTarget () const
 
Int_t GetTypeFlag () const
 
Bool_t IsInI0 () const
 
Bool_t IsInI0a () const
 
Bool_t IsInI0b () const
 
Bool_t IsInI1 () const
 
Bool_t IsInI2 () const
 
Bool_t IsInI3 () const
 
void Print (std::ostream &os) const
 printout More...
 
void PrintData ()
 printout More...
 
void SetAlpha (Float_t alpha)
 
void SetAlpha_p (Float_t alpha)
 
void SetErrorCache (Float_t err_cache)
 
void SetIdx (Int_t idx)
 
void SetIsShrinked (Int_t isshrinked)
 
void SetLine (Float_t *line)
 
void SetNs (UInt_t ns)
 
void UpdateErrorCache (Float_t upercache)
 

Private Attributes

Float_t fAlpha
 
Float_t fAlpha_p
 
const Float_t fCweight
 
std::vector< Float_tfDataVector
 
Float_t fErrorCache
 
Int_t fIdx
 
Int_t fIsShrinked
 
Float_tfLine
 
UInt_t fNs
 
UInt_t fNVar
 
const Float_t fTarget
 
const Int_t fTypeFlag
 

#include <TMVA/SVEvent.h>

Constructor & Destructor Documentation

◆ SVEvent() [1/4]

TMVA::SVEvent::SVEvent ( )

Definition at line 43 of file SVEvent.cxx.

◆ SVEvent() [2/4]

TMVA::SVEvent::SVEvent ( const Event event,
Float_t  C_par,
Bool_t  isSignal = kFALSE 
)

constructor

Definition at line 62 of file SVEvent.cxx.

◆ SVEvent() [3/4]

TMVA::SVEvent::SVEvent ( const std::vector< Float_t > *  svector,
Float_t  alpha,
Int_t  typeFlag,
UInt_t  ns 
)

constructor

Definition at line 81 of file SVEvent.cxx.

◆ SVEvent() [4/4]

TMVA::SVEvent::SVEvent ( const std::vector< Float_t > *  svector,
Float_t  alpha,
Float_t  alpha_p,
Int_t  typeFlag 
)

constructor

Definition at line 100 of file SVEvent.cxx.

◆ ~SVEvent()

TMVA::SVEvent::~SVEvent ( )
virtual

destructor

Definition at line 119 of file SVEvent.cxx.

Member Function Documentation

◆ GetAlpha()

Float_t TMVA::SVEvent::GetAlpha ( ) const
inline

Definition at line 61 of file SVEvent.h.

◆ GetAlpha_p()

Float_t TMVA::SVEvent::GetAlpha_p ( ) const
inline

Definition at line 62 of file SVEvent.h.

◆ GetCweight()

Float_t TMVA::SVEvent::GetCweight ( ) const
inline

Definition at line 71 of file SVEvent.h.

◆ GetDataVector()

std::vector< Float_t > * TMVA::SVEvent::GetDataVector ( )
inline

Definition at line 60 of file SVEvent.h.

◆ GetDeltaAlpha()

Float_t TMVA::SVEvent::GetDeltaAlpha ( ) const
inline

Definition at line 63 of file SVEvent.h.

◆ GetErrorCache()

Float_t TMVA::SVEvent::GetErrorCache ( ) const
inline

Definition at line 65 of file SVEvent.h.

◆ GetIdx()

Int_t TMVA::SVEvent::GetIdx ( ) const
inline

Definition at line 68 of file SVEvent.h.

◆ GetLine()

Float_t * TMVA::SVEvent::GetLine ( ) const
inline

Definition at line 69 of file SVEvent.h.

◆ GetNs()

UInt_t TMVA::SVEvent::GetNs ( ) const
inline

Definition at line 70 of file SVEvent.h.

◆ GetNVar()

Int_t TMVA::SVEvent::GetNVar ( ) const
inline

Definition at line 67 of file SVEvent.h.

◆ GetTarget()

Float_t TMVA::SVEvent::GetTarget ( ) const
inline

Definition at line 72 of file SVEvent.h.

◆ GetTypeFlag()

Int_t TMVA::SVEvent::GetTypeFlag ( ) const
inline

Definition at line 66 of file SVEvent.h.

◆ IsInI0()

Bool_t TMVA::SVEvent::IsInI0 ( ) const
inline

Definition at line 76 of file SVEvent.h.

◆ IsInI0a()

Bool_t TMVA::SVEvent::IsInI0a ( ) const
inline

Definition at line 74 of file SVEvent.h.

◆ IsInI0b()

Bool_t TMVA::SVEvent::IsInI0b ( ) const
inline

Definition at line 75 of file SVEvent.h.

◆ IsInI1()

Bool_t TMVA::SVEvent::IsInI1 ( ) const
inline

Definition at line 77 of file SVEvent.h.

◆ IsInI2()

Bool_t TMVA::SVEvent::IsInI2 ( ) const
inline

Definition at line 78 of file SVEvent.h.

◆ IsInI3()

Bool_t TMVA::SVEvent::IsInI3 ( ) const
inline

Definition at line 79 of file SVEvent.h.

◆ Print()

void TMVA::SVEvent::Print ( std::ostream &  os) const

printout

Definition at line 130 of file SVEvent.cxx.

◆ PrintData()

void TMVA::SVEvent::PrintData ( )

printout

Definition at line 140 of file SVEvent.cxx.

◆ SetAlpha()

void TMVA::SVEvent::SetAlpha ( Float_t  alpha)
inline

Definition at line 51 of file SVEvent.h.

◆ SetAlpha_p()

void TMVA::SVEvent::SetAlpha_p ( Float_t  alpha)
inline

Definition at line 52 of file SVEvent.h.

◆ SetErrorCache()

void TMVA::SVEvent::SetErrorCache ( Float_t  err_cache)
inline

Definition at line 53 of file SVEvent.h.

◆ SetIdx()

void TMVA::SVEvent::SetIdx ( Int_t  idx)
inline

Definition at line 56 of file SVEvent.h.

◆ SetIsShrinked()

void TMVA::SVEvent::SetIsShrinked ( Int_t  isshrinked)
inline

Definition at line 54 of file SVEvent.h.

◆ SetLine()

void TMVA::SVEvent::SetLine ( Float_t line)
inline

Definition at line 55 of file SVEvent.h.

◆ SetNs()

void TMVA::SVEvent::SetNs ( UInt_t  ns)
inline

Definition at line 57 of file SVEvent.h.

◆ UpdateErrorCache()

void TMVA::SVEvent::UpdateErrorCache ( Float_t  upercache)
inline

Definition at line 58 of file SVEvent.h.

Member Data Documentation

◆ fAlpha

Float_t TMVA::SVEvent::fAlpha
private

Definition at line 88 of file SVEvent.h.

◆ fAlpha_p

Float_t TMVA::SVEvent::fAlpha_p
private

Definition at line 89 of file SVEvent.h.

◆ fCweight

const Float_t TMVA::SVEvent::fCweight
private

Definition at line 87 of file SVEvent.h.

◆ fDataVector

std::vector<Float_t> TMVA::SVEvent::fDataVector
private

Definition at line 86 of file SVEvent.h.

◆ fErrorCache

Float_t TMVA::SVEvent::fErrorCache
private

Definition at line 90 of file SVEvent.h.

◆ fIdx

Int_t TMVA::SVEvent::fIdx
private

Definition at line 93 of file SVEvent.h.

◆ fIsShrinked

Int_t TMVA::SVEvent::fIsShrinked
private

Definition at line 95 of file SVEvent.h.

◆ fLine

Float_t* TMVA::SVEvent::fLine
private

Definition at line 96 of file SVEvent.h.

◆ fNs

UInt_t TMVA::SVEvent::fNs
private

Definition at line 94 of file SVEvent.h.

◆ fNVar

UInt_t TMVA::SVEvent::fNVar
private

Definition at line 91 of file SVEvent.h.

◆ fTarget

const Float_t TMVA::SVEvent::fTarget
private

Definition at line 97 of file SVEvent.h.

◆ fTypeFlag

const Int_t TMVA::SVEvent::fTypeFlag
private

Definition at line 92 of file SVEvent.h.

Libraries for TMVA::SVEvent:
[legend]

The documentation for this class was generated from the following files: