BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
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
#include "
TMVA/Types.h
"
40
41
42
namespace
TMVA
{
43
44
class
IFitterTarget
{
45
46
public
:
47
48
IFitterTarget
();
49
50
virtual
~IFitterTarget
() {}
51
52
virtual
Double_t
EstimatorFunction
( std::vector<Double_t>& parameters ) = 0;
53
54
// function to notify the FitterTarget of the progress status of the fitter
55
// sender : "GA", "MC", ...
56
// progress : "init", "iteration", "last", "stop"
57
virtual
void
ProgressNotifier
(
TString
/*sender*/
,
TString
/* progress */
) {}
58
59
private
:
60
61
ClassDef
(
IFitterTarget
,0);
// base class for a fitter "target"
62
};
63
64
}
// namespace TMVA
65
66
#endif
Types.h
Double_t
double Double_t
Definition:
RtypesCore.h:55
TString
std::string TString
Definition:
TString.h:6
TMVA::IFitterTarget
Definition:
IFitterTarget.h:44
TMVA::IFitterTarget::ClassDef
ClassDef(IFitterTarget, 0)
TMVA::IFitterTarget::IFitterTarget
IFitterTarget()
TMVA::IFitterTarget::ProgressNotifier
virtual void ProgressNotifier(TString, TString)
Definition:
IFitterTarget.h:57
TMVA::IFitterTarget::~IFitterTarget
virtual ~IFitterTarget()
Definition:
IFitterTarget.h:50
TMVA::IFitterTarget::EstimatorFunction
virtual Double_t EstimatorFunction(std::vector< Double_t > ¶meters)=0
TMVA
Definition:
GeneticMinimizer.h:21
Fit
3rdparty
RootMinimizers
TMVA
IFitterTarget.h
Generated by
1.9.1