ATLAS Offline Software
Loading...
Searching...
No Matches
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
9
10// persistent c-struct
12{
13public:
14
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;
24};
25
26inline 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
LArPedestalP1(const float pedestal, const float pedestalRMS)
bool isEmpty() const