ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRawConditions
LArRawConditions
LArOFCBinComplete.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARRAWCONDITIONS_LAROFCBINCOMPLETE
6
#define LARRAWCONDITIONS_LAROFCBINCOMPLETE
7
8
#include "
LArRawConditions/LArConditionsContainer.h
"
9
#include "
LArElecCalib/ILArOFCBin.h
"
10
#include "
LArRawConditions/LArOFCBinP.h
"
11
12
class
LArOFCBinComplete
:
public
ILArOFCBin
,
13
public
LArConditionsContainer
<LArOFCBinP> {
14
public
:
15
LArOFCBinComplete
();
16
virtual
~LArOFCBinComplete
();
17
18
//Getter
19
virtual
const
int
&
bin
(
const
HWIdentifier
& chid,
const
int
& gain)
const
{
20
return
(this->
get
(chid,gain).m_bin); };
21
22
//Setter
23
void
set
(
const
HWIdentifier
& chid,
const
int
& gain,
const
int
&
bin
);
24
};
25
26
#include "
AthenaKernel/CondCont.h
"
27
CLASS_DEF
(
LArOFCBinComplete
,113480660,1)
28
CONDCONT_DEF
(
LArOFCBinComplete
,18486430,
ILArOFCBin
);
29
30
#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
ILArOFCBin.h
LArConditionsContainer.h
LArOFCBinP.h
HWIdentifier
Definition
HWIdentifier.h:13
ILArOFCBin
Definition
ILArOFCBin.h:12
LArConditionsContainer< LArOFCBinP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
LArConditionsContainer< LArOFCBinP >::LArConditionsContainer
LArConditionsContainer()
LArOFCBinComplete
Definition
LArOFCBinComplete.h:13
LArOFCBinComplete::LArOFCBinComplete
LArOFCBinComplete()
Definition
LArOFCBinComplete.cxx:7
LArOFCBinComplete::bin
virtual const int & bin(const HWIdentifier &chid, const int &gain) const
Definition
LArOFCBinComplete.h:19
LArOFCBinComplete::set
void set(const HWIdentifier &chid, const int &gain, const int &bin)
Definition
LArOFCBinComplete.cxx:11
LArOFCBinComplete::~LArOFCBinComplete
virtual ~LArOFCBinComplete()
Definition
LArOFCBinComplete.cxx:9
bin
Definition
BinsDiffFromStripMedian.h:43
Generated on
for ATLAS Offline Software by
1.17.0