#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 50 of file RootMinuitCommands.h.
typedef RootMinuitCommand fit::RootMinuitCommands< Function >::command |
Definition at line 53 of file RootMinuitCommands.h.
typedef RootMinuit<Function> fit::RootMinuitCommands< Function >::minuit |
Definition at line 52 of file RootMinuitCommands.h.
|
private |
Definition at line 72 of file RootMinuitCommands.h.
|
inline |
Definition at line 54 of file RootMinuitCommands.h.
|
inline |
Definition at line 55 of file RootMinuitCommands.h.
References fit::RootMinuitCommands< Function >::init().
|
inline |
Definition at line 62 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.
Referenced by counter.Counter::register().
|
inline |
Definition at line 58 of file RootMinuitCommands.h.
References fit::parameter_t::err, and fit::RootMinuitCommands< Function >::parameter().
|
inlineprivate |
Definition at line 94 of file RootMinuitCommands.h.
References fit::RootMinuitCommands< Function >::lineNumber_, and submitPVResolutionJobs::out.
Referenced by fit::RootMinuitCommands< Function >::nextToken().
|
inline |
Definition at line 61 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 108 of file RootMinuitCommands.h.
References runTheMatrix::cmssw_base, edm::errors::Configuration, gather_cfg::cout, ztail::d, fit::RootMinuitCommand::doubleArgs, alignCSCRings::e, fit::parameter_t::err, Exception, validate-o2o-wbm::f, mergeVDriftHistosByStation::file, fit::parameter_t::fixed, mps_fire::i, dqmiolumiharvest::j, join(), kFix, kMigrad, kMinimize, kParameter, kPrintAll, kRelease, kSet, dqmdumpme::last, geometryCSVtoXML::line, fit::parameter_t::max, fit::parameter_t::min, eostools::move(), fit::RootMinuitCommand::name, mergeVDriftHistosByStation::name, fit::RootMinuitCommand::print(), alignCSCRings::s, fit::RootMinuitCommand::stringArgs, and fit::parameter_t::val.
Referenced by fit::RootMinuitCommands< Function >::RootMinuitCommands().
|
inline |
Definition at line 60 of file RootMinuitCommands.h.
References fit::parameter_t::max, and fit::RootMinuitCommands< Function >::parameter().
|
inline |
Definition at line 59 of file RootMinuitCommands.h.
References fit::parameter_t::min, and fit::RootMinuitCommands< Function >::parameter().
|
inlineprivate |
Definition at line 99 of file RootMinuitCommands.h.
References edm::errors::Configuration, fit::RootMinuitCommands< Function >::errorHeader(), Exception, and mps_fire::i.
|
inline |
Definition at line 57 of file RootMinuitCommands.h.
References fit::RootMinuitCommands< Function >::parameter(), and fit::parameter_t::val.
Referenced by fit::RootMinuitCommands< Function >::add().
|
inlineprivate |
Definition at line 88 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 228 of file RootMinuitCommands.h.
References c, gather_cfg::cout, dataset::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 78 of file RootMinuitCommands.h.
References SplitLinear::begin, edm::errors::Configuration, dataset::end, Exception, alignCSCRings::s, and hgcalPerformanceValidation::val.
|
private |
Definition at line 77 of file RootMinuitCommands.h.
|
private |
Definition at line 74 of file RootMinuitCommands.h.
Referenced by fit::RootMinuitCommands< Function >::errorHeader().
|
private |
Definition at line 76 of file RootMinuitCommands.h.
Referenced by fit::RootMinuitCommands< Function >::parameter().
|
private |
Definition at line 75 of file RootMinuitCommands.h.
Referenced by fit::RootMinuitCommands< Function >::parameter().
|
private |
Definition at line 73 of file RootMinuitCommands.h.