BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
CalibData::ValSig Class Reference

#include <RangeBase.h>

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 ()
 
 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 Calibration/CalibData/CalibData-00-01-18/CalibData/RangeBase.h.

Constructor & Destructor Documentation

◆ ValSig() [1/4]

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

◆ ValSig() [2/4]

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

Definition at line 39 of file Calibration/CalibData/CalibData-00-01-18/CalibData/RangeBase.h.

39{m_val = other.m_val; m_sig = other.m_sig;}
Index other(Index i, Index j)
Definition: EvtCyclic3.cc:118

◆ ValSig() [3/4]

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

Definition at line 38 of file InstallArea/include/CalibData/CalibData/RangeBase.h.

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

◆ ValSig() [4/4]

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

Definition at line 39 of file InstallArea/include/CalibData/CalibData/RangeBase.h.

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

Member Function Documentation

◆ getSig() [1/2]

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

◆ getSig() [2/2]

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

Definition at line 42 of file InstallArea/include/CalibData/CalibData/RangeBase.h.

42{return m_sig;}

◆ getVal() [1/2]

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

◆ getVal() [2/2]

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

Definition at line 41 of file InstallArea/include/CalibData/CalibData/RangeBase.h.

41{return m_val;}

◆ isDefined() [1/2]

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

Definition at line 40 of file Calibration/CalibData/CalibData-00-01-18/CalibData/RangeBase.h.

40{return (m_sig >= 0.0); }

◆ isDefined() [2/2]

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

Definition at line 40 of file InstallArea/include/CalibData/CalibData/RangeBase.h.

40{return (m_sig >= 0.0); }

◆ setUndefined() [1/2]

void CalibData::ValSig::setUndefined ( )
inline

Definition at line 44 of file Calibration/CalibData/CalibData-00-01-18/CalibData/RangeBase.h.

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

◆ setUndefined() [2/2]

void CalibData::ValSig::setUndefined ( )
inline

Definition at line 44 of file InstallArea/include/CalibData/CalibData/RangeBase.h.

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

Member Data Documentation

◆ m_sig

float CalibData::ValSig::m_sig

◆ m_val

float CalibData::ValSig::m_val

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