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 109 template <
typename Iterator,
typename WeightIterator>
Double_t Mean ( Iterator
first, Iterator last, WeightIterator w);
112 template <
typename Iterator,
typename WeightIterator>
Double_t RMS(Iterator first, Iterator last, WeightIterator w);
116 void ComputeStat(
const std::vector<TMVA::Event*>&,
117 std::vector<Float_t>*,
138 std::vector<Int_t>* nodes );
163 std::vector<Double_t>
MVADiff( std::vector<Double_t>&, std::vector<Double_t>& );
169 void UsefulSortDescending( std::vector< std::vector<Double_t> >&, std::vector<TString>* vs = 0 );
170 void UsefulSortAscending ( std::vector< std::vector<Double_t> >&, std::vector<TString>* vs = 0 );
183 void FormattedOutput(
const std::vector<Double_t>&,
const std::vector<TString>&,
245 #if __cplusplus > 199711L 246 static std::atomic<Tools*>
fgTools;
263 inline void ReadAttr (
void* node,
const char* ,
T& value );
266 void AddAttr (
void* node,
const char* ,
const T& value,
Int_t precision = 16 );
267 void AddAttr (
void* node,
const char* attrname,
const char* value );
268 void*
AddChild (
void* parent,
const char* childname,
const char* content = 0,
bool isRootNode =
false );
273 void*
GetChild (
void* parent,
const char* childname=0 );
274 void*
GetNextChild(
void* prevchild,
const char* childname=0 );
276 const char*
GetName (
void* node );
301 std::stringstream s(val.
Data());
313 s.precision( precision );
314 s << std::scientific << value;
315 AddAttr( node, attrname, s.str().c_str() );
323 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)
RooArgSet S(const RooAbsArg &v1)
Service class for 2-Dim histogram classes.
tomato 2-D histogram with a float per channel (see TH1 documentation)}
Abstract ClassifierFactory template that handles arbitrary types.
A TTree object has a header with a name and a title.
double norm(double *x, double *p)
const char * Data() const