ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRawConditions
LArRawConditions
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
"
9
#include "
LArRawConditions/LArRampP1.h
"
10
#include "
LArRawConditions/LArConditionsContainer.h
"
11
12
#include <vector>
13
25
26
class
LArRampCompleteBase
:
public
ILArRamp
,
27
public
LArConditionsContainer
<LArRampP1>
28
{
29
public
:
30
LArRampCompleteBase
();
31
virtual
~LArRampCompleteBase
( );
32
33
typedef
LArConditionsContainer<LArRampP1>
CONTAINER
;
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
50
class
LArRampComplete
:
public
LArRampCompleteBase
{
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)
70
CONDCONT_DEF
(
LArRampCompleteBase
, 209705886,
ILArRamp
);
71
CONDCONT_DEF
(
LArRampComplete
, 46870495,
LArRampCompleteBase
);
72
73
#endif
CondCont.h
Hold mappings of ranges to condition objects.
CONDCONT_DEF
#define CONDCONT_DEF(...)
Definition
CondCont.h:1413
CLASS_DEF.h
macros to associate a CLID to a type
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:67
ILArRamp.h
LArConditionsContainer.h
LArRampP1.h
HWIdentifier
Definition
HWIdentifier.h:13
ILArRamp
Definition
ILArRamp.h:12
ILArRamp::RampRef_t
LArVectorProxy RampRef_t
This class defines the interface for accessing Ramp @stereotype Interface.
Definition
ILArRamp.h:31
LArConditionsContainer< LArRampP1 >::LArConditionsContainer
LArConditionsContainer()
LArRampCompleteBase
This class implements the ILArRamp interface.
Definition
LArRampComplete.h:28
LArRampCompleteBase::ADC2DAC
virtual RampRef_t ADC2DAC(const HWIdentifier &CellID, int gain) const override
Definition
LArRampComplete.cxx:38
LArRampCompleteBase::empty
const std::vector< float > & empty() const
Definition
LArRampComplete.cxx:43
LArRampCompleteBase::CONTAINER
LArConditionsContainer< LArRampP1 > CONTAINER
Definition
LArRampComplete.h:33
LArRampCompleteBase::set
virtual void set(const HWIdentifier &CellID, int gain, const std::vector< float > &vRamp)
Definition
LArRampComplete.cxx:28
LArRampCompleteBase::~LArRampCompleteBase
virtual ~LArRampCompleteBase()
Definition
LArRampComplete.cxx:26
LArRampCompleteBase::LArRampCompleteBase
LArRampCompleteBase()
Definition
LArRampComplete.cxx:24
LArRampComplete
Definition
LArRampComplete.h:50
LArRampComplete::LArRampComplete
LArRampComplete()
Definition
LArRampComplete.cxx:18
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
Generated on
for ATLAS Offline Software by
1.17.0