ATLAS Offline Software
LArHVScaleCorrFlat.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_LARHVSCALECORRFLAT_H
7 #define LARCOOLCONDITIONS_LARHVSCALECORRFLAT_H
8 
12 
14 
16  public LArCondFlatBase,
17  public LArSingleFloatBlob {
18 private:
20 
21 public:
23  virtual ~LArHVScaleCorrFlat();
24 
25  bool good() const { return m_isInitialized && m_nChannels>0; }
26 
27  // retrieving HVScaleCorr using online ID
28  virtual const float& HVScaleCorr(const HWIdentifier& chid) const;
29 
30 };
31 
32 #include "AthenaKernel/CondCont.h"
33 CLASS_DEF( LArHVScaleCorrFlat , 245481026 , 1 )
35 #endif
ILArHVScaleCorr
Definition: ILArHVScaleCorr.h:13
CondCont.h
Hold mappings of ranges to condition objects.
LArHVScaleCorrFlat::HVScaleCorr
virtual const float & HVScaleCorr(const HWIdentifier &chid) const
Definition: LArHVScaleCorrFlat.cxx:31
LArCondFlatBase
Definition: LArCondFlatBase.h:15
LArCondFlatBase::m_isInitialized
bool m_isInitialized
Definition: LArCondFlatBase.h:23
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
LArSingleFloatBlob::m_nChannels
unsigned m_nChannels
Definition: LArSingleFloatBlob.h:30
LArHVScaleCorrFlat::LArHVScaleCorrFlat
LArHVScaleCorrFlat()
Definition: LArHVScaleCorrFlat.cxx:8
CONDCONT_MIXED_DEF
CONDCONT_MIXED_DEF(LArHVScaleCorrFlat, 11793039, ILArHVScaleCorr)
ILArHVScaleCorr.h
LArCondFlatBase.h
LArSingleFloatBlob
Definition: LArSingleFloatBlob.h:15
LArSingleFloatBlob.h
LArHVScaleCorrFlat::good
bool good() const
Definition: LArHVScaleCorrFlat.h:25
LArHVScaleCorrFlat
Definition: LArHVScaleCorrFlat.h:17
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
LArHVScaleCorrFlat::~LArHVScaleCorrFlat
virtual ~LArHVScaleCorrFlat()
Definition: LArHVScaleCorrFlat.cxx:12