ATLAS Offline Software
LArRampComplete.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARRAWCONDITIONS_LARRAMPCOMPLETE_H
6 #define LARRAWCONDITIONS_LARRAMPCOMPLETE_H
7 
8 #include "LArElecCalib/ILArRamp.h"
11 
12 #include <vector>
13 
27  public LArConditionsContainer<LArRampP1>
28 {
29  public:
31  virtual ~LArRampCompleteBase( );
32 
34 
35  // retrieving Ramp using online ID
36  virtual RampRef_t ADC2DAC(const HWIdentifier& CellID, int gain) const override;
37 
38  // set method filling the data members individually (if one
39  // wants to fill this class not using the DB)
40  virtual void set(const HWIdentifier& CellID, int gain,
41  const std::vector<float>& vRamp);
42 
43  protected:
44 
45  const std::vector<float>& empty() const;
46 
47 };
48 
49 
51 
52  public:
53 
54  LArRampComplete() ;
55 
56  virtual ~LArRampComplete( ) ;
57 
58  virtual void set(const HWIdentifier& CellID, int gain,
59  const std::vector<float>& vRamp)
60  {
61  LArRampCompleteBase::set(CellID,gain,vRamp);
62  }
63 
64 };
65 
66 #include "AthenaKernel/CLASS_DEF.h"
67 #include "AthenaKernel/CondCont.h"
68 CLASS_DEF( LArRampCompleteBase, 157708224,1)
69 CLASS_DEF( LArRampComplete, 236941963,1)
72 
73 #endif
LArRampP1.h
CondCont.h
Hold mappings of ranges to condition objects.
LArRampComplete
Definition: LArRampComplete.h:50
LArRampCompleteBase::empty
const std::vector< float > & empty() const
Definition: LArRampComplete.cxx:43
LArRampCompleteBase::~LArRampCompleteBase
virtual ~LArRampCompleteBase()
Definition: LArRampComplete.cxx:26
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArRampCompleteBase::ADC2DAC
virtual RampRef_t ADC2DAC(const HWIdentifier &CellID, int gain) const override
Definition: LArRampComplete.cxx:38
LArConditionsContainer.h
HWIdentifier
Definition: HWIdentifier.h:13
LArConditionsContainer
Definition: LArAutoCorrSym.h:14
LArRampComplete::LArRampComplete
LArRampComplete()
Definition: LArRampComplete.cxx:18
ILArRamp
Definition: ILArRamp.h:12
LArRampCompleteBase
This class implements the ILArRamp interface.
Definition: LArRampComplete.h:28
LArRampCompleteBase::CONTAINER
LArConditionsContainer< LArRampP1 > CONTAINER
Definition: LArRampComplete.h:33
LArRampComplete::set
virtual void set(const HWIdentifier &CellID, int gain, const std::vector< float > &vRamp)
Definition: LArRampComplete.h:58
LArRampComplete::~LArRampComplete
virtual ~LArRampComplete()
Definition: LArRampComplete.cxx:21
CONDCONT_DEF
CONDCONT_DEF(LArRampCompleteBase, 209705886, ILArRamp)
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
CLASS_DEF.h
macros to associate a CLID to a type
LArRampCompleteBase::set
virtual void set(const HWIdentifier &CellID, int gain, const std::vector< float > &vRamp)
Definition: LArRampComplete.cxx:28
LArVectorProxy
Proxy for accessing a range of float values like a vector.
Definition: LArVectorProxy.h:38
LArRampCompleteBase::LArRampCompleteBase
LArRampCompleteBase()
Definition: LArRampComplete.cxx:24