Loading [MathJax]/extensions/tex2jax.js
ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
tmva
tmva
src
ResultsClassification.cxx
Go to the documentation of this file.
1
// @(#)root/tmva $Id$
2
// Author: Andreas Hoecker, Peter Speckmayer, Joerg Stelzer, Helge Voss
3
4
/**********************************************************************************
5
* Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
6
* Package: TMVA *
7
* Class : ResultsClassification *
8
* Web : http://tmva.sourceforge.net *
9
* *
10
* Description: *
11
* Implementation (see header for description) *
12
* *
13
* Authors (alphabetical): *
14
* Andreas Hoecker <Andreas.Hocker@cern.ch> - CERN, Switzerland *
15
* Peter Speckmayer <Peter.Speckmayer@cern.ch> - CERN, Switzerland *
16
* Joerg Stelzer <Joerg.Stelzer@cern.ch> - CERN, Switzerland *
17
* Helge Voss <Helge.Voss@cern.ch> - MPI-K Heidelberg, Germany *
18
* *
19
* Copyright (c) 2006: *
20
* CERN, Switzerland *
21
* MPI-K Heidelberg, Germany *
22
* *
23
* Redistribution and use in source and binary forms, with or without *
24
* modification, are permitted according to the terms listed in LICENSE *
25
* (http://tmva.sourceforge.net/LICENSE) *
26
**********************************************************************************/
27
28
#include <vector>
29
30
#include "
TMVA/ResultsClassification.h
"
31
#include "
TMVA/MsgLogger.h
"
32
33
34
////////////////////////////////////////////////////////////////////////////////
35
/// constructor
36
37
TMVA::ResultsClassification::ResultsClassification
(
const
DataSetInfo
* dsi,
TString
resultsName )
38
:
Results
( dsi,resultsName ),
39
fRet(1),
40
fLogger( new
MsgLogger
(
Form
(
"ResultsClassification%s"
,resultsName.
Data
()) ,
kINFO
) )
41
{
42
}
43
44
////////////////////////////////////////////////////////////////////////////////
45
/// destructor
46
47
TMVA::ResultsClassification::~ResultsClassification
()
48
{
49
delete
fLogger;
50
}
51
52
////////////////////////////////////////////////////////////////////////////////
53
/// set MVA response
54
55
void
TMVA::ResultsClassification::SetValue
(
Float_t
value
,
Int_t
ievt )
56
{
57
if
(ievt >= (
Int_t
)fMvaValues.size()) fMvaValues.resize( ievt+1 );
58
fMvaValues[ievt] =
value
;
59
}
60
61
62
Float_t
float Float_t
Definition:
RtypesCore.h:53
ResultsClassification.h
TString
Basic string class.
Definition:
TString.h:137
Int_t
int Int_t
Definition:
RtypesCore.h:41
TMVA::ResultsClassification::~ResultsClassification
~ResultsClassification()
destructor
Definition:
ResultsClassification.cxx:47
Data
std::vector< std::vector< double > > Data
Definition:
ParallelTest.cxx:55
TMVA::DataSetInfo
Definition:
DataSetInfo.h:78
TMVA::ResultsClassification::SetValue
void SetValue(Float_t value, Int_t ievt)
set MVA response
Definition:
ResultsClassification.cxx:55
Form
char * Form(const char *fmt,...)
MsgLogger.h
TMVA::MsgLogger
Definition:
MsgLogger.h:63
TMVA::ResultsClassification::ResultsClassification
ResultsClassification(const DataSetInfo *dsi, TString resultsName)
constructor
Definition:
ResultsClassification.cxx:37
TMVA::Results
Definition:
Results.h:63
TMVA::kINFO
Definition:
Types.h:64
value
float value
Definition:
math.cpp:443