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