ATLAS Offline Software
Loading...
Searching...
No Matches
LArSingleFloatP.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5// Dear emacs, this is -*-c++-*-
6#ifndef LARRAWCONDITIONS_LARSINGLEFLOATP
7#define LARRAWCONDITIONS_LARSINGLEFLOATP
8
10
12 public:
15 LArSingleFloatP(const float& f) : m_data(f) {}
16 bool isEmpty() const {return (m_data<=1.0+static_cast<int>(ERRORCODE));};
17 operator float() {return m_data;};
18 operator float() const {return m_data;};
19 float m_data;
20};
21
22
23
24#endif
25
Defines a common ERRORCODE enum for LAr-Calibration objects.
bool isEmpty() const
LArSingleFloatP(const float &f)