#include <Measurement1DFloat.h>
Public Member Functions | |
float | error () const |
Measurement1DFloat (const float &aValue) | |
Measurement1DFloat (const float &aValue, const float &aError) | |
Measurement1DFloat () | |
float | significance () const |
float | value () const |
~Measurement1DFloat () | |
Private Attributes | |
float | theError |
float | theValue |
A class that combines a value and it's associated uncertainty, or error, together. Provides a more explicit interface than a pair<float,float>. If you don't like the name, propose a better one!
Definition at line 9 of file Measurement1DFloat.h.
Measurement1DFloat::Measurement1DFloat | ( | ) | [inline] |
Definition at line 14 of file Measurement1DFloat.h.
Measurement1DFloat::Measurement1DFloat | ( | const float & | aValue | ) | [inline] |
Definition at line 16 of file Measurement1DFloat.h.
Measurement1DFloat::Measurement1DFloat | ( | const float & | aValue, |
const float & | aError | ||
) | [inline] |
Definition at line 19 of file Measurement1DFloat.h.
Measurement1DFloat::~Measurement1DFloat | ( | ) | [inline] |
Definition at line 24 of file Measurement1DFloat.h.
{} ;
float Measurement1DFloat::error | ( | ) | const [inline] |
Definition at line 28 of file Measurement1DFloat.h.
References theError.
Referenced by pat::VertexAssociation::hasErrors().
{ return theError; }
float Measurement1DFloat::significance | ( | ) | const [inline] |
Definition at line 30 of file Measurement1DFloat.h.
References theError, and theValue.
Referenced by ConversionHitChecker::nHitsBeforeVtx(), and pat::VertexAssociationSelector::operator()().
float Measurement1DFloat::value | ( | ) | const [inline] |
Definition at line 26 of file Measurement1DFloat.h.
References theValue.
Referenced by pat::VertexAssociation::hasTransverseIP(), and pat::VertexAssociationSelector::operator()().
{ return theValue; }
float Measurement1DFloat::theError [private] |
Definition at line 38 of file Measurement1DFloat.h.
Referenced by error(), and significance().
float Measurement1DFloat::theValue [private] |
Definition at line 37 of file Measurement1DFloat.h.
Referenced by significance(), and value().