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 );
90 return GetFitterTarget().EstimatorFunction( parameters );
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
void SetConfigDescription(const char *d)
void SetConfigName(const char *n)
Base class for TMVA fitters.
Double_t EstimatorFunction(std::vector< Double_t > ¶meters)
estimator function interface for fitting
FitterBase(IFitterTarget &target, const TString &name, const std::vector< TMVA::Interval * > ranges, const TString &theOption)
constructor
const char * GetName() const
Returns name of object.
Double_t Run()
estimator function interface for fitting
Interface for a fitter 'target'.
ostringstream derivative to redirect and format output