Logo ROOT  
Reference Guide
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
42namespace TMVA {
43
45
46 public:
47
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
double Double_t
Definition: RtypesCore.h:55
#define ClassDef(name, id)
Definition: Rtypes.h:326
Interface for a fitter 'target'.
Definition: IFitterTarget.h:44
IFitterTarget()
constructor
virtual void ProgressNotifier(TString, TString)
Definition: IFitterTarget.h:57
virtual ~IFitterTarget()
Definition: IFitterTarget.h:50
virtual Double_t EstimatorFunction(std::vector< Double_t > &parameters)=0
Basic string class.
Definition: TString.h:131
create variable transformations