#ifndef ROOT_TMVA_FitterBase
#define ROOT_TMVA_FitterBase
#include<vector>
#include "TObject.h"
#include "TString.h"
#ifndef ROOT_TMVA_MsgLogger
#include "TMVA/MsgLogger.h"
#endif
#ifndef ROOT_TMVA_Configurable
#include "TMVA/Configurable.h"
#endif
namespace TMVA {
class Interval;
class IFitterTarget;
class FitterBase : public Configurable {
public:
FitterBase( IFitterTarget& target, const TString& name, const std::vector<TMVA::Interval*> ranges,
const TString& theOption );
virtual ~FitterBase() {}
Double_t Run();
virtual Double_t Run( std::vector<Double_t>& pars ) = 0;
Double_t EstimatorFunction( std::vector<Double_t>& parameters );
IFitterTarget& GetFitterTarget() const { return fFitterTarget; }
Int_t GetNpars() const { return fNpars; }
const char* GetName() const { return fClassName; }
protected:
virtual void DeclareOptions() = 0;
IFitterTarget& fFitterTarget;
const std::vector<TMVA::Interval*> fRanges;
Int_t fNpars;
mutable MsgLogger fLogger;
TString fClassName;
ClassDef(FitterBase,0)
};
}
#endif
Last change: Sat Nov 1 10:21:35 2008
Last generated: 2008-11-01 10:21
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.