ATLAS Offline Software
LArRampFlat.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 
7 #ifndef LARCOOLCONDITIONS_LARRAMPFLAT_H
8 #define LARCOOLCONDITIONS_LARRAMPFLAT_H
9 
10 #include "LArElecCalib/ILArRamp.h"
13 #include <vector>
14 
16 
17 class LArRampFlat:
18  public ILArRamp, public LArCondFlatBase, public LArRampBlob
19 {
20  private:
21  LArRampFlat();
22 
23  public:
24  LArRampFlat(const CondAttrListCollection* attrList);
25  virtual ~LArRampFlat( );
26 
27  bool good() const { return m_isInitialized && m_nChannels>0; }
28 
29  virtual RampRef_t ADC2DAC(const HWIdentifier& CellID, int gain) const ;
30 
31 };
32 
33 #include "AthenaKernel/CondCont.h"
34 CLASS_DEF( LArRampFlat , 228930547 , 1 )
36 
37 
38 #endif
CondCont.h
Hold mappings of ranges to condition objects.
CONDCONT_DEF
CONDCONT_DEF(LArRampFlat, 218808135, ILArRamp)
LArCondFlatBase
Definition: LArCondFlatBase.h:15
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArRampFlat::~LArRampFlat
virtual ~LArRampFlat()
Definition: LArRampFlat.cxx:13
LArRampBlob
Definition: LArRampBlob.h:17
LArCondFlatBase::m_isInitialized
bool m_isInitialized
Definition: LArCondFlatBase.h:23
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
LArRampFlat::ADC2DAC
virtual RampRef_t ADC2DAC(const HWIdentifier &CellID, int gain) const
Definition: LArRampFlat.cxx:24
LArRampFlat
Definition: LArRampFlat.h:19
LArRampFlat::LArRampFlat
LArRampFlat()
Definition: LArRampFlat.cxx:9
LArRampBlob.h
ILArRamp
Definition: ILArRamp.h:12
LArCondFlatBase.h
LArRampBlob::m_nChannels
unsigned m_nChannels
Definition: LArRampBlob.h:37
ILArRamp::RampRef_t
LArVectorProxy RampRef_t
This class defines the interface for accessing Ramp @stereotype Interface.
Definition: ILArRamp.h:31
ILArRamp.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
LArRampFlat::good
bool good() const
Definition: LArRampFlat.h:27