38 #ifndef ROOT_TMVA_Interval
41 #ifndef ROOT_TMVA_IFitterTarget
55 #pragma warning ( disable : 4355 )
63 const std::vector<Interval*> ranges,
65 : Configurable( theOption ),
66 fFitterTarget( target ),
68 fNpars( ranges.size() ),
69 fLogger( new MsgLogger(
"FitterBase",
kINFO) ),
72 SetConfigName( GetName() );
73 SetConfigDescription(
"Configuration options for setup and tuning of specific fitter" );
81 std::vector<Double_t> pars;
82 for (std::vector<Interval*>::const_iterator parIt =
fRanges.begin(); parIt !=
fRanges.end(); parIt++) {
83 pars.push_back( (*parIt)->GetMean() );
87 return this->
Run( pars );
95 return GetFitterTarget().EstimatorFunction( parameters );
const std::vector< TMVA::Interval * > fRanges
Double_t Run()
estimator function interface for fitting
Double_t EstimatorFunction(std::vector< Double_t > ¶meters)
estimator function interface for fitting
ClassImp(TMVA::FitterBase) TMVA
constructor
FitterBase(IFitterTarget &target, const TString &name, const std::vector< TMVA::Interval * > ranges, const TString &theOption)