evtgen is hosted by Hepforge, IPPP Durham
EvtGen  2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
EvtValError Class Referencefinal

#include <EvtGenBase/EvtValError.hh>

Public Member Functions

 EvtValError ()
 
 EvtValError (double val)
 
 EvtValError (double val, double err)
 
 EvtValError (const EvtValError &other)
 
int valueKnown () const
 
double value () const
 
int errorKnown () const
 
double error () const
 
double prec () const
 
void operator= (const EvtValError &other)
 
void operator *= (const EvtValError &other)
 
void operator/= (const EvtValError &other)
 
void operator+= (const EvtValError &other)
 
void operator *= (double c)
 
void print (std::ostream &) const
 

Private Attributes

int _valKnown
 
double _val
 
int _errKnown
 
double _err
 

Detailed Description

Definition at line 31 of file EvtValError.hh.

Constructor & Destructor Documentation

◆ EvtValError() [1/4]

EvtValError::EvtValError ( )

Definition at line 31 of file EvtValError.cpp.

◆ EvtValError() [2/4]

EvtValError::EvtValError ( double  val)

Definition at line 36 of file EvtValError.cpp.

◆ EvtValError() [3/4]

EvtValError::EvtValError ( double  val,
double  err 
)

Definition at line 41 of file EvtValError.cpp.

◆ EvtValError() [4/4]

EvtValError::EvtValError ( const EvtValError other)

Definition at line 46 of file EvtValError.cpp.

Member Function Documentation

◆ error()

double EvtValError::error ( ) const
inline

Definition at line 45 of file EvtValError.hh.

◆ errorKnown()

int EvtValError::errorKnown ( ) const
inline

Definition at line 44 of file EvtValError.hh.

◆ operator *=() [1/2]

void EvtValError::operator *= ( const EvtValError other)

Definition at line 68 of file EvtValError.cpp.

◆ operator *=() [2/2]

void EvtValError::operator *= ( double  c)

Definition at line 127 of file EvtValError.cpp.

◆ operator+=()

void EvtValError::operator+= ( const EvtValError other)

Definition at line 112 of file EvtValError.cpp.

◆ operator/=()

void EvtValError::operator/= ( const EvtValError other)

Definition at line 83 of file EvtValError.cpp.

◆ operator=()

void EvtValError::operator= ( const EvtValError other)

Definition at line 60 of file EvtValError.cpp.

◆ prec()

double EvtValError::prec ( ) const

Definition at line 54 of file EvtValError.cpp.

◆ print()

void EvtValError::print ( std::ostream &  ) const

Definition at line 98 of file EvtValError.cpp.

◆ value()

double EvtValError::value ( ) const
inline

Definition at line 39 of file EvtValError.hh.

◆ valueKnown()

int EvtValError::valueKnown ( ) const
inline

Definition at line 38 of file EvtValError.hh.

Member Data Documentation

◆ _err

double EvtValError::_err
private

Definition at line 64 of file EvtValError.hh.

◆ _errKnown

int EvtValError::_errKnown
private

Definition at line 63 of file EvtValError.hh.

◆ _val

double EvtValError::_val
private

Definition at line 62 of file EvtValError.hh.

◆ _valKnown

int EvtValError::_valKnown
private

Definition at line 61 of file EvtValError.hh.


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