MINT2
|
#include <FitParameter.h>
Public Types | |
enum | FIX_OR_WHAT { FIT =0, HIDE =1, FIX =2 } |
Public Types inherited from MINT::NamedParameterBase | |
enum | VERBOSITY { VERBOSE =0, QUIET =1 } |
Public Member Functions | |
virtual double | blinding () const |
void | invertBlinding () |
FitParameter (const std::string &name, const char *fname=0, MinuitParameterSet *pset=0, FIX_OR_WHAT fow=FIX, NamedParameterBase::VERBOSITY fb=VERBOSE) | |
FitParameter (const std::string &name, int fix, double mean, double step, double mi=0, double ma=0, MinuitParameterSet *pset=0, NamedParameterBase::VERBOSITY fb=VERBOSE, const char *fname=0, const std::vector< double > &blindingPars=std::vector< double >()) | |
FitParameter (const std::string &name, MinuitParameterSet *pset, FIX_OR_WHAT fow=FIX, NamedParameterBase::VERBOSITY fb=VERBOSE) | |
virtual | ~FitParameter () |
bool | addToParSet (MinuitParameterSet *ps) |
virtual const MinuitParameterSet * | parSet () const |
virtual MinuitParameterSet * | parSet () |
virtual int | parSetIndex () const |
virtual bool | setFromParsedLine (const ParsedParameterLine &line) |
virtual double | getCurrentFitVal () const |
virtual void | setCurrentFitVal (double fv) |
void | setResult (double fitMean, double fitErr, double fitErrPos, double fitErrNeg) |
void | setCurrentValToInit () |
void | resetToInit () |
void | setInit (double init) |
int | iFixInit () const |
bool | hidden () const |
bool | scan () const |
double | scanMin () const |
double | scanMax () const |
virtual const std::string & | name () const |
double | meanInit () const |
double | stepInit () const |
double | minInit () const |
double | maxInit () const |
double | valAtLastFCNCall () const |
double | mean () const |
double | blindedMean () const |
double | min () const |
double | max () const |
double | errPos () |
double | errNeg () |
double | err () const |
void | fix () |
void | fixToInit () |
void | fixAndHide () |
void | fixToInitAndHide () |
void | unFix () |
double | RealVal () |
operator double () const | |
FitParameter & | operator= (double d) |
template<typename T > | |
T | operator * (const T &rhs) const |
template<typename T > | |
T | operator * (const MINT::NamedParameter< T > &rhs) const |
double | operator * (const MINT::FitParameter &rhs) const |
template<typename T > | |
T | operator+ (const T &rhs) const |
template<typename T > | |
T | operator+ (const MINT::NamedParameter< T > &rhs) const |
double | operator+ (const MINT::FitParameter &rhs) const |
template<typename T > | |
T | operator/ (const T &rhs) const |
template<typename T > | |
T | operator/ (const MINT::NamedParameter< T > &rhs) const |
double | operator/ (const MINT::FitParameter &rhs) const |
template<typename T > | |
T | operator- (const T &rhs) const |
template<typename T > | |
T | operator- (const MINT::NamedParameter< T > &rhs) const |
double | operator- (const MINT::FitParameter &rhs) const |
void | defaultInit () |
virtual void | print (std::ostream &os=std::cout) const |
virtual void | printVal (std::ostream &os=std::cout) const |
virtual void | printResultVsInput (std::ostream &os=std::cout) const |
Public Member Functions inherited from MINT::NamedParameterBase | |
bool | setPPF (ParsedParameterFile *ppF_in=0) |
bool | read () |
bool | read (std::istream &is) |
bool | read (const std::string &fname) |
bool | reloadFile (const std::string &id) |
bool | setFromInitString (const std::string &str) |
bool | setFromInitStringNoName (const std::string &str_in) |
NamedParameterBase (const std::string &name_in="", const char *fname=0, VERBOSITY=VERBOSE) | |
NamedParameterBase (const NamedParameterBase &other) | |
virtual | ~NamedParameterBase () |
void | quiet (bool beSo=true) |
bool | gotInitialised () const |
Public Member Functions inherited from MINT::INamedParameter | |
virtual | ~INamedParameter () |
Public Member Functions inherited from MINT::IMinuitParameter | |
virtual | ~IMinuitParameter () |
Public Member Functions inherited from MINT::IReturnReal | |
virtual | ~IReturnReal () |
Static Public Member Functions | |
static const char * | getInitString () |
static void | printFormat (std::ostream &os=std::cout, int pad=0) |
static void | printResultFormat (std::ostream &os=std::cout, int pad=0) |
Static Public Member Functions inherited from MINT::NamedParameterBase | |
static bool | setDefaultInputFile (const std::string &fname) |
static bool | setDefaultInputStream (std::istream &str=std::cin) |
Protected Member Functions | |
bool | setupBlinding () |
virtual bool | setParSet (MinuitParameterSet *ps) |
virtual bool | setParSetIndex (int psetIndex) |
void | initToResult () |
Protected Member Functions inherited from MINT::NamedParameterBase | |
virtual bool | setFromParsedFile () |
Protected Member Functions inherited from MINT::INamedParameter | |
INamedParameter () | |
Protected Member Functions inherited from MINT::IMinuitParameter | |
IMinuitParameter () | |
Protected Member Functions inherited from MINT::IReturnReal | |
IReturnReal () | |
Protected Attributes | |
double | _blinding |
MinuitParameterSet * | _pset |
int | _psetIndex |
int | _iFixInit |
double | _meanInit |
double | _stepInit |
double | _minInit |
double | _maxInit |
NamedParameter< double > | _scanParameters |
NamedParameter< double > | _blindingParameters |
double | _meanResult |
double | _errResult |
double | _errPosResult |
double | _errNegResult |
double | _currentFitVal |
Protected Attributes inherited from MINT::NamedParameterBase | |
std::string | _name |
ParsedParameterFile * | _ppF |
bool | _gotInitialised |
bool | _quiet |
Static Protected Attributes | |
static const char * | _initString = " 1\t0.0\t0.0\t0.0\t0.0" |
Static Protected Attributes inherited from MINT::NamedParameterBase | |
static bool | IveSaidItOnce =0 |
static std::string | _defaultFile = "" |
static std::istream * | _defaultStreamPtr = &std::cin |
Private Member Functions | |
FitParameter (const FitParameter &other) | |
Additional Inherited Members | |
Static Protected Member Functions inherited from MINT::NamedParameterBase | |
static ParsedParameterFileList * | getFlist () |
Definition at line 42 of file FitParameter.h.
Enumerator | |
---|---|
FIT | |
HIDE | |
FIX |
Definition at line 77 of file FitParameter.h.
|
private |
Definition at line 137 of file FitParameter.cpp.
FitParameter::FitParameter | ( | const std::string & | name, |
const char * | fname = 0 , |
||
MinuitParameterSet * | pset = 0 , |
||
FIX_OR_WHAT | fow = FIX , |
||
NamedParameterBase::VERBOSITY | fb = VERBOSE |
||
) |
Definition at line 14 of file FitParameter.cpp.
FitParameter::FitParameter | ( | const std::string & | name, |
int | fix, | ||
double | mean, | ||
double | step, | ||
double | mi = 0 , |
||
double | ma = 0 , |
||
MinuitParameterSet * | pset = 0 , |
||
NamedParameterBase::VERBOSITY | fb = VERBOSE , |
||
const char * | fname = 0 , |
||
const std::vector< double > & | blindingPars = std::vector<double>() |
||
) |
Definition at line 45 of file FitParameter.cpp.
FitParameter::FitParameter | ( | const std::string & | name, |
MinuitParameterSet * | pset, | ||
FIX_OR_WHAT | fow = FIX , |
||
NamedParameterBase::VERBOSITY | fb = VERBOSE |
||
) |
Definition at line 84 of file FitParameter.cpp.
|
virtual |
Definition at line 176 of file FitParameter.cpp.
bool FitParameter::addToParSet | ( | MinuitParameterSet * | ps | ) |
Definition at line 181 of file FitParameter.cpp.
double FitParameter::blindedMean | ( | ) | const |
Definition at line 316 of file FitParameter.cpp.
|
inlinevirtual |
void FitParameter::defaultInit | ( | ) |
Definition at line 335 of file FitParameter.cpp.
|
virtual |
double FitParameter::errNeg | ( | ) |
Definition at line 328 of file FitParameter.cpp.
double FitParameter::errPos | ( | ) |
Definition at line 325 of file FitParameter.cpp.
void FitParameter::fix | ( | ) |
Definition at line 392 of file FitParameter.cpp.
void FitParameter::fixAndHide | ( | ) |
Definition at line 399 of file FitParameter.cpp.
void FitParameter::fixToInit | ( | ) |
Definition at line 395 of file FitParameter.cpp.
void FitParameter::fixToInitAndHide | ( | ) |
Definition at line 402 of file FitParameter.cpp.
|
virtual |
Definition at line 293 of file FitParameter.cpp.
|
static |
Definition at line 12 of file FitParameter.cpp.
|
inlinevirtual |
|
virtual |
|
protected |
Definition at line 171 of file FitParameter.cpp.
|
inline |
Definition at line 82 of file FitParameter.h.
double FitParameter::max | ( | ) | const |
Definition at line 322 of file FitParameter.cpp.
|
virtual |
|
virtual |
|
virtual |
double FitParameter::min | ( | ) | const |
Definition at line 319 of file FitParameter.cpp.
|
virtual |
|
inlinevirtual |
Implements MINT::IMinuitParameter.
Definition at line 144 of file FitParameter.h.
|
inline |
Definition at line 190 of file FitParameter.h.
|
inline |
Definition at line 194 of file FitParameter.h.
|
inline |
Definition at line 197 of file FitParameter.h.
|
inlinevirtual |
|
inline |
Definition at line 202 of file FitParameter.h.
|
inline |
Definition at line 206 of file FitParameter.h.
|
inline |
Definition at line 209 of file FitParameter.h.
|
inline |
Definition at line 226 of file FitParameter.h.
|
inline |
Definition at line 230 of file FitParameter.h.
|
inline |
Definition at line 233 of file FitParameter.h.
|
inline |
Definition at line 214 of file FitParameter.h.
|
inline |
Definition at line 218 of file FitParameter.h.
|
inline |
Definition at line 221 of file FitParameter.h.
|
inline |
Definition at line 185 of file FitParameter.h.
|
inlinevirtual |
|
inlinevirtual |
Definition at line 116 of file FitParameter.h.
|
virtual |
|
virtual |
|
static |
Definition at line 369 of file FitParameter.cpp.
|
static |
Definition at line 380 of file FitParameter.cpp.
|
virtual |
|
virtual |
Definition at line 350 of file FitParameter.cpp.
|
inlinevirtual |
void FitParameter::resetToInit | ( | ) |
Definition at line 165 of file FitParameter.cpp.
|
virtual |
Implements MINT::IMinuitParameter.
Definition at line 249 of file FitParameter.cpp.
|
virtual |
Implements MINT::IMinuitParameter.
Definition at line 256 of file FitParameter.cpp.
|
virtual |
Implements MINT::IMinuitParameter.
Definition at line 252 of file FitParameter.cpp.
|
virtual |
void FitParameter::setCurrentValToInit | ( | ) |
Definition at line 161 of file FitParameter.cpp.
|
virtual |
Implements MINT::NamedParameterBase.
Definition at line 204 of file FitParameter.cpp.
|
inline |
Definition at line 130 of file FitParameter.h.
|
protectedvirtual |
Implements MINT::IMinuitParameter.
Definition at line 187 of file FitParameter.cpp.
|
protectedvirtual |
|
virtual |
|
protected |
Definition at line 115 of file FitParameter.cpp.
|
virtual |
void FitParameter::unFix | ( | ) |
Definition at line 406 of file FitParameter.cpp.
double MINT::FitParameter::valAtLastFCNCall | ( | ) | const |
|
protected |
Definition at line 53 of file FitParameter.h.
|
protected |
Definition at line 67 of file FitParameter.h.
|
protected |
Definition at line 70 of file FitParameter.h.
|
protected |
Definition at line 69 of file FitParameter.h.
|
protected |
Definition at line 69 of file FitParameter.h.
|
protected |
Definition at line 69 of file FitParameter.h.
|
protected |
Definition at line 63 of file FitParameter.h.
|
staticprotected |
Definition at line 56 of file FitParameter.h.
|
protected |
Definition at line 64 of file FitParameter.h.
|
protected |
Definition at line 64 of file FitParameter.h.
|
protected |
Definition at line 69 of file FitParameter.h.
|
protected |
Definition at line 64 of file FitParameter.h.
|
protected |
Definition at line 59 of file FitParameter.h.
|
protected |
Definition at line 60 of file FitParameter.h.
|
protected |
Definition at line 66 of file FitParameter.h.
|
protected |
Definition at line 64 of file FitParameter.h.