ParamObs Class Reference

A class for setting a parameter as an observable. More...

#include <ParamObs.h>

Inheritance diagram for ParamObs:
[legend]
Collaboration diagram for ParamObs:
[legend]

Detailed Description

A class for setting a parameter as an observable.

Author
HEPfit Collaboration

This class sets a parameter as an observable when it is requested in the config file.

Definition at line 21 of file ParamObs.h.

Public Member Functions

double computeThValue ()
 the method to compute the theory value of the parameter More...
 
 ParamObs (const StandardModel &SM, const std::string name)
 Constructor. More...
 
- Public Member Functions inherited from ThObservable
double getBinMax ()
 A get method to get the maximum value of the bin. More...
 
double getBinMin ()
 A get method to get the minimum value of the bin. More...
 
const StandardModelgetModel ()
 A get method to get the model. More...
 
void setBinMax (double max)
 A set method to set the maximum value of the bin. More...
 
void setBinMin (double min)
 A set method to set the minimum value of the bin. More...
 
 ThObservable (const StandardModel &SM_i)
 Constructor. More...
 
 ThObservable (const ThObservable &orig)
 The copy constructor. More...
 
virtual ~ThObservable ()
 The default destructor. More...
 

Private Attributes

const double & param
 The parameter. More...
 

Additional Inherited Members

- Protected Attributes inherited from ThObservable
double max
 the bin maximum. More...
 
double min
 The bin minimum. More...
 
const StandardModelSM
 A reference to an object of StandardMode class. More...
 

Constructor & Destructor Documentation

ParamObs::ParamObs ( const StandardModel SM,
const std::string  name 
)

Constructor.

Parameters
[in]SMa reference to the model
[in]namethe name of the parameter

Definition at line 10 of file ParamObs.cpp.

11 : ThObservable(SM_i), param(SM_i.getModelParam(name))
12 {
13 }
ThObservable(const StandardModel &SM_i)
Constructor.
Definition: ThObservable.h:29
const double & param
The parameter.
Definition: ParamObs.h:38

Member Function Documentation

double ParamObs::computeThValue ( )
virtual

the method to compute the theory value of the parameter

Returns
the value of the parameter

Implements ThObservable.

Definition at line 15 of file ParamObs.cpp.

16 {
17  return param;
18 }
const double & param
The parameter.
Definition: ParamObs.h:38

Member Data Documentation

const double& ParamObs::param
private

The parameter.

Definition at line 38 of file ParamObs.h.


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