#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 MillePedeFileConverter_cfg::fileName, and fit::RootMinuitCommands< Function >::init().
|
inline |
Definition at line 62 of file RootMinuitCommands.h.
References fit::RootMinuit< Function >::addParameter(), fit::RootMinuit< Function >::fixParameter(), Skims_PA_cff::name, AlCaHLTBitMon_ParallelJobs::p, 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, Skims_PA_cff::name, and fit::RootMinuitCommands< Function >::parameter().
|
inlineprivate |
Definition at line 94 of file RootMinuitCommands.h.
References fit::RootMinuitCommands< Function >::lineNumber_, and MillePedeFileConverter_cfg::out.
Referenced by fit::RootMinuitCommands< Function >::nextToken().
|
inline |
Definition at line 61 of file RootMinuitCommands.h.
References fit::parameter_t::fixed, Skims_PA_cff::name, 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, tkAlTrackRefitSequence_cff::commands, edm::errors::Configuration, gather_cfg::cout, ztail::d, fit::RootMinuitCommand::doubleArgs, MillePedeFileConverter_cfg::e, fit::parameter_t::err, Exception, f, geometryDiff::file, MillePedeFileConverter_cfg::fileName, fit::parameter_t::fixed, alignBH_cfg::fixed, mps_fire::i, dqmiolumiharvest::j, join(), kFix, kMigrad, kMinimize, kParameter, kPrintAll, kRelease, kSet, dqmdumpme::last, mps_splice::line, fit::parameter_t::max, fit::parameter_t::min, eostools::move(), Skims_PA_cff::name, fit::RootMinuitCommand::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, Skims_PA_cff::name, and fit::RootMinuitCommands< Function >::parameter().
|
inline |
Definition at line 59 of file RootMinuitCommands.h.
References fit::parameter_t::min, Skims_PA_cff::name, 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 Skims_PA_cff::name, 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, Skims_PA_cff::name, 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 DummyCfis::c, gather_cfg::cout, 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 edm::errors::Configuration, Exception, alignCSCRings::s, str, and heppy_batch::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.