ROOT » TMVA » TMVA::PDEFoamDiscriminant

class TMVA::PDEFoamDiscriminant: public TMVA::PDEFoam


 PDEFoamDiscriminant

 This PDEFoam variant stores in every cell the discriminant

    D = #events with given class / total number of events

 as well as the statistical error on the discriminant.  It therefore
 acts as a discriminant estimator.  It should be booked together
 with the PDEFoamDiscriminantDensity density estimator, which
 returns the discriminant density at a given phase space point
 during the foam build-up.


Function Members (Methods)

public:
virtual~PDEFoamDiscriminant()
voidTObject::AbstractMethod(const char* method) const
voidTMVA::PDEFoam::AddVariableName(const char* s)
voidTMVA::PDEFoam::AddVariableName(TObjString* s)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
voidTMVA::PDEFoam::CheckAll(Int_t)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
voidTMVA::PDEFoam::Create()
virtual voidTObject::Delete(Option_t* option = "")MENU
voidTMVA::PDEFoam::DeleteBinarySearchTree()
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
TH1D*TMVA::PDEFoam::Draw1Dim(TMVA::ECellValue cell_value, Int_t nbin, TMVA::PDEFoamKernelBase* kernel = __null)
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
voidTMVA::PDEFoam::FillBinarySearchTree(const TMVA::Event* ev)
virtual voidFillFoamCells(const TMVA::Event* ev, Float_t wt)
virtual voidFinalize()
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual vector<Float_t>TMVA::PDEFoam::GetCellValue(const map<Int_t,Float_t>& xvec, TMVA::ECellValue cv)
virtual Float_tTMVA::PDEFoam::GetCellValue(const TMVA::PDEFoamCell* cell, TMVA::ECellValue cv)
virtual Float_tTMVA::PDEFoam::GetCellValue(const vector<Float_t>& xvec, TMVA::ECellValue cv, TMVA::PDEFoamKernelBase*)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
TStringTMVA::PDEFoam::GetFoamName() const
virtual const char*TObject::GetIconName() const
UInt_tTMVA::PDEFoam::GetMaxDepth() const
UInt_tTMVA::PDEFoam::GetNActiveCells() const
virtual const char*TObject::GetName() const
UInt_tTMVA::PDEFoam::GetNCells() const
UInt_tTMVA::PDEFoam::GetNInActiveCells() const
UInt_tTMVA::PDEFoam::GetNmin()
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
TMVA::PDEFoamCell*TMVA::PDEFoam::GetRootCell() const
virtual const char*TObject::GetTitle() const
Int_tTMVA::PDEFoam::GetTotDim() const
virtual UInt_tTObject::GetUniqueID() const
TObjString*TMVA::PDEFoam::GetVariableName(Int_t idx)
Double_tTMVA::PDEFoam::GetXmax(Int_t idim) const
Double_tTMVA::PDEFoam::GetXmin(Int_t idim) const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
voidTMVA::PDEFoam::Initialize()
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
TMVA::MsgLogger&TMVA::PDEFoam::Log() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TMVA::PDEFoamDiscriminant&operator=(const TMVA::PDEFoamDiscriminant&)
virtual voidTObject::Paint(Option_t* option = "")
TMVA::PDEFoamTMVA::PDEFoam::PDEFoam()
TMVA::PDEFoamTMVA::PDEFoam::PDEFoam(const TString&)
TMVA::PDEFoamDiscriminantPDEFoamDiscriminant()
TMVA::PDEFoamDiscriminantPDEFoamDiscriminant(const TString&, UInt_t)
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
voidTMVA::PDEFoam::PrintCell(Long_t iCell = 0)
voidTMVA::PDEFoam::PrintCells()
virtual TH2D*Project2(Int_t, Int_t, TMVA::ECellValue, TMVA::PDEFoamKernelBase*, UInt_t)
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
voidTMVA::PDEFoam::ResetCellElements()
voidTMVA::PDEFoam::RootPlot2dim(const TString& filename, TString opt, Bool_t createCanvas = kTRUE, Bool_t colors = kTRUE)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidTMVA::PDEFoam::SetDensity(TMVA::PDEFoamDensityBase* dens)
voidTMVA::PDEFoam::SetDim(Int_t kDim)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidTMVA::PDEFoam::SetEvPerBin(Int_t EvPerBin)
voidTMVA::PDEFoam::SetInhiDiv(Int_t, Int_t)
voidTMVA::PDEFoam::SetMaxDepth(UInt_t maxdepth)
voidTMVA::PDEFoam::SetnBin(Int_t nBin)
voidTMVA::PDEFoam::SetnCells(Long_t nCells)
voidTMVA::PDEFoam::SetNmin(UInt_t val)
voidTMVA::PDEFoam::SetnSampl(Long_t nSampl)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidTMVA::PDEFoam::SetXmax(Int_t idim, Double_t wmax)
voidTMVA::PDEFoam::SetXmin(Int_t idim, Double_t wmin)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
vector<Float_t>TMVA::PDEFoam::VarTransform(const vector<Float_t>& invec) const
Float_tTMVA::PDEFoam::VarTransform(Int_t idim, Float_t x) const
vector<Float_t>TMVA::PDEFoam::VarTransformInvers(const vector<Float_t>& invec) const
Float_tTMVA::PDEFoam::VarTransformInvers(Int_t idim, Float_t x) const
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const

