38 #ifndef ROOT_TMVA_Interval
41 #ifndef ROOT_TMVA_IFitterTarget
49 #pragma warning ( disable : 4355 )
57 const std::vector<Interval*> ranges,
59 : Configurable( theOption ),
60 fFitterTarget( target ),
62 fNpars( ranges.size() ),
63 fLogger( new MsgLogger(
"FitterBase",
kINFO) ),
66 SetConfigName( GetName() );
67 SetConfigDescription(
"Configuration options for setup and tuning of specific fitter" );
75 std::vector<Double_t> pars;
76 for (std::vector<Interval*>::const_iterator parIt =
fRanges.begin(); parIt !=
fRanges.end(); parIt++) {
77 pars.push_back( (*parIt)->GetMean() );
81 return this->
Run( pars );
89 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)