ROOT logo
ROOT » TMVA » TMVA::VariableTransformBase

class TMVA::VariableTransformBase: public TObject

Function Members (Methods)

    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidAttachXMLTo(void* parent)
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 = "")
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
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
TStringGetShortName() const
virtual const char*TObject::GetTitle() const
virtual vector<TString>*GetTransformationStrings(Int_t cls) const
virtual UInt_tTObject::GetUniqueID() const
TMVA::Types::EVariableTransformGetVariableTransform() 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 voidInitialize()
virtual voidTObject::Inspect() constMENU
virtual const TMVA::Event*InverseTransform(const TMVA::Event *const, Int_t cls) const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tIsCreated() const
Bool_tIsEnabled() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tIsNormalised() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
TMVA::MsgLogger&Log() const
virtual voidTObject::ls(Option_t* option = "") const
virtual voidMakeFunction(ostream& fout, const TString& fncName, Int_t part, UInt_t trCounter, Int_t cls)
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static 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)
TObject&TObject::operator=(const TObject& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual Bool_tPrepareTransformation(const vector<TMVA::Event*,allocator<TMVA::Event*> >&)
virtual voidTObject::Print(Option_t* option = "") const
virtual voidPrintTransformation(ostream&)
virtual Int_tTObject::Read(const char* name)
virtual voidReadFromXML(void* trfnode)
virtual voidReadTransformationFromStream(istream& istr, const TString& classname = "")
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetEnabled(Bool_t e)
voidSetNormalise(Bool_t n)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetTMVAVersion(TMVA::TMVAVersion_t v)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetUseSignalTransform(Bool_t e = kTRUE)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
const vector<TMVA::VariableInfo>&Targets() const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual const TMVA::Event*Transform(const TMVA::Event *const, Int_t cls) const
virtual voidTObject::UseCurrentStyle()
Bool_tUseSignalTransform() const
const vector<TMVA::VariableInfo>&Variables() 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
virtual voidWriteTransformationToStream(ostream& o) const
voidCalcNorm(const vector<TMVA::Event*,allocator<TMVA::Event*> >&)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
Int_tGetNClasses() const
UInt_tGetNTargets() const
UInt_tGetNVariables() const
voidSetCreated(Bool_t c = kTRUE)
voidSetName(const TString& c)
voidSetNVariables(UInt_t i)
voidUpdateNorm(Int_t ivar, Double_t x)

Data Members

TMVA::Event*fBackTransformedEventholds the current back-transformed event
TMVA::MsgLogger*fLogger! message logger
TMVA::Event*fTransformedEventholds the current transformed event
Bool_tfCreatedhas been created
Bool_tfEnabledhas been enabled
UInt_tfNVarsnumber of variables
Bool_tfNormalisenormalise input variables
vector<TMVA::VariableInfo>fTargetsevent targets [saved to weight file --> TODO ]
TStringfTransformNamename of transformation
Bool_tfUseSignalTransformtrue if transformation bases on signal data
TMVA::Types::EVariableTransformfVariableTransformDecorrelation, PCA, etc.
vector<TMVA::VariableInfo>fVariablesevent variables [saved to weight file]

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void CalcNorm(const vector<TMVA::Event*,allocator<TMVA::Event*> >& )
 method to calculate minimum, maximum, mean, and RMS for all
 variables used in the MVA
std::vector<TString>* GetTransformationStrings(Int_t cls) const
 default transformation output
 --> only indicate that transformation occurred
void UpdateNorm(Int_t ivar, Double_t x)
 update min and max of a given variable (target) and a given transformation method
void Initialize()
Bool_t PrepareTransformation(const vector<TMVA::Event*,allocator<TMVA::Event*> >& )
const Event* Transform(const TMVA::Event *const , Int_t cls) const
const Event* InverseTransform(const TMVA::Event *const , Int_t cls) const
void SetEnabled(Bool_t e)
{ fEnabled = e; }
void SetNormalise(Bool_t n)
{ fNormalise = n; }
Bool_t IsEnabled() const
{ return fEnabled; }
Bool_t IsCreated() const
{ return fCreated; }
Bool_t IsNormalised() const
{ return fNormalise; }
void SetUseSignalTransform(Bool_t e = kTRUE)
Bool_t UseSignalTransform() const
const char* GetName() const
{ return fTransformName.Data(); }
TString GetShortName() const
{ TString a(fTransformName); a.ReplaceAll("Transform",""); return a; }
void WriteTransformationToStream(ostream& o) const
void ReadTransformationFromStream(istream& istr, const TString& classname = "")
void AttachXMLTo(void* parent)
void ReadFromXML(void* trfnode)
Types::EVariableTransform GetVariableTransform() const
{ return fVariableTransform; }
void MakeFunction(ostream& fout, const TString& fncName, Int_t part, UInt_t trCounter, Int_t cls)
 writer of function code
void PrintTransformation(ostream& )
 provides string vector giving explicit transformation
const std::vector<TMVA::VariableInfo>& Variables()
{ return fVariables; }
const std::vector<TMVA::VariableInfo>& Targets()
{ return fTargets; }
void SetTMVAVersion(TMVA::TMVAVersion_t v)
{ fTMVAVersion = v; }
void SetCreated(Bool_t c = kTRUE)
{ fCreated = c; }
void SetNVariables(UInt_t i)
{ fNVars = i; }
void SetName(const TString& c)
UInt_t GetNVariables() const
{ return fDsi.GetNVariables(); }
UInt_t GetNTargets() const
{ return fDsi.GetNTargets(); }
std::vector<TMVA::VariableInfo>& Variables()
{ return fVariables; }
std::vector<TMVA::VariableInfo>& Targets()
{ return fTargets; }
Int_t GetNClasses() const
{ return fDsi.GetNClasses(); }