50                                  char varType, 
void* external,
 
   52     : 
TNamed(title.Data(),title.Data()),
 
   53     fExpression   ( expression ),
 
   59     fNormalized   ( normalized ),
 
   60     fExternalData ( external ),
 
   61     fVarCounter   ( varCounter )
 
  112     fExpression   ( other.fExpression ),
 
  113     fInternalName ( other.fInternalName ),
 
  114     fLabel        ( other.fLabel ),
 
  115     fUnit         ( other.fUnit ),
 
  116     fVarType      ( other.fVarType ),
 
  117     fXminNorm     ( other.fXminNorm ),
 
  118     fXmaxNorm     ( other.fXmaxNorm ),
 
  119     fXmeanNorm    ( other.fXmeanNorm ),
 
  120     fXrmsNorm     ( other.fXrmsNorm ),
 
  121     fXvarianceNorm( other.fXvarianceNorm ),
 
  122     fNormalized   ( other.fNormalized ),
 
  123     fExternalData ( other.fExternalData ),
 
  124     fVarCounter   ( other.fVarCounter )
 
  151   TString expBr(
Form(
"\'%s\'",GetExpression().Data()));
 
  152   o << std::setw(nc) << GetExpression();
 
  153   o << std::setw(nc) << GetInternalName();
 
  154   o << std::setw(nc) << GetLabel();
 
  155   o << std::setw(nc) << GetTitle();
 
  156   o << std::setw(nc) << GetUnit();
 
  157   o << 
"    \'" << fVarType << 
"\'    ";
 
  158   o << 
"[" << std::setprecision(12) << GetMin() << 
"," << std::setprecision(12) << GetMax() << 
"]" << std::endl;
 
  168   TString exp, varname, vartype, minmax, minstr, maxstr;
 
  169   istr >> exp >> varname >> vartype >> minmax;
 
  173   minstr = minmax(0,minmax.
First(
','));
 
  174   maxstr = minmax(1+minmax.
First(
','),minmax.
Length());
 
  176   std::stringstream strmin(minstr.
Data());
 
  177   std::stringstream strmax(maxstr.
Data());
 
  180   SetExpression     ( exp );
 
  181   SetInternalVarName( varname );
 
  182   SetLabel          ( varname );
 
  183   SetTitle          ( varname );
 
  185   SetVarType        ( vartype[1] );
 
  202   typeStr[0] = GetVarType();
 
  228   if (
type.Contains(
"[]"))
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
 
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
 
Class for type info of MVA input variable.
 
void ReadFromXML(void *varnode)
read VariableInfo from stream
 
VariableInfo & operator=(const TMVA::VariableInfo &rhs)
comparison operator
 
Double_t fXminNorm
minimum value for correlated/decorrelated/PCA variable
 
const TString & GetExpression() const
 
Double_t fXmaxNorm
maximum value for correlated/decorrelated/PCA variable
 
VariableInfo()
default constructor
 
void ReadFromStream(std::istream &istr)
read VariableInfo from stream
 
void AddToXML(void *varnode)
write class to XML
 
TString fLabel
variable label, set by "mylabel := var1 + var2", this is a shortcut
 
Char_t fVarType
the variable type to be used internally ('F'-default or 'I')
 
TString fUnit
unit for axis labels in plots; set by third string in AddVariable
 
TString fInternalName
internal variable name (needs to be regular expression)
 
TString fExpression
original variable expression (can be a formula)
 
void WriteToStream(std::ostream &o) const
write VariableInfo to stream
 
The TNamed class is the base class for all named ROOT classes.
 
TSubString Strip(EStripType s=kTrailing, char c=' ') const
Return a substring of self stripped at beginning and/or end.
 
Ssiz_t First(char c) const
Find first occurrence of a character c.
 
const char * Data() const
 
TString & ReplaceAll(const TString &s1, const TString &s2)
 
virtual Int_t Sizeof() const
Returns size string will occupy on I/O buffer.
 
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
 
Ssiz_t Index(const char *pat, Ssiz_t i=0, ECaseCompare cmp=kExact) const
 
Short_t Max(Short_t a, Short_t b)
Returns the largest of a and b.
 
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.