ROOT
6.07/01
Reference Guide
|
Definition at line 52 of file VariableInfo.h.
Public Member Functions | |
VariableInfo (const TString &expression, const TString &title, const TString &unit, Int_t varCounter, char varType= 'F', void *external=0, Double_t min=0, Double_t max=0, Bool_t normalized=kTRUE) | |
constructor More... | |
VariableInfo () | |
default constructor More... | |
VariableInfo (const VariableInfo &other) | |
copy constructor More... | |
~VariableInfo () | |
const TString & | GetExpression () const |
const TString & | GetInternalName () const |
const TString & | GetLabel () const |
const TString & | GetTitle () const |
const TString & | GetUnit () const |
char | GetVarType () const |
Double_t | GetMin () const |
Double_t | GetMax () const |
Double_t | GetMean () const |
Double_t | GetRMS () const |
void | SetMin (Double_t v) |
void | SetMax (Double_t v) |
void | SetMean (Double_t v) |
void | SetRMS (Double_t v) |
void | SetExternalLink (void *p) |
void | ResetMinMax () |
void | WriteToStream (std::ostream &o) const |
write VariableInfo to stream More... | |
void | ReadFromStream (std::istream &istr) |
void | ReadFromXML (void *varnode) |
read VariableInfo from stream More... | |
void | AddToXML (void *varnode) |
write class to XML More... | |
void * | GetExternalLink () const |
VariableInfo & | operator= (const TMVA::VariableInfo &rhs) |
comparison operator More... | |
Private Member Functions | |
void | SetExpression (const TString &s) |
void | SetLabel (const TString &s) |
void | SetTitle (const TString &s) |
void | SetUnit (const TString &s) |
void | SetInternalVarName (const TString &s) |
void | SetVarType (char c) |
Private Attributes | |
TString | fExpression |
TString | fInternalName |
original variable expression (can be a formula) More... | |
TString | fLabel |
internal variable name (needs to be regular expression) More... | |
TString | fTitle |
variable label, set by "mylabel := var1 + var2", this is a shortcut More... | |
TString | fUnit |
title for axis labels in plots; set by second string in AddVariable More... | |
Char_t | fVarType |
unit for axis labels in plots; set by third string in AddVariable More... | |
Double_t | fXminNorm |
the variable type to be used internally ('F'-default or 'I') More... | |
Double_t | fXmaxNorm |
minimum value for correlated/decorrelated/PCA variable More... | |
Double_t | fXmeanNorm |
maximum value for correlated/decorrelated/PCA variable More... | |
Double_t | fXrmsNorm |
mean value for correlated/decorrelated/PCA variable More... | |
Bool_t | fNormalized |
rms value for correlated/decorrelated/PCA variable More... | |
void * | fExternalData |
variable gets normalized More... | |
TString | fExternalDataType |
if the variable content is linked to an external pointer More... | |
Int_t | fVarCounter |
type of external variable (int, long, double, float) - to be done JS More... | |
#include <TMVA/VariableInfo.h>
TMVA::VariableInfo::VariableInfo | ( | const TString & | expression, |
const TString & | title, | ||
const TString & | unit, | ||
Int_t | varCounter, | ||
char | varType = 'F' , |
||
void * | external = 0 , |
||
Double_t | min = 0 , |
||
Double_t | max = 0 , |
||
Bool_t | normalized = kTRUE |
||
) |
constructor
Definition at line 40 of file VariableInfo.cxx.
TMVA::VariableInfo::VariableInfo | ( | ) |
default constructor
Definition at line 79 of file VariableInfo.cxx.
TMVA::VariableInfo::VariableInfo | ( | const VariableInfo & | other | ) |
copy constructor
Definition at line 99 of file VariableInfo.cxx.
|
inline |
Definition at line 61 of file VariableInfo.h.
write class to XML
Definition at line 180 of file VariableInfo.cxx.
Referenced by TMVA::MethodBase::AddSpectatorsXMLTo(), TMVA::MethodBase::AddTargetsXMLTo(), and TMVA::MethodBase::AddVarsXMLTo().
|
inline |
Definition at line 62 of file VariableInfo.h.
Referenced by TMVA::VariableTransformBase::AttachXMLTo(), TMVA::DataSetFactory::CalcMinMax(), TMVA::DataSetFactory::ChangeToNewTree(), TMVA::MethodBase::GetOriginalVarName(), TMVA::MethodCategory::InitCircularTree(), TMVA::MethodBase::ReadSpectatorsFromXML(), TMVA::MethodBase::ReadVariablesFromXML(), TMVA::MethodBase::ReadVarsFromStream(), and VariableInfo().
|
inline |
Definition at line 85 of file VariableInfo.h.
Referenced by TMVA::MethodCategory::InitCircularTree(), TMVA::MethodBase::ReadSpectatorsFromXML(), and TMVA::MethodBase::ReadVariablesFromXML().
|
inline |
Definition at line 63 of file VariableInfo.h.
Referenced by TMVA::DataSetFactory::ChangeToNewTree(), TMVA::MethodBase::GetInputVar(), and TMVA::TransformationHandler::PlotVariables().
|
inline |
Definition at line 64 of file VariableInfo.h.
Referenced by TMVA::VariableTransformBase::AttachXMLTo(), TMVA::MethodBase::GetInputLabel(), TMVA::VariableNormalizeTransform::GetTransformationStrings(), TMVA::RMethodBase::LoadData(), and TMVA::VariableTransformBase::SelectInput().
|
inline |
Definition at line 70 of file VariableInfo.h.
Referenced by TMVA::ResultsRegression::DeviationAsAFunctionOf().
Definition at line 71 of file VariableInfo.h.
|
inline |
Definition at line 69 of file VariableInfo.h.
Referenced by TMVA::ResultsRegression::DeviationAsAFunctionOf().
Definition at line 72 of file VariableInfo.h.
|
inline |
Definition at line 65 of file VariableInfo.h.
Referenced by TMVA::ResultsRegression::DeviationAsAFunctionOf(), TMVA::MethodBase::GetInputTitle(), TMVA::TransformationHandler::GetVariableAxisTitle(), and TMVA::TransformationHandler::PlotVariables().
|
inline |
Definition at line 66 of file VariableInfo.h.
Referenced by TMVA::TransformationHandler::PlotVariables().
|
inline |
Definition at line 67 of file VariableInfo.h.
Referenced by TMVA::MethodBase::AddSpectatorsXMLTo(), TMVA::MethodCategory::InitCircularTree(), and TMVA::TransformationHandler::PlotVariables().
TMVA::VariableInfo & TMVA::VariableInfo::operator= | ( | const TMVA::VariableInfo & | rhs | ) |
comparison operator
Definition at line 119 of file VariableInfo.cxx.
void TMVA::VariableInfo::ReadFromStream | ( | std::istream & | istr | ) |
Definition at line 149 of file VariableInfo.cxx.
Referenced by TMVA::MethodBase::ReadVarsFromStream().
read VariableInfo from stream
Definition at line 198 of file VariableInfo.cxx.
Referenced by TMVA::MethodBase::ReadSpectatorsFromXML(), and TMVA::MethodBase::ReadVariablesFromXML().
|
inline |
Definition at line 79 of file VariableInfo.h.
Definition at line 93 of file VariableInfo.h.
Definition at line 78 of file VariableInfo.h.
Referenced by TMVA::MethodBase::ReadSpectatorsFromXML(), TMVA::MethodBase::ReadVariablesFromXML(), and TMVA::MethodBase::ReadVarsFromStream().
Definition at line 97 of file VariableInfo.h.
Definition at line 94 of file VariableInfo.h.
Definition at line 75 of file VariableInfo.h.
Referenced by TMVA::DataSetFactory::CalcMinMax().
Definition at line 76 of file VariableInfo.h.
Definition at line 74 of file VariableInfo.h.
Referenced by TMVA::DataSetFactory::CalcMinMax().
Definition at line 77 of file VariableInfo.h.
Definition at line 95 of file VariableInfo.h.
Definition at line 96 of file VariableInfo.h.
|
inlineprivate |
Definition at line 98 of file VariableInfo.h.
void TMVA::VariableInfo::WriteToStream | ( | std::ostream & | o | ) | const |
write VariableInfo to stream
Definition at line 134 of file VariableInfo.cxx.
|
private |
Definition at line 100 of file VariableInfo.h.
Referenced by GetExpression(), operator=(), SetExpression(), and VariableInfo().
|
private |
variable gets normalized
Definition at line 111 of file VariableInfo.h.
Referenced by GetExternalLink(), and SetExternalLink().
|
private |
if the variable content is linked to an external pointer
Definition at line 112 of file VariableInfo.h.
|
private |
original variable expression (can be a formula)
Definition at line 101 of file VariableInfo.h.
Referenced by GetInternalName(), operator=(), SetInternalVarName(), and VariableInfo().
|
private |
internal variable name (needs to be regular expression)
Definition at line 102 of file VariableInfo.h.
Referenced by GetLabel(), SetLabel(), and VariableInfo().
|
private |
rms value for correlated/decorrelated/PCA variable
Definition at line 110 of file VariableInfo.h.
|
private |
variable label, set by "mylabel := var1 + var2", this is a shortcut
Definition at line 103 of file VariableInfo.h.
Referenced by GetTitle(), SetTitle(), and VariableInfo().
|
private |
title for axis labels in plots; set by second string in AddVariable
Definition at line 104 of file VariableInfo.h.
Referenced by GetUnit(), SetUnit(), and VariableInfo().
|
private |
type of external variable (int, long, double, float) - to be done JS
Definition at line 113 of file VariableInfo.h.
|
private |
unit for axis labels in plots; set by third string in AddVariable
Definition at line 105 of file VariableInfo.h.
Referenced by GetVarType(), operator=(), and SetVarType().
|
private |
minimum value for correlated/decorrelated/PCA variable
Definition at line 107 of file VariableInfo.h.
Referenced by GetMax(), operator=(), ResetMinMax(), SetMax(), and VariableInfo().
|
private |
maximum value for correlated/decorrelated/PCA variable
Definition at line 108 of file VariableInfo.h.
|
private |
the variable type to be used internally ('F'-default or 'I')
Definition at line 106 of file VariableInfo.h.
Referenced by GetMin(), operator=(), ResetMinMax(), SetMin(), and VariableInfo().
|
private |
mean value for correlated/decorrelated/PCA variable
Definition at line 109 of file VariableInfo.h.