PandaRoot
RhoDoubleErr Class Reference

#include <RhoDoubleErr.h>

Inheritance diagram for RhoDoubleErr:

Public Member Functions

 RhoDoubleErr ()
 
 RhoDoubleErr (Double_t val)
 
 RhoDoubleErr (Double_t val, Double_t cov)
 
 RhoDoubleErr (const RhoDoubleErr &)
 
virtual ~RhoDoubleErr ()
 
RhoDoubleErroperator= (const RhoDoubleErr &)
 
Double_t Value () const
 
Double_t Covariance () const
 
Double_t DetermineChisq (Double_t ref) const
 
RhoDoubleErr operator- ()
 
RhoDoubleErr operator- (const RhoDoubleErr &)
 
RhoDoubleErr operator+ (const RhoDoubleErr &)
 
RhoDoubleErr operator* (const RhoDoubleErr &)
 
RhoDoubleErr operator/ (const RhoDoubleErr &)
 
void SetValue (Double_t val)
 
void SetCovariance (Double_t cov)
 
RhoDoubleErroperator+= (const RhoDoubleErr &)
 
RhoDoubleErroperator-= (const RhoDoubleErr &)
 
RhoDoubleErroperator*= (const RhoDoubleErr &)
 
RhoDoubleErroperator/= (const RhoDoubleErr &)
 
Bool_t operator== (const RhoDoubleErr &other) const
 
Bool_t operator< (const RhoDoubleErr &other) const
 

Detailed Description

Definition at line 33 of file RhoDoubleErr.h.

Constructor & Destructor Documentation

◆ RhoDoubleErr() [1/4]

RhoDoubleErr::RhoDoubleErr ( )
inline

Definition at line 36 of file RhoDoubleErr.h.

Referenced by RhoDoubleErr().

36 : fValue(0.0), fCovariance(0.0){};

◆ RhoDoubleErr() [2/4]

RhoDoubleErr::RhoDoubleErr ( Double_t  val)
inline

Definition at line 37 of file RhoDoubleErr.h.

37 : fValue(val), fCovariance(0.0){};

◆ RhoDoubleErr() [3/4]

RhoDoubleErr::RhoDoubleErr ( Double_t  val,
Double_t  cov 
)
inline

Definition at line 38 of file RhoDoubleErr.h.

References RhoDoubleErr().

38 : fValue(val), fCovariance(cov){};

◆ RhoDoubleErr() [4/4]

RhoDoubleErr::RhoDoubleErr ( const RhoDoubleErr )

◆ ~RhoDoubleErr()

virtual RhoDoubleErr::~RhoDoubleErr ( )
inlinevirtual

Definition at line 44 of file RhoDoubleErr.h.

References operator=().

44 {}

Member Function Documentation

◆ Covariance()

Double_t RhoDoubleErr::Covariance ( ) const
inline

Definition at line 51 of file RhoDoubleErr.h.

References DetermineChisq(), operator*(), operator+(), operator-(), and operator/().

51 { return fCovariance; }

◆ DetermineChisq()

Double_t RhoDoubleErr::DetermineChisq ( Double_t  ref) const

Referenced by Covariance().

◆ operator*()

RhoDoubleErr RhoDoubleErr::operator* ( const RhoDoubleErr )

Referenced by Covariance().

◆ operator*=()

RhoDoubleErr& RhoDoubleErr::operator*= ( const RhoDoubleErr )

Referenced by SetCovariance().

◆ operator+()

RhoDoubleErr RhoDoubleErr::operator+ ( const RhoDoubleErr )

Referenced by Covariance().

◆ operator+=()

RhoDoubleErr& RhoDoubleErr::operator+= ( const RhoDoubleErr )

Referenced by SetCovariance().

◆ operator-() [1/2]

RhoDoubleErr RhoDoubleErr::operator- ( )

Referenced by Covariance().

◆ operator-() [2/2]

RhoDoubleErr RhoDoubleErr::operator- ( const RhoDoubleErr )

◆ operator-=()

RhoDoubleErr& RhoDoubleErr::operator-= ( const RhoDoubleErr )

Referenced by SetCovariance().

◆ operator/()

RhoDoubleErr RhoDoubleErr::operator/ ( const RhoDoubleErr )

Referenced by Covariance().

◆ operator/=()

RhoDoubleErr& RhoDoubleErr::operator/= ( const RhoDoubleErr )

Referenced by SetCovariance().

◆ operator<()

Bool_t RhoDoubleErr::operator< ( const RhoDoubleErr other) const
inline

Definition at line 77 of file RhoDoubleErr.h.

References operator<<().

77 { return (fValue < other.fValue); }

◆ operator=()

RhoDoubleErr& RhoDoubleErr::operator= ( const RhoDoubleErr )

Referenced by ~RhoDoubleErr().

◆ operator==()

Bool_t RhoDoubleErr::operator== ( const RhoDoubleErr other) const
inline

Definition at line 76 of file RhoDoubleErr.h.

76 { return (fValue == other.fValue && fCovariance == other.fCovariance); }

◆ SetCovariance()

void RhoDoubleErr::SetCovariance ( Double_t  cov)
inline

Definition at line 68 of file RhoDoubleErr.h.

References operator*=(), operator+=(), operator-=(), and operator/=().

68 { fCovariance = cov; }

◆ SetValue()

void RhoDoubleErr::SetValue ( Double_t  val)
inline

Definition at line 67 of file RhoDoubleErr.h.

67 { fValue = val; }

◆ Value()

Double_t RhoDoubleErr::Value ( ) const
inline

Definition at line 50 of file RhoDoubleErr.h.

50 { return fValue; }

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