ATLAS Offline Software
LArOFCweightSC.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // Dear emacs, this is -*-c++-*-
6 #ifndef LARCOOLCONDITIONS_OFCWEIGHTSC_H
7 #define LARCOOLCONDITIONS_OFCWEIGHTSC_H
8 
11 
13 
15  public LArCondSuperCellBase,
16  public LArSingleFloatBlob {
17 
18 public:
19  LArOFCweightSC();
20  LArOFCweightSC(const CondAttrListCollection* attrList);
21 
22  virtual ~LArOFCweightSC() = default;
23 
24  bool good() const { return m_isInitialized && m_nChannels>0; }
25 
26  // retrieving weight using online ID
27  const float& getW(const HWIdentifier& chid) const;
28 
29 private:
30 };
31 
32 #include "AthenaKernel/CondCont.h"
33 CLASS_DEF( LArOFCweightSC , 224728897, 1 )
35 
36 #endif
CondCont.h
Hold mappings of ranges to condition objects.
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
LArOFCweightSC::good
bool good() const
Definition: LArOFCweightSC.h:24
LArSingleFloatBlob
Definition: LArSingleFloatBlob.h:15
LArCondSuperCellBase
Definition: LArCondSuperCellBase.h:19
LArOFCweightSC::LArOFCweightSC
LArOFCweightSC()
Definition: LArOFCweightSC.cxx:7
LArOFCweightSC::~LArOFCweightSC
virtual ~LArOFCweightSC()=default
LArSingleFloatBlob.h
LArOFCweightSC
Definition: LArOFCweightSC.h:16
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
LArOFCweightSC::getW
const float & getW(const HWIdentifier &chid) const
Definition: LArOFCweightSC.cxx:24
LArCondSuperCellBase::m_isInitialized
bool m_isInitialized
Definition: LArCondSuperCellBase.h:26
CONDCONT_DEF
CONDCONT_DEF(LArOFCweightSC, 81787215)