ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRawConditions
LArRawConditions
LArHVScaleCorrComplete.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// Dear emacs, this is -*-c++-*-
6
#ifndef LARRAWCONDITIONS_LARHVSCALECORRCOMPLETE_H
7
#define LARRAWCONDITIONS_LARHVSCALECORRCOMPLETE_H
8
9
#include "
LArElecCalib/ILArHVScaleCorr.h
"
10
#include "
LArRawConditions/LArSingleFloatP.h
"
11
#include "
LArRawConditions/LArConditionsContainer.h
"
12
16
17
class
LArHVScaleCorrComplete
:
public
ILArHVScaleCorr
,
18
public
LArConditionsContainer
<LArSingleFloatP> {
19
20
public
:
21
22
typedef
LArConditionsContainer<LArSingleFloatP>
CONTAINER
;
23
24
// online ID
25
inline
const
float
&
HVScaleCorr
(
const
HWIdentifier
&
id
)
const
26
{
return
(this->
get
(
id
).m_data);};
27
28
29
// offline ID, not implemented here!
30
const
float
&
HVScaleCorr
(
const
Identifier
&
id
)
const
;
31
32
// set method filling the data members individually (if one
33
// wants to fill this class not using the DB)
34
void
set
(
const
HWIdentifier
& CellID,
const
float
vDAC2uA);
35
36
};
37
38
#include "
AthenaKernel/CondCont.h
"
39
CLASS_DEF
(
LArHVScaleCorrComplete
, 220593802,1)
40
CONDCONT_MIXED_DEF
(
LArHVScaleCorrComplete
, 84955454,
ILArHVScaleCorr
);
41
42
#endif
CondCont.h
Hold mappings of ranges to condition objects.
CONDCONT_MIXED_DEF
#define CONDCONT_MIXED_DEF(...)
Definition
CondCont.h:1446
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
ILArHVScaleCorr.h
LArConditionsContainer.h
LArSingleFloatP.h
HWIdentifier
Definition
HWIdentifier.h:13
ILArHVScaleCorr
Definition
ILArHVScaleCorr.h:13
LArConditionsContainer< LArSingleFloatP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
LArConditionsContainer< LArSingleFloatP >::LArConditionsContainer
LArConditionsContainer()
LArHVScaleCorrComplete
This class implements the ILArHVScaleCorr interface.
Definition
LArHVScaleCorrComplete.h:18
LArHVScaleCorrComplete::set
void set(const HWIdentifier &CellID, const float vDAC2uA)
Definition
LArHVScaleCorrComplete.cxx:7
LArHVScaleCorrComplete::CONTAINER
LArConditionsContainer< LArSingleFloatP > CONTAINER
Definition
LArHVScaleCorrComplete.h:22
LArHVScaleCorrComplete::HVScaleCorr
const float & HVScaleCorr(const HWIdentifier &id) const
Definition
LArHVScaleCorrComplete.h:25
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0