#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-02-25/CovarianceMatrixFit/dataProducts/Parameter.h"
|
| Parameter () |
|
| Parameter (std::string const &name, cmf::DetType_t const &det, double const &val, bool const &fixed, float const &sigmaSize, float const &cv, float const &variance, bool const &nuisance, bool const &constrained, float const &lowerBound, float const &upperBound) |
|
std::string const | Name () const |
|
cmf::ParType_t const | ParType () const |
|
double const & | Value () const |
|
uint8_t const & | Key () const |
|
cmf::DetType_t const | Detector () const |
|
float const & | CentralValue () const |
|
float const & | Sigma () const |
|
float const & | Variance () const |
|
bool const & | IsFixed () const |
|
bool | IsOscPar () const |
|
bool const & | IsConstrained () const |
|
bool const & | IsNuisance () const |
|
float const & | LowerBound () const |
|
float const & | UpperBound () const |
|
void | SetValue (double const &val) |
|
bool | operator< (cmf::Parameter const &other) const |
|
bool | operator== (cmf::Parameter const &other) const |
|
Definition at line 86 of file Parameter.h.
cmf::Parameter::Parameter |
( |
| ) |
|
Definition at line 21 of file Parameter.cxx.
float fSigmaSize
size of 1 sigma
static const double kGarbageDouble
float fCentralVal
central value for the parameter
bool fIsConstrained
is this parameter constrained in allowed values?
float fUpperBound
upper bound for the constrained parameter
float fLowerBound
lower bound for the constrained parameter
static const float kGarbageFloat
uint8_t fDetector
which detector is this parameter for?
bool fIsNuisance
is this parameter treated as a nuisance parameter?
double fVal
current value for the parameter in the fit
float fVariance
amount parameter can vary when making random universes
bool fIsFixed
is this parameter fixed during fits?
uint8_t fParType
type of paramter this is
cmf::Parameter::Parameter |
( |
std::string const & |
name, |
|
|
cmf::DetType_t const & |
det, |
|
|
double const & |
val, |
|
|
bool const & |
fixed, |
|
|
float const & |
sigmaSize, |
|
|
float const & |
cv, |
|
|
float const & |
variance, |
|
|
bool const & |
nuisance, |
|
|
bool const & |
constrained, |
|
|
float const & |
lowerBound, |
|
|
float const & |
upperBound |
|
) |
| |
Definition at line 37 of file Parameter.cxx.
References e, fIsFixed, fIsNuisance, fKey, fParType, fVariance, cmf::IsOscillationParameter(), cmf::kCalibSystPar, cmf::kCMFNormSystPar, cmf::kCMFSystPar, cmf::kEShiftSystPar, cmf::kFirstCalibrationVar, cmf::kFirstEShiftVar, cmf::kFirstNormalizationVar, cmf::kFirstSigmaVar, cmf::kLastCalibrationVar, cmf::kLastEShiftVar, cmf::kLastNormalizationVar, cmf::kLastSigmaVar, cmf::kOscPar, cmf::kOtherSystPar, LOG_WARNING, cmf::StringToOscParmType(), and cmf::VarNameToKey().
86 <<
" is set to be fixed but is also set to be a nuisance parameter, " 87 <<
"assume that leaving it fixed is correct and set IsNuisance to "
float fSigmaSize
size of 1 sigma
float fCentralVal
central value for the parameter
bool fIsConstrained
is this parameter constrained in allowed values?
float fUpperBound
upper bound for the constrained parameter
static uint8_t VarNameToKey(std::string const &name)
float fLowerBound
lower bound for the constrained parameter
const std::string cv[Ncv]
uint8_t fDetector
which detector is this parameter for?
bool fIsNuisance
is this parameter treated as a nuisance parameter?
double fVal
current value for the parameter in the fit
#define LOG_WARNING(category)
static bool IsOscillationParameter(std::string const &str)
float fVariance
amount parameter can vary when making random universes
bool fIsFixed
is this parameter fixed during fits?
uint8_t fKey
key for this parameter
double variance(Eigen::VectorXd x)
static cmf::OscParm_t StringToOscParmType(std::string const &str)
uint8_t fParType
type of paramter this is
float const& cmf::Parameter::CentralValue |
( |
| ) |
const |
|
inline |
Definition at line 108 of file Parameter.h.
float fCentralVal
central value for the parameter
bool const& cmf::Parameter::IsConstrained |
( |
| ) |
const |
|
inline |
bool const& cmf::Parameter::IsFixed |
( |
| ) |
const |
|
inline |
bool const& cmf::Parameter::IsNuisance |
( |
| ) |
const |
|
inline |
bool cmf::Parameter::IsOscPar |
( |
| ) |
const |
|
inline |
uint8_t const& cmf::Parameter::Key |
( |
| ) |
const |
|
inline |
float const& cmf::Parameter::LowerBound |
( |
| ) |
const |
|
inline |
Definition at line 104 of file Parameter.h.
enum cmf::par_type ParType_t
uint8_t fParType
type of paramter this is
void cmf::Parameter::SetValue |
( |
double const & |
val | ) |
|
|
inline |
float const& cmf::Parameter::Sigma |
( |
| ) |
const |
|
inline |
Definition at line 109 of file Parameter.h.
float fSigmaSize
size of 1 sigma
float const& cmf::Parameter::UpperBound |
( |
| ) |
const |
|
inline |
double const& cmf::Parameter::Value |
( |
| ) |
const |
|
inline |
float const& cmf::Parameter::Variance |
( |
| ) |
const |
|
inline |
Definition at line 110 of file Parameter.h.
float fVariance
amount parameter can vary when making random universes
std::ostream& operator<< |
( |
std::ostream & |
o, |
|
|
cmf::Parameter const & |
par |
|
) |
| |
|
friend |
Definition at line 106 of file Parameter.cxx.
108 o <<
"-- parameter: " 109 << std::setw(30) <<
par.Name() << std::setw(10)
110 <<
" val: " <<
par.Value()
111 <<
" fixed: " <<
par.IsFixed()
112 <<
" oscillation " <<
par.IsOscPar()
113 <<
" nuisance " <<
par.IsNuisance()
114 <<
" constrained " <<
par.IsConstrained()
115 <<
" lower: " <<
par.LowerBound()
116 <<
" upper: " <<
par.UpperBound()
float cmf::Parameter::fCentralVal |
|
private |
central value for the parameter
Definition at line 129 of file Parameter.h.
uint8_t cmf::Parameter::fDetector |
|
private |
which detector is this parameter for?
Definition at line 127 of file Parameter.h.
bool cmf::Parameter::fIsConstrained |
|
private |
is this parameter constrained in allowed values?
Definition at line 134 of file Parameter.h.
bool cmf::Parameter::fIsFixed |
|
private |
bool cmf::Parameter::fIsNuisance |
|
private |
uint8_t cmf::Parameter::fKey |
|
private |
float cmf::Parameter::fLowerBound |
|
private |
lower bound for the constrained parameter
Definition at line 135 of file Parameter.h.
uint8_t cmf::Parameter::fParType |
|
private |
float cmf::Parameter::fSigmaSize |
|
private |
float cmf::Parameter::fUpperBound |
|
private |
upper bound for the constrained parameter
Definition at line 136 of file Parameter.h.
double cmf::Parameter::fVal |
|
private |
current value for the parameter in the fit
Definition at line 128 of file Parameter.h.
float cmf::Parameter::fVariance |
|
private |
amount parameter can vary when making random universes
Definition at line 131 of file Parameter.h.
Referenced by Parameter().
The documentation for this class was generated from the following files:
- /cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-02-25/CovarianceMatrixFit/dataProducts/Parameter.h
- /cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-02-25/CovarianceMatrixFit/dataProducts/Parameter.cxx