ATLAS Offline Software
LArCalorimeter
LArRawConditions
LArRawConditions
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
9
#include "
LArElecCalib/LArCalibErrorCode.h
"
10
11
class
LArSingleFloatP
{
12
public
:
13
enum
{
ERRORCODE
=
LArElecCalib::ERRORCODE
};
14
LArSingleFloatP
() :
m_data
(
ERRORCODE
) {}
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
LArSingleFloatP::LArSingleFloatP
LArSingleFloatP()
Definition:
LArSingleFloatP.h:14
LArSingleFloatP
Definition:
LArSingleFloatP.h:11
LArCalibErrorCode.h
Defines a common ERRORCODE enum for LAr-Calibration objects.
LArSingleFloatP::LArSingleFloatP
LArSingleFloatP(const float &f)
Definition:
LArSingleFloatP.h:15
hist_file_dump.f
f
Definition:
hist_file_dump.py:135
LArSingleFloatP::isEmpty
bool isEmpty() const
Definition:
LArSingleFloatP.h:16
LArSingleFloatP::ERRORCODE
@ ERRORCODE
Definition:
LArSingleFloatP.h:13
LArElecCalib::ERRORCODE
@ ERRORCODE
Definition:
LArCalibErrorCode.h:17
LArSingleFloatP::m_data
float m_data
Definition:
LArSingleFloatP.h:18
readCCLHist.float
float
Definition:
readCCLHist.py:83
Generated on Sun Dec 22 2024 21:13:47 for ATLAS Offline Software by
1.8.18