29#ifndef ROOT_TMVA_Tools
30#define ROOT_TMVA_Tools
93 template <
typename Iterator,
typename WeightIterator>
Double_t Mean ( Iterator first, Iterator last, WeightIterator
w);
96 template <
typename Iterator,
typename WeightIterator>
Double_t RMS(Iterator first, Iterator last, WeightIterator
w);
100 void ComputeStat(
const std::vector<TMVA::Event*>&,
101 std::vector<Float_t>*,
122 std::vector<Int_t>* nodes );
147 std::vector<Double_t>
MVADiff( std::vector<Double_t>&, std::vector<Double_t>& );
153 void UsefulSortDescending( std::vector< std::vector<Double_t> >&, std::vector<TString>* vs =
nullptr );
154 void UsefulSortAscending ( std::vector< std::vector<Double_t> >&, std::vector<TString>* vs =
nullptr );
167 void FormattedOutput(
const std::vector<Double_t>&,
const std::vector<TString>&,
223 std::vector<TString>
SplitString(
const TString& theOpt,
const char separator )
const;
251 void AddAttr (
void* node,
const char* attrname,
const char*
value );
252 void*
AddChild (
void* parent,
const char* childname,
const char* content =
nullptr,
bool isRootNode =
false );
257 void*
GetChild (
void* parent,
const char* childname=
nullptr );
258 void*
GetNextChild(
void* prevchild,
const char* childname=
nullptr );
260 const char*
GetName (
void* node );
298 template <
typename TRandomLike,
typename UIntType = UInt_t, UIntType max_val = kMaxUInt>
305 static constexpr UIntType
min() {
return 0; }
306 static constexpr UIntType
max() {
return max_val; }
315 for (
unsigned long long i = 0; i < z; ++i)
335 Log() << kFATAL <<
"Trying to read non-existing attribute '" << attrname <<
"' from xml node '" << nodename <<
"'"
338 std::stringstream s(val);
350 s.precision( precision );
351 s << std::scientific <<
value;
352 AddAttr( node, attrname, s.str().c_str() );
361 return (sumx2 - ((sumx*sumx)/
static_cast<Double_t>(nx)))/
static_cast<Double_t>(nx-1);
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 r
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 child
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
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 format
TH1 is the base class of all histogram classes in ROOT.
2-D histogram with a float per channel (see TH1 documentation)
Service class for 2-D histogram classes.
ostringstream derivative to redirect and format output
PDF wrapper for histograms; uses user-defined spline interpolation.
void discard(unsigned long long z)
static constexpr UIntType max()
RandomGenerator(UIntType s=0)
static constexpr UIntType min()
Base class for spline implementation containing the Draw/Paint methods.
A TTree represents a columnar dataset.
const char * GetNodeName(XMLNodePointer_t xmlnode)
returns name of xmlnode
const char * GetAttr(XMLNodePointer_t xmlnode, const char *name)
returns value of attribute for xmlnode
create variable transformations
MsgLogger & Endl(MsgLogger &ml)