ATLAS Offline Software
Loading...
Searching...
No Matches
LArSingleFloatP Class Reference

#include <LArSingleFloatP.h>

Collaboration diagram for LArSingleFloatP:

Public Types

enum  { ERRORCODE = LArElecCalib::ERRORCODE }

Public Member Functions

 LArSingleFloatP ()
 LArSingleFloatP (const float &f)
bool isEmpty () const
 operator float ()
 operator float () const

Public Attributes

float m_data

Detailed Description

Definition at line 11 of file LArSingleFloatP.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ERRORCODE 

Definition at line 13 of file LArSingleFloatP.h.

Constructor & Destructor Documentation

◆ LArSingleFloatP() [1/2]

LArSingleFloatP::LArSingleFloatP ( )
inline

Definition at line 14 of file LArSingleFloatP.h.

◆ LArSingleFloatP() [2/2]

LArSingleFloatP::LArSingleFloatP ( const float & f)
inline

Definition at line 15 of file LArSingleFloatP.h.

15: m_data(f) {}

Member Function Documentation

◆ isEmpty()

bool LArSingleFloatP::isEmpty ( ) const
inline

Definition at line 16 of file LArSingleFloatP.h.

16{return (m_data<=1.0+static_cast<int>(ERRORCODE));};

◆ operator float() [1/2]

LArSingleFloatP::operator float ( )
inline

Definition at line 17 of file LArSingleFloatP.h.

17{return m_data;};

◆ operator float() [2/2]

LArSingleFloatP::operator float ( ) const
inline

Definition at line 18 of file LArSingleFloatP.h.

18{return m_data;};

Member Data Documentation

◆ m_data

float LArSingleFloatP::m_data

Definition at line 19 of file LArSingleFloatP.h.


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