ATLAS Offline Software
LArPedestalFlat.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_LARPEDESTALFLAT_H
8 #define LARCOOLCONDITIONS_LARPEDESTALFLAT_H
9 
15 
16 
18 
20  public LArCondFlatBase,
21  public LArPedestalBlob {
22 
23 private:
24  LArPedestalFlat(); //private default constructor
25 
26 public:
27  LArPedestalFlat(const CondAttrListCollection* attrList);
28 
29  //~LArPedestalFlat();
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( LArPedestalFlat,69859981,1 )
45 #endif
LArPedestalFlat::pedestal
virtual float pedestal(const HWIdentifier &CellID, int gain) const
Definition: LArPedestalFlat.cxx:27
CondCont.h
Hold mappings of ranges to condition objects.
CONDCONT_DEF
CONDCONT_DEF(LArPedestalFlat, 151238349, ILArPedestal)
LArPedestalFlat::good
bool good() const
Definition: LArPedestalFlat.h:31
ILArPedestal
Definition: ILArPedestal.h:12
LArCondFlatBase
Definition: LArCondFlatBase.h:20
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArCondFlatBase::m_isInitialized
bool m_isInitialized
Definition: LArCondFlatBase.h:28
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
LArPedestalBlob
Definition: LArPedestalBlob.h:16
LArCondFlatBase.h
LArPedestalFlat::LArPedestalFlat
LArPedestalFlat()
Definition: LArPedestalFlat.cxx:12
LArPedestalBlob.h
LArPedestalFlat::pedestalRMS
virtual float pedestalRMS(const HWIdentifier &CellID, int gain) const
access to RMS of Pedestal index by Identifier, and gain setting
Definition: LArPedestalFlat.cxx:31
IdentifierHash.h
ILArPedestal.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
LArPedestalFlat
Definition: LArPedestalFlat.h:21
LArOnlineID.h