#include <RootMinuitCommands.h>
Public Types | |
typedef RootMinuitCommand | command |
typedef RootMinuit< Function > | minuit |
Public Member Functions | |
void | add (RootMinuit< Function > &minuit, funct::Parameter &p) const |
double | err (const std::string &name) |
bool | fixed (const std::string &name) |
void | init (const char *fileName) |
double | max (const std::string &name) |
double | min (const std::string &name) |
double | par (const std::string &name) |
RootMinuitCommands (bool verbose=true) | |
RootMinuitCommands (const char *fileName, bool verbose=true) | |
void | run (RootMinuit< Function > &minuit) const |
Private Types | |
typedef boost::tokenizer < boost::char_separator< char > > | tokenizer |
Private Member Functions | |
std::string | errorHeader () const |
std::string | nextToken (typename tokenizer::iterator &i, const typename tokenizer::iterator &end) const |
const parameter_t & | parameter (const std::string &name) const |
double | string2double (const std::string &str) const |
Private Attributes | |
std::vector< command > | commands_ |
unsigned int | lineNumber_ |
std::map< std::string, size_t > | parIndices_ |
parameterVector_t | pars_ |
bool | verbose_ |
Definition at line 48 of file RootMinuitCommands.h.
typedef RootMinuitCommand fit::RootMinuitCommands< Function >::command |
Definition at line 51 of file RootMinuitCommands.h.
typedef RootMinuit<Function> fit::RootMinuitCommands< Function >::minuit |
Definition at line 50 of file RootMinuitCommands.h.
|
private |
Definition at line 84 of file RootMinuitCommands.h.
|
inline |
Definition at line 52 of file RootMinuitCommands.h.
|
inline |
Definition at line 55 of file RootMinuitCommands.h.
References fit::RootMinuitCommands< Function >::init().
|
inline |
Definition at line 75 of file RootMinuitCommands.h.
References fit::RootMinuit< Function >::addParameter(), fit::parameter_t::err, fit::parameter_t::fixed, fit::RootMinuit< Function >::fixParameter(), fit::parameter_t::max, fit::parameter_t::min, funct::Parameter::name(), mergeVDriftHistosByStation::name, fit::RootMinuitCommands< Function >::par(), fit::RootMinuitCommands< Function >::parameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 63 of file RootMinuitCommands.h.
References fit::parameter_t::err, and fit::RootMinuitCommands< Function >::parameter().
|
inlineprivate |
Definition at line 109 of file RootMinuitCommands.h.
References fit::RootMinuitCommands< Function >::lineNumber_, and dbtoconf::out.
Referenced by fit::RootMinuitCommands< Function >::nextToken().
|
inline |
Definition at line 72 of file RootMinuitCommands.h.
References fit::parameter_t::fixed, and fit::RootMinuitCommands< Function >::parameter().
void fit::RootMinuitCommands< Function >::init | ( | const char * | fileName | ) |
Definition at line 125 of file RootMinuitCommands.h.
References cmsBenchmark::cmssw_base, cmsBenchmark::cmssw_release_base, edm::errors::Configuration, gather_cfg::cout, fit::RootMinuitCommand::doubleArgs, alignCSCRings::e, fit::parameter_t::err, edm::hlt::Exception, mergeVDriftHistosByStation::file, fit::parameter_t::fixed, i, j, kFix, kMigrad, kMinimize, kParameter, kPrintAll, kRelease, kSet, prof2calltree::last, geometryCSVtoXML::line, fit::parameter_t::max, fit::parameter_t::min, fit::RootMinuitCommand::name, mergeVDriftHistosByStation::name, cmsHarvester::path, fit::RootMinuitCommand::print(), alignCSCRings::s, cmsHarvester::sep, fit::RootMinuitCommand::stringArgs, and fit::parameter_t::val.
Referenced by fit::RootMinuitCommands< Function >::RootMinuitCommands().
|
inline |
Definition at line 69 of file RootMinuitCommands.h.
References fit::parameter_t::max, and fit::RootMinuitCommands< Function >::parameter().
|
inline |
Definition at line 66 of file RootMinuitCommands.h.
References fit::parameter_t::min, and fit::RootMinuitCommands< Function >::parameter().
|
inlineprivate |
Definition at line 114 of file RootMinuitCommands.h.
References edm::errors::Configuration, fit::RootMinuitCommands< Function >::errorHeader(), edm::hlt::Exception, and i.
|
inline |
Definition at line 60 of file RootMinuitCommands.h.
References fit::RootMinuitCommands< Function >::parameter(), and fit::parameter_t::val.
Referenced by fit::RootMinuitCommands< Function >::add().
|
inlineprivate |
Definition at line 102 of file RootMinuitCommands.h.
References edm::errors::Configuration, AlCaHLTBitMon_ParallelJobs::p, fit::RootMinuitCommands< Function >::parIndices_, and fit::RootMinuitCommands< Function >::pars_.
Referenced by fit::RootMinuitCommands< Function >::add(), fit::RootMinuitCommands< Function >::err(), fit::RootMinuitCommands< Function >::fixed(), fit::RootMinuitCommands< Function >::max(), fit::RootMinuitCommands< Function >::min(), and fit::RootMinuitCommands< Function >::par().
void fit::RootMinuitCommands< Function >::run | ( | RootMinuit< Function > & | minuit | ) | const |
Definition at line 236 of file RootMinuitCommands.h.
References trackerHits::c, gather_cfg::cout, end, fit::RootMinuit< Function >::fixParameter(), kFix, kMigrad, kMinimize, kPrintAll, kRelease, kSet, fit::RootMinuit< Function >::migrad(), fit::RootMinuit< Function >::minimize(), fit::RootMinuit< Function >::printFitResults(), fit::RootMinuit< Function >::releaseParameter(), and fit::RootMinuit< Function >::setParameter().
|
inlineprivate |
Definition at line 90 of file RootMinuitCommands.h.
References begin, edm::errors::Configuration, end, edm::hlt::Exception, and alignCSCRings::s.
|
private |
Definition at line 89 of file RootMinuitCommands.h.
|
private |
Definition at line 86 of file RootMinuitCommands.h.
Referenced by fit::RootMinuitCommands< Function >::errorHeader().
|
private |
Definition at line 88 of file RootMinuitCommands.h.
Referenced by fit::RootMinuitCommands< Function >::parameter().
|
private |
Definition at line 87 of file RootMinuitCommands.h.
Referenced by fit::RootMinuitCommands< Function >::parameter().
|
private |
Definition at line 85 of file RootMinuitCommands.h.