ATLAS Offline Software
LArNoiseSC.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 #ifndef LARCOOLCONDITIONS_LARNOISESSC_H
7 #define LARCOOLCONDITIONS_LARNOISESSC_H
8 
9 #include "LArElecCalib/ILArNoise.h"
12 
13 
15 
16 class LArNoiseSC: public ILArNoise,
17  public LArCondSuperCellBase,
18  public LArSingleFloatBlob {
19 
20 public:
21  LArNoiseSC();
22  LArNoiseSC(const CondAttrListCollection* attrList);
23 
24  virtual ~LArNoiseSC();
25 
26  bool good() const { return m_isInitialized && m_nChannels>0; }
27 
28  // retrieving LArNoise using online ID
29  virtual const float& noise(const HWIdentifier& chid, int gain) const;
30 
31 private:
32  //static const float errorcode;
33 
34 };
35 #include "AthenaKernel/CondCont.h"
36 CLASS_DEF( LArNoiseSC ,234451881 , 1 )
38 
39 #endif
ILArNoise.h
CondCont.h
Hold mappings of ranges to condition objects.
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArNoiseSC::LArNoiseSC
LArNoiseSC()
Definition: LArNoiseSC.cxx:10
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
ILArNoise
Definition: ILArNoise.h:12
CONDCONT_DEF
CONDCONT_DEF(LArNoiseSC, 89903463, ILArNoise)
LArSingleFloatBlob::m_nChannels
unsigned m_nChannels
Definition: LArSingleFloatBlob.h:30
LArNoiseSC::~LArNoiseSC
virtual ~LArNoiseSC()
Definition: LArNoiseSC.cxx:14
LArSingleFloatBlob
Definition: LArSingleFloatBlob.h:15
LArNoiseSC::noise
virtual const float & noise(const HWIdentifier &chid, int gain) const
Definition: LArNoiseSC.cxx:28
LArCondSuperCellBase
Definition: LArCondSuperCellBase.h:19
LArSingleFloatBlob.h
LArCondSuperCellBase.h
LArNoiseSC
Definition: LArNoiseSC.h:18
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
LArNoiseSC::good
bool good() const
Definition: LArNoiseSC.h:26
LArCondSuperCellBase::m_isInitialized
bool m_isInitialized
Definition: LArCondSuperCellBase.h:26