ATLAS Offline Software
LArCalorimeter
LArCOOLConditions
LArCOOLConditions
LArDAC2uASC.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
#ifndef LARCOOLCONDITIONS_LARDAC2UASC_H
7
#define LARCOOLCONDITIONS_LARDAC2UASC_H
8
9
#include "
LArElecCalib/ILArDAC2uA.h
"
10
#include "
LArCOOLConditions/LArSingleFloatBlob.h
"
11
#include "
LArCOOLConditions/LArCondSuperCellBase.h
"
12
13
14
class
CondAttrListCollection
;
15
16
class
LArDAC2uASC
:
public
ILArDAC2uA
,
17
public
LArCondSuperCellBase
,
18
public
LArSingleFloatBlob
{
19
20
public
:
21
LArDAC2uASC
();
22
LArDAC2uASC
(
const
CondAttrListCollection
* attrList);
23
24
virtual
~LArDAC2uASC
();
25
26
bool
good
()
const
{
return
m_isInitialized
&&
m_nChannels
>0; }
27
28
// retrieving LArDAC2uA using online ID
29
virtual
const
float
&
DAC2UA
(
const
HWIdentifier
& chid)
const
;
30
31
private
:
32
// static const float errorcode;
33
34
};
35
36
#include "
AthenaKernel/CondCont.h
"
37
CLASS_DEF
(
LArDAC2uASC
,74944220 , 1 )
38
CONDCONT_DEF
(
LArDAC2uASC
, 122040978,
ILArDAC2uA
);
39
40
#endif
ILArDAC2uA.h
CondCont.h
Hold mappings of ranges to condition objects.
LArDAC2uASC
Definition:
LArDAC2uASC.h:18
CONDCONT_DEF
CONDCONT_DEF(LArDAC2uASC, 122040978, ILArDAC2uA)
ILArDAC2uA
Definition:
ILArDAC2uA.h:13
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
LArSingleFloatBlob::m_nChannels
unsigned m_nChannels
Definition:
LArSingleFloatBlob.h:30
LArSingleFloatBlob
Definition:
LArSingleFloatBlob.h:15
LArDAC2uASC::good
bool good() const
Definition:
LArDAC2uASC.h:26
LArCondSuperCellBase
Definition:
LArCondSuperCellBase.h:15
LArDAC2uASC::~LArDAC2uASC
virtual ~LArDAC2uASC()
Definition:
LArDAC2uASC.cxx:13
LArSingleFloatBlob.h
LArCondSuperCellBase.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
LArCondSuperCellBase::m_isInitialized
bool m_isInitialized
Definition:
LArCondSuperCellBase.h:22
LArDAC2uASC::LArDAC2uASC
LArDAC2uASC()
Definition:
LArDAC2uASC.cxx:9
LArDAC2uASC::DAC2UA
virtual const float & DAC2UA(const HWIdentifier &chid) const
access to DAC2UA conversion factor index by Identifier, and gain setting
Definition:
LArDAC2uASC.cxx:31
Generated on Thu Nov 7 2024 21:19:29 for ATLAS Offline Software by
1.8.18