CalibData::ValSig Class Reference

#include <RangeBase.h>

List of all members.

Public Member Functions

 ValSig (float val=-1, float sig=-1)
 ValSig (const ValSig &other)
bool isDefined () const
float getVal () const
float getSig () const
void setUndefined ()

Public Attributes

float m_val
float m_sig


Detailed Description

Generally speaking each value in a calorimeter calibration comes with an associated uncertainty. Put them together with this little class

Definition at line 36 of file RangeBase.h.


Constructor & Destructor Documentation

CalibData::ValSig::ValSig ( float  val = -1,
float  sig = -1 
) [inline]

Definition at line 38 of file RangeBase.h.

00038 : m_val(val), m_sig(sig) {} 

CalibData::ValSig::ValSig ( const ValSig other  )  [inline]

Definition at line 39 of file RangeBase.h.

References m_sig, m_val, and EvtCyclic3::other().

00039 {m_val = other.m_val; m_sig = other.m_sig;}


Member Function Documentation

float CalibData::ValSig::getSig (  )  const [inline]

Definition at line 42 of file RangeBase.h.

References m_sig.

00042 {return m_sig;}

float CalibData::ValSig::getVal (  )  const [inline]

Definition at line 41 of file RangeBase.h.

References m_val.

00041 {return m_val;}

bool CalibData::ValSig::isDefined (  )  const [inline]

Definition at line 40 of file RangeBase.h.

References m_sig.

00040 {return (m_sig >= 0.0); }

void CalibData::ValSig::setUndefined (  )  [inline]

Definition at line 44 of file RangeBase.h.

References m_sig, and m_val.

00044 {m_val= -1.0; m_sig = -1;}


Member Data Documentation

float CalibData::ValSig::m_sig

Definition at line 46 of file RangeBase.h.

Referenced by getSig(), isDefined(), XmlBaseCnv::processValSig(), setUndefined(), and ValSig().

float CalibData::ValSig::m_val

Definition at line 45 of file RangeBase.h.

Referenced by getVal(), XmlBaseCnv::processValSig(), setUndefined(), and ValSig().


Generated on Tue Nov 29 23:36:24 2016 for BOSS_7.0.2 by  doxygen 1.4.7