ATLAS Offline Software
LArCalorimeter
LArCOOLConditions
LArCOOLConditions
LArMphysOverMcalSC.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_LARMPHYSOVERMCALSC_H
7
#define LARCOOLCONDITIONS_LARMPHYSOVERMCALSC_H
8
9
#include "
LArElecCalib/ILArMphysOverMcal.h
"
10
#include "
LArCOOLConditions/LArSingleFloatBlob.h
"
11
#include "
LArCOOLConditions/LArCondSuperCellBase.h
"
12
13
14
class
CondAttrListCollection
;
15
16
class
LArMphysOverMcalSC
:
public
ILArMphysOverMcal
,
17
public
LArCondSuperCellBase
,
18
public
LArSingleFloatBlob
{
19
20
public
:
21
LArMphysOverMcalSC
();
22
LArMphysOverMcalSC
(
const
CondAttrListCollection
* attrList);
23
24
virtual
~LArMphysOverMcalSC
();
25
26
bool
good
()
const
{
return
m_isInitialized
&&
m_nChannels
>0; }
27
28
// retrieving LArMphysOverMcal using online ID
29
virtual
const
float
&
MphysOverMcal
(
const
HWIdentifier
& chid,
int
gain
)
const
;
30
31
private
:
32
// static const float s_errorcode;
33
34
};
35
#include "
AthenaKernel/CondCont.h
"
36
CLASS_DEF
(
LArMphysOverMcalSC
,125003343 , 1 )
37
CONDCONT_DEF
(
LArMphysOverMcalSC
, 3164993,
ILArMphysOverMcal
);
38
39
#endif
CondCont.h
Hold mappings of ranges to condition objects.
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArMphysOverMcalSC::good
bool good() const
Definition:
LArMphysOverMcalSC.h:26
LArMphysOverMcalSC::LArMphysOverMcalSC
LArMphysOverMcalSC()
Definition:
LArMphysOverMcalSC.cxx:10
LArMphysOverMcalSC::MphysOverMcal
virtual const float & MphysOverMcal(const HWIdentifier &chid, int gain) const
Definition:
LArMphysOverMcalSC.cxx:27
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
ILArMphysOverMcal.h
LArMphysOverMcalSC
Definition:
LArMphysOverMcalSC.h:18
LArSingleFloatBlob::m_nChannels
unsigned m_nChannels
Definition:
LArSingleFloatBlob.h:30
LArSingleFloatBlob
Definition:
LArSingleFloatBlob.h:15
LArCondSuperCellBase
Definition:
LArCondSuperCellBase.h:15
ILArMphysOverMcal
Definition:
ILArMphysOverMcal.h: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
CONDCONT_DEF
CONDCONT_DEF(LArMphysOverMcalSC, 3164993, ILArMphysOverMcal)
LArMphysOverMcalSC::~LArMphysOverMcalSC
virtual ~LArMphysOverMcalSC()
Definition:
LArMphysOverMcalSC.cxx:14
Generated on Thu Nov 7 2024 21:19:45 for ATLAS Offline Software by
1.8.18