ROOT
6.07/01
Reference Guide
ROOT Home Page
Main Page
Tutorials
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
Groups
Pages
tmva
tmva
inc
TMVA
IFitterTarget.h
Go to the documentation of this file.
1
// @(#)root/tmva $Id$
2
// Author: Andreas Hoecker, Peter Speckmayer
3
4
/**********************************************************************************
5
* Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
6
* Package: TMVA *
7
* Class : IFitterTarget *
8
* Web : http://tmva.sourceforge.net *
9
* *
10
* Description: *
11
* Interface for generic fitter *
12
* *
13
* Authors (alphabetical): *
14
* Andreas Hoecker <Andreas.Hocker@cern.ch> - CERN, Switzerland *
15
* Peter Speckmayer <speckmay@mail.cern.ch> - CERN, Switzerland *
16
* *
17
* Copyright (c) 2005: *
18
* CERN, Switzerland *
19
* MPI-K Heidelberg, Germany *
20
* *
21
* Redistribution and use in source and binary forms, with or without *
22
* modification, are permitted according to the terms listed in LICENSE *
23
* (http://tmva.sourceforge.net/LICENSE) *
24
**********************************************************************************/
25
26
#ifndef ROOT_TMVA_IFitterTarget
27
#define ROOT_TMVA_IFitterTarget
28
29
//////////////////////////////////////////////////////////////////////////
30
// //
31
// IFitterTarget //
32
// //
33
// Interface for a fitter "target" //
34
// //
35
//////////////////////////////////////////////////////////////////////////
36
37
#include <vector>
38
39
#ifndef ROOT_TMVA_Types
40
#include "
TMVA/Types.h
"
41
#endif
42
43
44
namespace
TMVA {
45
46
class
IFitterTarget
{
47
48
public
:
49
50
IFitterTarget
();
51
52
virtual
~IFitterTarget
() {}
53
54
virtual
Double_t
EstimatorFunction
( std::vector<Double_t>& parameters ) = 0;
55
56
// function to notify the FitterTarget of the progress status of the fitter
57
// sender : "GA", "MC", ...
58
// progress : "init", "iteration", "last", "stop"
59
virtual
void
ProgressNotifier
(
TString
/*sender*/
,
TString
/* progress */
) {}
60
61
private
:
62
63
ClassDef
(
IFitterTarget
,0)
// base class for a fitter "target"
64
};
65
66
}
// namespace TMVA
67
68
#endif
TMVA::IFitterTarget::EstimatorFunction
virtual Double_t EstimatorFunction(std::vector< Double_t > ¶meters)=0
Types.h
TString
Basic string class.
Definition:
TString.h:137
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TMVA::IFitterTarget::ProgressNotifier
virtual void ProgressNotifier(TString, TString)
Definition:
IFitterTarget.h:59
TMVA::IFitterTarget::~IFitterTarget
virtual ~IFitterTarget()
Definition:
IFitterTarget.h:52
Double_t
double Double_t
Definition:
RtypesCore.h:55
TMVA::IFitterTarget::IFitterTarget
IFitterTarget()
TMVA::IFitterTarget
Definition:
IFitterTarget.h:46