50 #pragma warning ( disable : 4355 ) 58 const std::vector<Interval*> ranges,
61 fFitterTarget( target ),
63 fNpars( ranges.size() ),
64 fLogger( new
MsgLogger(
"FitterBase", kINFO) ),
76 std::vector<Double_t> pars;
77 for (std::vector<Interval*>::const_iterator parIt =
fRanges.begin(); parIt !=
fRanges.end(); parIt++) {
78 pars.push_back( (*parIt)->GetMean() );
82 return this->
Run( pars );
const std::vector< TMVA::Interval * > fRanges
virtual Double_t EstimatorFunction(std::vector< Double_t > ¶meters)=0
Base class for TMVA fitters.
IFitterTarget & GetFitterTarget() const
Double_t Run()
estimator function interface for fitting
FitterBase(IFitterTarget &target, const TString &name, const std::vector< TMVA::Interval *> ranges, const TString &theOption)
constructor
Double_t EstimatorFunction(std::vector< Double_t > ¶meters)
estimator function interface for fitting
ostringstream derivative to redirect and format output
void SetConfigName(const char *n)
const char * GetName() const
Returns name of object.
Interface for a fitter 'target'.
void SetConfigDescription(const char *d)