ATLAS Offline Software
LAruA2MeVSC.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_LARUA2MEVSC_H
7 #define LARCOOLCONDITIONS_LARUA2MEVSC_H
8 
12 
14 
15 class LAruA2MeVSC: public ILAruA2MeV,
16  public LArCondSuperCellBase,
17  public LArSingleFloatBlob {
18 
19 public:
20  LAruA2MeVSC();
21  LAruA2MeVSC(const CondAttrListCollection* attrList);
22 
23  virtual ~LAruA2MeVSC();
24 
25  bool good() const { return m_isInitialized && m_nChannels>0; }
26 
27  // retrieving LAruA2MeV using online ID
28  virtual const float& UA2MEV(const HWIdentifier& chid) const;
29 
30 private:
31  //static const float errorcode;
32 
33 
34 };
35 #include "AthenaKernel/CondCont.h"
36 CLASS_DEF( LAruA2MeVSC ,142345128 , 1 )
38 #endif
LAruA2MeVSC::~LAruA2MeVSC
virtual ~LAruA2MeVSC()
Definition: LAruA2MeVSC.cxx:12
ILAruA2MeV.h
LAruA2MeVSC::UA2MEV
virtual const float & UA2MEV(const HWIdentifier &chid) const
Definition: LAruA2MeVSC.cxx:31
CondCont.h
Hold mappings of ranges to condition objects.
ILAruA2MeV
Definition: ILAruA2MeV.h:13
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
LAruA2MeVSC
Definition: LAruA2MeVSC.h:17
LArSingleFloatBlob::m_nChannels
unsigned m_nChannels
Definition: LArSingleFloatBlob.h:30
LArSingleFloatBlob
Definition: LArSingleFloatBlob.h:15
LArCondSuperCellBase
Definition: LArCondSuperCellBase.h:19
LAruA2MeVSC::good
bool good() const
Definition: LAruA2MeVSC.h:25
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
LAruA2MeVSC::LAruA2MeVSC
LAruA2MeVSC()
Definition: LAruA2MeVSC.cxx:8
LArCondSuperCellBase::m_isInitialized
bool m_isInitialized
Definition: LArCondSuperCellBase.h:26
CONDCONT_DEF
CONDCONT_DEF(LAruA2MeVSC, 155224118, ILAruA2MeV)