ATLAS Offline Software
LAruA2MeVFlat.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_LARUA2MEVFLAT_H
7 #define LARCOOLCONDITIONS_LARUA2MEVFLAT_H
8 
12 
14 
15 class LAruA2MeVFlat: public ILAruA2MeV,
16  public LArCondFlatBase,
17  public LArSingleFloatBlob {
18 
19 public:
20  LAruA2MeVFlat();
21  LAruA2MeVFlat(const CondAttrListCollection* attrList);
22 
23  virtual ~LAruA2MeVFlat();
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 };
31 
32 #include "AthenaKernel/CondCont.h"
33 CLASS_DEF( LAruA2MeVFlat , 92824273 , 1 )
35 #endif
ILAruA2MeV.h
CondCont.h
Hold mappings of ranges to condition objects.
LAruA2MeVFlat
Definition: LAruA2MeVFlat.h:17
ILAruA2MeV
Definition: ILAruA2MeV.h:13
LArCondFlatBase
Definition: LArCondFlatBase.h:20
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
LArSingleFloatBlob::m_nChannels
unsigned m_nChannels
Definition: LArSingleFloatBlob.h:30
CONDCONT_DEF
CONDCONT_DEF(LAruA2MeVFlat, 84245593, ILAruA2MeV)
LArCondFlatBase.h
LArSingleFloatBlob
Definition: LArSingleFloatBlob.h:15
LAruA2MeVFlat::LAruA2MeVFlat
LAruA2MeVFlat()
Definition: LAruA2MeVFlat.cxx:8
LAruA2MeVFlat::UA2MEV
virtual const float & UA2MEV(const HWIdentifier &chid) const
Definition: LAruA2MeVFlat.cxx:30
LAruA2MeVFlat::good
bool good() const
Definition: LAruA2MeVFlat.h:25
LArSingleFloatBlob.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
LAruA2MeVFlat::~LAruA2MeVFlat
virtual ~LAruA2MeVFlat()
Definition: LAruA2MeVFlat.cxx:12