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