Public Member Functions | Private Attributes | Friends | List of all members
cmf::OscPar Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-01-23/CovarianceMatrixFit/dataProducts/Parameter.h"

Public Member Functions

 OscPar ()
 
 OscPar (cmf::OscParm_t const &par, float const &val)
 
cmf::OscParm_t const & Param () const
 
float const & Value () const
 
bool operator== (cmf::OscPar const &other) const
 
bool operator< (cmf::OscPar const &other) const
 

Private Attributes

cmf::OscParm_t fParm
 the parameter More...
 
float fVal
 the value of the parameter More...
 

Friends

std::ostream & operator<< (std::ostream &o, cmf::OscPar const &op)
 

Detailed Description

Definition at line 27 of file Parameter.h.

Constructor & Destructor Documentation

cmf::OscPar::OscPar ( )
inline

Definition at line 31 of file Parameter.h.

34  {}
cmf::OscParm_t fParm
the parameter
Definition: Parameter.h:52
float fVal
the value of the parameter
Definition: Parameter.h:53
static const float kGarbageFloat
Definition: Constants.h:19
cmf::OscPar::OscPar ( cmf::OscParm_t const &  par,
float const &  val 
)
inline

Definition at line 36 of file Parameter.h.

38  : fParm(par)
39  , fVal(val)
40  {}
Int_t par
Definition: SimpleIterate.C:24
cmf::OscParm_t fParm
the parameter
Definition: Parameter.h:52
float fVal
the value of the parameter
Definition: Parameter.h:53

Member Function Documentation

bool cmf::OscPar::operator< ( cmf::OscPar const &  other) const
inline

Definition at line 46 of file Parameter.h.

References fParm, msf_helper::o, operator<<, and Param().

Referenced by cmf::Parameter::SetValue().

46 { return fParm < other.Param(); }
cmf::OscParm_t fParm
the parameter
Definition: Parameter.h:52
bool cmf::OscPar::operator== ( cmf::OscPar const &  other) const
inline

Definition at line 45 of file Parameter.h.

References fParm, and Param().

Referenced by cmf::Parameter::SetValue().

45 { return fParm == other.Param(); }
cmf::OscParm_t fParm
the parameter
Definition: Parameter.h:52
cmf::OscParm_t const& cmf::OscPar::Param ( ) const
inline

Definition at line 42 of file Parameter.h.

References fParm.

Referenced by operator<(), cmf::operator<<(), and operator==().

42 { return fParm; }
cmf::OscParm_t fParm
the parameter
Definition: Parameter.h:52
float const& cmf::OscPar::Value ( ) const
inline

Definition at line 43 of file Parameter.h.

References fVal.

Referenced by cmf::operator<<().

43 { return fVal; }
float fVal
the value of the parameter
Definition: Parameter.h:53

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
cmf::OscPar const &  op 
)
friend

Definition at line 12 of file Parameter.cxx.

Referenced by operator<(), and cmf::Parameter::SetValue().

12  {
13  o << cmf::cOscParams_Strings[op.Param()]
14  << " "
15  << op.Value();
16 
17  return o;
18  }
const std::string cOscParams_Strings[kNumOscParams]
Definition: Constants.h:272

Member Data Documentation

cmf::OscParm_t cmf::OscPar::fParm
private
float cmf::OscPar::fVal
private

the value of the parameter

Definition at line 53 of file Parameter.h.

Referenced by cmf::Parameter::SetValue(), Value(), cmf::SystPar::Value(), and cmf::Parameter::Value().


The documentation for this class was generated from the following file: