ATLAS Offline Software
LArOFCBinComplete.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARRAWCONDITIONS_LAROFCBINCOMPLETE
6 #define LARRAWCONDITIONS_LAROFCBINCOMPLETE
7 
11 
12 class LArOFCBinComplete : public ILArOFCBin,
13  public LArConditionsContainer<LArOFCBinP> {
14  public:
16  virtual ~LArOFCBinComplete();
17 
18  //Getter
19  virtual const int& bin(const HWIdentifier& chid,const int& gain) const {
20  return (this->get(chid,gain).m_bin); };
21 
22  //Setter
23  void set(const HWIdentifier& chid, const int& gain, const int& bin);
24 };
25 
26 #include "AthenaKernel/CondCont.h"
27 CLASS_DEF(LArOFCBinComplete,113480660,1)
29 
30 #endif
CondCont.h
Hold mappings of ranges to condition objects.
LArOFCBinComplete::bin
virtual const int & bin(const HWIdentifier &chid, const int &gain) const
Definition: LArOFCBinComplete.h:19
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
bin
Definition: BinsDiffFromStripMedian.h:43
LArConditionsContainer.h
HWIdentifier
Definition: HWIdentifier.h:13
LArConditionsContainer
Definition: LArAutoCorrSym.h:14
CONDCONT_DEF
CONDCONT_DEF(LArOFCBinComplete, 18486430, ILArOFCBin)
LArConditionsContainer< LArOFCBinP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
LArOFCBinComplete
Definition: LArOFCBinComplete.h:13
LArOFCBinComplete::~LArOFCBinComplete
virtual ~LArOFCBinComplete()
Definition: LArOFCBinComplete.cxx:9
LArOFCBinComplete::LArOFCBinComplete
LArOFCBinComplete()
Definition: LArOFCBinComplete.cxx:7
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
LArOFCBinComplete::set
void set(const HWIdentifier &chid, const int &gain, const int &bin)
Definition: LArOFCBinComplete.cxx:11
ILArOFCBin.h
ILArOFCBin
Definition: ILArOFCBin.h:12
LArOFCBinP.h