ATLAS Offline Software
LArCalorimeter
LArRawConditions
LArRawConditions
LArPedestalP1.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
#ifndef LARRAWCONDITIONS_LARPEDESTALP1
6
#define LARRAWCONDITIONS_LARPEDESTALP1
7
8
#include "
LArElecCalib/ILArPedestal.h
"
9
10
// persistent c-struct
11
class
LArPedestalP1
12
{
13
public
:
14
15
LArPedestalP1
():
16
m_Pedestal
(
ILArPedestal
::
ERRORCODE
),
17
m_PedestalRMS
(
ILArPedestal
::
ERRORCODE
) {}
18
19
LArPedestalP1
(
const
float
pedestal,
const
float
pedestalRMS)
20
:
m_Pedestal
(pedestal),
m_PedestalRMS
(pedestalRMS) {}
21
bool
isEmpty
()
const
;
22
float
m_Pedestal
;
23
float
m_PedestalRMS
;
24
};
25
26
inline
bool
LArPedestalP1::isEmpty
()
const
{
27
return
(
m_Pedestal
<=1.0+
static_cast<
int
>
(
ILArPedestal::ERRORCODE
) ||
28
m_PedestalRMS
<=1.0+
static_cast<
int
>
(
ILArPedestal::ERRORCODE
));
29
}
30
31
#endif
32
ILArPedestal
Definition:
ILArPedestal.h:12
LArPedestalP1
Definition:
LArPedestalP1.h:12
ILArPedestal::ERRORCODE
@ ERRORCODE
Definition:
ILArPedestal.h:47
LArPedestalP1::isEmpty
bool isEmpty() const
Definition:
LArPedestalP1.h:26
LArPedestalP1::LArPedestalP1
LArPedestalP1(const float pedestal, const float pedestalRMS)
Definition:
LArPedestalP1.h:19
ILArPedestal.h
LArElecCalib::ERRORCODE
@ ERRORCODE
Definition:
LArCalibErrorCode.h:17
LArPedestalP1::LArPedestalP1
LArPedestalP1()
Definition:
LArPedestalP1.h:15
LArPedestalP1::m_PedestalRMS
float m_PedestalRMS
Definition:
LArPedestalP1.h:23
LArPedestalP1::m_Pedestal
float m_Pedestal
Definition:
LArPedestalP1.h:22
Generated on Sun Dec 22 2024 21:13:38 for ATLAS Offline Software by
1.8.18