ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCOOLConditions
LArCOOLConditions
LArOFCweightSC.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// Dear emacs, this is -*-c++-*-
6
#ifndef LARCOOLCONDITIONS_OFCWEIGHTSC_H
7
#define LARCOOLCONDITIONS_OFCWEIGHTSC_H
8
9
#include "
LArCOOLConditions/LArSingleFloatBlob.h
"
10
#include "
LArCOOLConditions/LArCondSuperCellBase.h
"
11
12
class
CondAttrListCollection
;
13
14
class
LArOFCweightSC
:
15
public
LArCondSuperCellBase
,
16
public
LArSingleFloatBlob
{
17
18
public
:
19
LArOFCweightSC
();
20
LArOFCweightSC
(
const
CondAttrListCollection
* attrList);
21
22
virtual
~LArOFCweightSC
() =
default
;
23
24
bool
good
()
const
{
return
m_isInitialized
&&
m_nChannels
>0; }
25
26
// retrieving weight using online ID
27
const
float
&
getW
(
const
HWIdentifier
& chid)
const
;
28
29
private
:
30
};
31
32
#include "
AthenaKernel/CondCont.h
"
33
CLASS_DEF
(
LArOFCweightSC
, 224728897, 1 )
34
CONDCONT_DEF
(
LArOFCweightSC
, 81787215 );
35
36
#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
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
LArCondSuperCellBase::m_isInitialized
bool m_isInitialized
Definition
LArCondSuperCellBase.h:22
LArCondSuperCellBase::LArCondSuperCellBase
LArCondSuperCellBase(const std::string &name)
Definition
LArCondSuperCellBase.cxx:14
LArOFCweightSC
Definition
LArOFCweightSC.h:16
LArOFCweightSC::~LArOFCweightSC
virtual ~LArOFCweightSC()=default
LArOFCweightSC::getW
const float & getW(const HWIdentifier &chid) const
Definition
LArOFCweightSC.cxx:24
LArOFCweightSC::LArOFCweightSC
LArOFCweightSC()
Definition
LArOFCweightSC.cxx:7
LArOFCweightSC::good
bool good() const
Definition
LArOFCweightSC.h:24
LArSingleFloatBlob::m_nChannels
unsigned m_nChannels
Definition
LArSingleFloatBlob.h:30
LArSingleFloatBlob::LArSingleFloatBlob
LArSingleFloatBlob()
Definition
LArSingleFloatBlob.cxx:11
Generated on
for ATLAS Offline Software by
1.17.0