class TMVA::PDEFoamTarget: public TMVA::PDEFoam


 This PDEFoam variant stores in every cell the average target
 fTarget (see the Constructor) as well as the statistical error on
 the target fTarget.  It therefore acts as a target estimator.  It
 should be booked together with the PDEFoamTargetDensity density
 estimator, which returns the target fTarget density at a given
 phase space point during the foam build-up.

Function Members (Methods)

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)
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
virtual voidTObject::Delete(Option_t* option = "")MENU
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 Float_tGetCellValue(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
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
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::PDEFoamTarget&operator=(const TMVA::PDEFoamTarget&)
virtual voidTObject::Paint(Option_t* option = "")
TMVA::PDEFoamTMVA::PDEFoam::PDEFoam(const TString&)
TMVA::PDEFoamTargetPDEFoamTarget(const TString&, UInt_t)
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
voidTMVA::PDEFoam::PrintCell(Long_t iCell = 0)
virtual TH2D*TMVA::PDEFoam::Project2(Int_t idim1, Int_t idim2, TMVA::ECellValue cell_value = kValue, TMVA::PDEFoamKernelBase* kernel = __null, UInt_t nbin = 50)
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
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

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
Double_t*TMVA::PDEFoam::fAlpha[fDim] Internal parameters of the hyperrectangle
TMVA::PDEFoamCell**TMVA::PDEFoam::fCells[fNCells] Array of ALL cells
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
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
UInt_tfTargetthe target to fill the cells with
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

 Default constructor for streamer, user should not use it.
PDEFoamTarget(const TString& , UInt_t )
 User constructor


 - name - name of PDEFoam object

 - target - target number to range-search for
PDEFoamTarget(const TMVA::PDEFoamTarget& )
void FillFoamCells(const TMVA::Event* ev, Float_t wt)
 This function fills an event into the discriminant PDEFoam.  The
 weight 'wt' is filled into cell element 0 if the event is of
 class 'fTarget', and filled into cell element 1 otherwise.
void Finalize()
 Calculate average cell target in every cell and save them to the
 cell.  Cell element 0 will contain the average target and cell
 element 1 will contain the error on the target.
Bool_t CellValueIsUndefined(TMVA::PDEFoamCell* cell)
 Returns true, if the target error equals -1, as set in
 Finalize() in case of no events in the cell
Float_t GetCellValue(const vector<Float_t>& xvec, TMVA::ECellValue cv, TMVA::PDEFoamKernelBase* )
 This function finds the cell, which corresponds to the given
 untransformed event vector 'xvec' and return its value, which is
 given by the parameter 'cv'.

 If cv == kValue, it is checked wether the cell value is
 undefined.  If this is the case, then the mean of the neighbor's
 target values is returned, using GetAverageNeighborsValue().
Float_t GetAverageNeighborsValue(vector<Float_t>& , TMVA::ECellValue )
 This function returns the average value 'cv' of only nearest
 neighbor cells.  It is used in cases, where empty cells shall
 not be evaluated.

 - txvec - event vector, transformed into foam coordinates [0, 1]
 - cv - cell value, see definition of ECellValue
virtual ~PDEFoamTarget()