ATLAS Offline Software
LArCalorimeter
LArCOOLConditions
LArCOOLConditions
LArHVScaleCorrSC.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_LARHVSCALECORR_H
7
#define LARCOOLCONDITIONS_LARHVSCALECORR_H
8
9
#include "
LArElecCalib/ILArHVScaleCorr.h
"
10
#include "
LArCOOLConditions/LArSingleFloatBlob.h
"
11
#include "
LArCOOLConditions/LArCondSuperCellBase.h
"
12
13
14
class
CondAttrListCollection
;
15
16
class
LArHVScaleCorrSC
:
public
ILArHVScaleCorr
,
17
public
LArCondSuperCellBase
,
18
public
LArSingleFloatBlob
{
19
20
public
:
21
LArHVScaleCorrSC
();
22
LArHVScaleCorrSC
(
const
CondAttrListCollection
* attrList);
23
24
virtual
~LArHVScaleCorrSC
();
25
26
bool
good
()
const
{
return
m_isInitialized
&&
m_nChannels
>0; }
27
28
// retrieving LArHVScaleCorr using online ID
29
virtual
const
float
&
HVScaleCorr
(
const
HWIdentifier
& chid)
const
;
30
31
private
:
32
//static const float errorcode;
33
34
};
35
#include "
AthenaKernel/CondCont.h
"
36
CLASS_DEF
(
LArHVScaleCorrSC
,9991567 , 1 )
37
CONDCONT_MIXED_DEF
(
LArHVScaleCorrSC
, 123730893,
ILArHVScaleCorr
);
38
39
#endif
LArHVScaleCorrSC::good
bool good() const
Definition:
LArHVScaleCorrSC.h:26
ILArHVScaleCorr
Definition:
ILArHVScaleCorr.h:13
CondCont.h
Hold mappings of ranges to condition objects.
LArHVScaleCorrSC
Definition:
LArHVScaleCorrSC.h:18
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
CONDCONT_MIXED_DEF
CONDCONT_MIXED_DEF(LArHVScaleCorrSC, 123730893, ILArHVScaleCorr)
LArSingleFloatBlob::m_nChannels
unsigned m_nChannels
Definition:
LArSingleFloatBlob.h:30
ILArHVScaleCorr.h
LArHVScaleCorrSC::HVScaleCorr
virtual const float & HVScaleCorr(const HWIdentifier &chid) const
Definition:
LArHVScaleCorrSC.cxx:31
LArSingleFloatBlob
Definition:
LArSingleFloatBlob.h:15
LArCondSuperCellBase
Definition:
LArCondSuperCellBase.h:15
LArHVScaleCorrSC::~LArHVScaleCorrSC
virtual ~LArHVScaleCorrSC()
Definition:
LArHVScaleCorrSC.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
LArHVScaleCorrSC::LArHVScaleCorrSC
LArHVScaleCorrSC()
Definition:
LArHVScaleCorrSC.cxx:9
Generated on Sun Dec 22 2024 21:13:33 for ATLAS Offline Software by
1.8.18