29 #ifndef ROOT_TMVA_Tools
30 #define ROOT_TMVA_Tools
44 #if __cplusplus > 199711L
48 #ifndef ROOT_TXMLEngine
52 #ifndef ROOT_TMatrixDSymfwd
56 #ifndef ROOT_TMatrixDfwd
60 #ifndef ROOT_TVectorDfwd
64 #ifndef ROOT_TVectorDfwd
68 #ifndef ROOT_TMVA_Types
72 #ifndef ROOT_TMVA_VariableTransformBase
108 template <
typename Iterator,
typename WeightIterator>
Double_t Mean ( Iterator
first, Iterator last, WeightIterator
w);
111 template <
typename Iterator,
typename WeightIterator>
Double_t RMS(Iterator first, Iterator last, WeightIterator w);
115 void ComputeStat(
const std::vector<TMVA::Event*>&,
116 std::vector<Float_t>*,
137 std::vector<Int_t>* nodes );
162 std::vector<Double_t>
MVADiff( std::vector<Double_t>&, std::vector<Double_t>& );
168 void UsefulSortDescending( std::vector< std::vector<Double_t> >&, std::vector<TString>* vs = 0 );
169 void UsefulSortAscending ( std::vector< std::vector<Double_t> >&, std::vector<TString>* vs = 0 );
182 void FormattedOutput(
const std::vector<Double_t>&,
const std::vector<TString>&,
244 #if __cplusplus > 199711L
245 static std::atomic<Tools*>
fgTools;
266 void AddAttr (
void* node,
const char* attrname,
const char*
value );
267 void*
AddChild (
void* parent,
const char* childname,
const char* content = 0,
bool isRootNode =
false );
272 void*
GetChild (
void* parent,
const char* childname=0 );
273 void*
GetNextChild(
void* prevchild,
const char* childname=0 );
275 const char*
GetName (
void* node );
300 std::stringstream s(val.
Data());
312 s.precision( precision );
313 s << std::scientific <<
value;
314 AddAttr( node, attrname, s.str().c_str() );
322 return (sumx2 - ((sumx*sumx)/static_cast<Double_t>(nx)))/
static_cast<Double_t>(nx-1);
Base class for spline implementation containing the Draw/Paint methods //.
static std::string format(double x, double y, int digits, int width)
const char * Data() const
Service class for 2-Dim histogram classes.
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
2-D histogram with a float per channel (see TH1 documentation)}
A TTree object has a header with a name and a title.
double norm(double *x, double *p)