CMS 3D CMS Logo

Public Member Functions | Private Attributes

ErrorCorrelation Class Reference

#include <ErrorCorrelation.h>

List of all members.

Public Member Functions

 ErrorCorrelation (const pss &entry1, const pss &entry2, const ALIdouble corr)
const ALIdouble getCorrelation () const
const pssgetEntry1 () const
const pssgetEntry2 () const
void update (const ALIdouble corr)

Private Attributes

ALIdouble theCorr
pss theEntry1
pss theEntry2

Detailed Description

Definition at line 16 of file ErrorCorrelation.h.


Constructor & Destructor Documentation

ErrorCorrelation::ErrorCorrelation ( const pss entry1,
const pss entry2,
const ALIdouble  corr 
)

Definition at line 3 of file ErrorCorrelation.cc.

                                                                                              : theEntry1(entry1), theEntry2(entry2), theCorr(corr) 
{
}

Member Function Documentation

const ALIdouble ErrorCorrelation::getCorrelation ( ) const [inline]

Definition at line 27 of file ErrorCorrelation.h.

References theCorr.

Referenced by Fit::setCorrelationsInWMatrix().

                                         {
    return theCorr; }
const pss& ErrorCorrelation::getEntry1 ( ) const [inline]

Definition at line 23 of file ErrorCorrelation.h.

References theEntry1.

Referenced by Fit::setCorrelationsInWMatrix().

                               {
    return theEntry1; }
const pss& ErrorCorrelation::getEntry2 ( ) const [inline]

Definition at line 25 of file ErrorCorrelation.h.

References theEntry2.

Referenced by Fit::setCorrelationsInWMatrix().

                               {
    return theEntry2; }
void ErrorCorrelation::update ( const ALIdouble  corr)

Definition at line 7 of file ErrorCorrelation.cc.

References corr, and theCorr.

{
  theCorr = corr;
}

Member Data Documentation

Definition at line 33 of file ErrorCorrelation.h.

Referenced by getCorrelation(), and update().

Definition at line 31 of file ErrorCorrelation.h.

Referenced by getEntry1().

Definition at line 32 of file ErrorCorrelation.h.

Referenced by getEntry2().