Data Members

public:
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
protected:
Double_t*TMVA::PDEFoam::fAlpha[fDim] Internal parameters of the hyperrectangle
TMVA::PDEFoamCell**TMVA::PDEFoam::fCells[fNCells] Array of ALL cells
UInt_tfClasssignal class
TMVA::EDTSeparationTMVA::PDEFoam::fDTSeparationBACKWARDS COMPATIBILITY: split cells according to decision tree logic
Int_tTMVA::PDEFoam::fDimDimension of the integration/simulation space
TMVA::PDEFoamDensityBase*TMVA::PDEFoam::fDistr! distribution of training events
Int_tTMVA::PDEFoam::fEvPerBinMaximum number of effective (wt=1) events per bin
Bool_tTMVA::PDEFoam::fFillFoamWithOrigWeightsBACKWARDS COMPATIBILITY: fill the foam with boost or orig. weights
TMVA::EFoamTypeTMVA::PDEFoam::fFoamTypeBACKWARDS COMPATIBILITY: type of foam
TObjArray*TMVA::PDEFoam::fHistEdgHistograms of wt, one for each cell edge
Int_t*TMVA::PDEFoam::fInhiDiv! [fDim] Flags for inhibiting cell division
Int_tTMVA::PDEFoam::fLastCeIndex of the last cell
TMVA::MsgLogger*TMVA::PDEFoam::fLogger! message logger
Int_t*TMVA::PDEFoam::fMaskDiv! [fDim] Dynamic Mask for cell division
UInt_tTMVA::PDEFoam::fMaxDepthmaximum depth of cell tree
Int_tTMVA::PDEFoam::fNBinNo. of bins in the edge histogram for cell MC exploration
Int_tTMVA::PDEFoam::fNCellsMaximum number of cells
UInt_tTMVA::PDEFoam::fNElementsBACKWARDS COMPATIBILITY: number of variables in every cell
Int_tTMVA::PDEFoam::fNSamplNo. of MC events, when dividing (exploring) cell
TStringTMVA::PDEFoam::fNameName of a given instance of the FOAM class
UInt_tTMVA::PDEFoam::fNminminimal number of events in cell to split cell
Int_tTMVA::PDEFoam::fNoActNumber of active cells
Bool_tTMVA::PDEFoam::fPeekMaxBACKWARDS COMPATIBILITY: peek up cell with max. driver integral for split
TRandom3*TMVA::PDEFoam::fPseRanPointer to user-defined generator of pseudorandom numbers
Double_t*TMVA::PDEFoam::fRvec[fDim] random number vector from r.n. generator fDim+1 maximum elements
TMVA::Timer*TMVA::PDEFoam::fTimer! timer for graphical output
TObjArray*TMVA::PDEFoam::fVariableNamescollection of all variable names
Float_tTMVA::PDEFoam::fVolFracBACKWARDS COMPATIBILITY: volume fraction (with respect to total phase space
Double_t*TMVA::PDEFoam::fXmax[fDim] maximum for variable transform
Double_t*TMVA::PDEFoam::fXmin[fDim] minimum for variable transform

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

PDEFoamDiscriminant()
 Default constructor for streamer, user should not use it.
PDEFoamDiscriminant(const TString& , UInt_t )
{}
PDEFoamDiscriminant(const TMVA::PDEFoamDiscriminant& )
 Copy Constructor  NOT IMPLEMENTED (NEVER USED)
void FillFoamCells(const TMVA::Event* ev, Float_t wt)
 This function fills an event into the discriminant PDEFoam.  The
 event weight 'wt' is filled into cell element 0 if the event is
 of class fClass, and filled into cell element 1 otherwise.
void Finalize()
 Calc discriminator and its error for every cell and save it to
 the cell.
TH2D* Project2(Int_t , Int_t , TMVA::ECellValue , TMVA::PDEFoamKernelBase* , UInt_t )
 Project foam variable idim1 and variable idim2 to histogram.
 The projection algorithm is modified such that the z axis range
 of the returned histogram is [0, 1], as necessary for the
 interpretation as a discriminator.  This is done by weighting
 the cell values (in case of cell_value = kValue) by the cell
 volume in all dimensions, excluding 'idim1' and 'idim2'.

 Parameters:

 - idim1, idim2 - dimensions to project to

 - cell_value - the cell value to draw

 - kernel - a PDEFoam kernel (optional).  If NULL is given, the
            kernel is ignored and the pure cell values are
            plotted.

 - nbin - number of bins in x and y direction of result histogram
          (optional, default is 50).

 Returns:
 a 2-dimensional histogram
virtual ~PDEFoamDiscriminant()
{}