ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCOOLConditions
LArCOOLConditions
LArfSamplSC.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_FSAMPLSC_H
7
#define LARCOOLCONDITIONS_FSAMPLSC_H
8
9
#include "
LArElecCalib/ILArfSampl.h
"
10
#include "
LArCOOLConditions/LArSingleFloatBlob.h
"
11
#include "
LArCOOLConditions/LArCondSuperCellBase.h
"
12
13
14
class
CondAttrListCollection
;
15
16
class
LArfSamplSC
:
public
ILArfSampl
,
17
public
LArCondSuperCellBase
,
18
public
LArSingleFloatBlob
{
19
20
public
:
21
LArfSamplSC
();
22
LArfSamplSC
(
const
CondAttrListCollection
* attrList);
23
24
virtual
~LArfSamplSC
();
25
26
bool
good
()
const
{
return
m_isInitialized
&&
m_nChannels
>0; }
27
28
// retrieving LArfSampl using online ID
29
virtual
const
float
&
FSAMPL
(
const
HWIdentifier
& chid)
const
;
30
31
// retrieving LArfSampl using offline ID
32
virtual
const
float
&
FSAMPL
(
const
Identifier
&
id
)
const
;
33
34
private
:
35
//static const float errorcode;
36
const
float
m_null
;
37
38
};
39
40
#include "
AthenaKernel/CondCont.h
"
41
CLASS_DEF
(
LArfSamplSC
, 174984919, 1 )
42
CONDCONT_DEF
(
LArfSamplSC
, 188510651,
ILArfSampl
);
43
44
#endif
CondCont.h
Hold mappings of ranges to condition objects.
CONDCONT_DEF
#define CONDCONT_DEF(...)
Definition
CondCont.h:1413
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
ILArfSampl.h
LArCondSuperCellBase.h
LArSingleFloatBlob.h
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number.
Definition
CondAttrListCollection.h:51
HWIdentifier
Definition
HWIdentifier.h:13
ILArfSampl
Definition
ILArfSampl.h:14
LArCondSuperCellBase::m_isInitialized
bool m_isInitialized
Definition
LArCondSuperCellBase.h:22
LArCondSuperCellBase::LArCondSuperCellBase
LArCondSuperCellBase(const std::string &name)
Definition
LArCondSuperCellBase.cxx:14
LArSingleFloatBlob::m_nChannels
unsigned m_nChannels
Definition
LArSingleFloatBlob.h:30
LArSingleFloatBlob::LArSingleFloatBlob
LArSingleFloatBlob()
Definition
LArSingleFloatBlob.cxx:11
LArfSamplSC
Definition
LArfSamplSC.h:18
LArfSamplSC::FSAMPL
virtual const float & FSAMPL(const HWIdentifier &chid) const
Definition
LArfSamplSC.cxx:34
LArfSamplSC::LArfSamplSC
LArfSamplSC()
Definition
LArfSamplSC.cxx:10
LArfSamplSC::good
bool good() const
Definition
LArfSamplSC.h:26
LArfSamplSC::m_null
const float m_null
Definition
LArfSamplSC.h:36
LArfSamplSC::~LArfSamplSC
virtual ~LArfSamplSC()
Definition
LArfSamplSC.cxx:15
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0