ATLAS Offline Software
LArPedestalSC.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //Dear emacs, this is -*-c++-*-
6 
7 #ifndef LARCOOLCONDITIONS_LARPEDESTALSC_H
8 #define LARCOOLCONDITIONS_LARPEDESTALSC_H
9 
15 
16 
18 
19 class LArPedestalSC: public ILArPedestal,
20  public LArCondSuperCellBase,
21  public LArPedestalBlob {
22 
23 private:
24  LArPedestalSC(); //private default constructor
25 
26 public:
27  LArPedestalSC(const CondAttrListCollection* attrList);
28 
29  //~LArPedestalSC();
30 
31  bool good() const { return m_isInitialized && m_nChannels>0; }
32 
33 
34  // retrieving Pedestal using online ID
35 
36  virtual float pedestal(const HWIdentifier& CellID, int gain) const;
37 
38  virtual float pedestalRMS(const HWIdentifier& CellID, int gain) const;
39 
40 };
41 
42 #include "AthenaKernel/CondCont.h"
43 CLASS_DEF( LArPedestalSC,17770864,1 )
45 #endif
LArPedestalSC::good
bool good() const
Definition: LArPedestalSC.h:31
CondCont.h
Hold mappings of ranges to condition objects.
ILArPedestal
Definition: ILArPedestal.h:12
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
HWIdentifier
Definition: HWIdentifier.h:13
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number....
Definition: CondAttrListCollection.h:52
LArPedestalSC::LArPedestalSC
LArPedestalSC()
Definition: LArPedestalSC.cxx:8
LArPedestalBlob
Definition: LArPedestalBlob.h:16
LArPedestalBlob.h
LArPedestalSC
Definition: LArPedestalSC.h:21
LArPedestalSC::pedestalRMS
virtual float pedestalRMS(const HWIdentifier &CellID, int gain) const
access to RMS of Pedestal index by Identifier, and gain setting
Definition: LArPedestalSC.cxx:26
CONDCONT_DEF
CONDCONT_DEF(LArPedestalSC, 219458938, ILArPedestal)
LArCondSuperCellBase
Definition: LArCondSuperCellBase.h:19
IdentifierHash.h
ILArPedestal.h
LArCondSuperCellBase.h
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
LArPedestalBlob::m_nChannels
unsigned m_nChannels
Definition: LArPedestalBlob.h:40
LArCondSuperCellBase::m_isInitialized
bool m_isInitialized
Definition: LArCondSuperCellBase.h:26
LArPedestalSC::pedestal
virtual float pedestal(const HWIdentifier &CellID, int gain) const
Definition: LArPedestalSC.cxx:21
LArOnlineID.h