ATLAS Offline Software
LArHVScaleCorrSC.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_LARHVSCALECORR_H
7 #define LARCOOLCONDITIONS_LARHVSCALECORR_H
8 
12 
13 
15 
17  public LArCondSuperCellBase,
18  public LArSingleFloatBlob {
19 
20 public:
23 
24  virtual ~LArHVScaleCorrSC();
25 
26  bool good() const { return m_isInitialized && m_nChannels>0; }
27 
28  // retrieving LArHVScaleCorr using online ID
29  virtual const float& HVScaleCorr(const HWIdentifier& chid) const;
30 
31 private:
32  //static const float errorcode;
33 
34 };
35 #include "AthenaKernel/CondCont.h"
36 CLASS_DEF( LArHVScaleCorrSC ,9991567 , 1 )
38 
39 #endif
LArHVScaleCorrSC::good
bool good() const
Definition: LArHVScaleCorrSC.h:26
ILArHVScaleCorr
Definition: ILArHVScaleCorr.h:13
CondCont.h
Hold mappings of ranges to condition objects.
LArHVScaleCorrSC
Definition: LArHVScaleCorrSC.h:18
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
CONDCONT_MIXED_DEF
CONDCONT_MIXED_DEF(LArHVScaleCorrSC, 123730893, ILArHVScaleCorr)
LArSingleFloatBlob::m_nChannels
unsigned m_nChannels
Definition: LArSingleFloatBlob.h:30
ILArHVScaleCorr.h
LArHVScaleCorrSC::HVScaleCorr
virtual const float & HVScaleCorr(const HWIdentifier &chid) const
Definition: LArHVScaleCorrSC.cxx:31
LArSingleFloatBlob
Definition: LArSingleFloatBlob.h:15
LArCondSuperCellBase
Definition: LArCondSuperCellBase.h:19
LArHVScaleCorrSC::~LArHVScaleCorrSC
virtual ~LArHVScaleCorrSC()
Definition: LArHVScaleCorrSC.cxx:13
LArSingleFloatBlob.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
LArCondSuperCellBase::m_isInitialized
bool m_isInitialized
Definition: LArCondSuperCellBase.h:26
LArHVScaleCorrSC::LArHVScaleCorrSC
LArHVScaleCorrSC()
Definition: LArHVScaleCorrSC.cxx:9