ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileConditions
TileConditions
TileCondToolDspThreshold.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TILECONDITIONS_TILECONDTOOLDSPTHRESHOLD_H
6
#define TILECONDITIONS_TILECONDTOOLDSPTHRESHOLD_H
7
8
// Tile includes
9
#include "
TileConditions/ITileCondToolDspThreshold.h
"
10
#include "
TileConditions/TileCalibData.h
"
11
12
// Athena includes
13
#include "
AthenaBaseComps/AthAlgTool.h
"
14
#include "
StoreGate/ReadCondHandleKey.h
"
15
16
17
class
TileCondToolDspThreshold
:
public
AthAlgTool
,
virtual
public
ITileCondToolDspThreshold
{
18
19
public
:
20
21
static
const
InterfaceID&
interfaceID
() {
22
static
const
InterfaceID IID_TileCondToolDspThreshold(
"TileCondToolDspThreshold"
, 1, 0);
23
return
IID_TileCondToolDspThreshold;
24
};
25
26
TileCondToolDspThreshold
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
27
virtual
~TileCondToolDspThreshold
();
28
29
virtual
StatusCode
initialize
()
override
;
30
virtual
StatusCode
finalize
()
override
;
31
32
virtual
float
getMinimumAmplitudeThreshold
(
unsigned
int
drawerIdx,
unsigned
int
channel,
unsigned
int
adc)
const override
;
33
virtual
float
getMaximumAmplitudeThreshold
(
unsigned
int
drawerIdx,
unsigned
int
channel,
unsigned
int
adc)
const override
;
34
virtual
void
getAmplitudeThresholds
(
unsigned
int
drawerIdx,
unsigned
int
channel,
unsigned
int
adc,
35
float
& minimumThreshold,
float
& maximumThreshold)
const override
;
36
virtual
float
getDspThreshold
(
unsigned
int
drawerIdx,
unsigned
int
channel,
unsigned
int
adc)
const override
;
37
38
private
:
39
40
//=== TileCalibData
41
SG::ReadCondHandleKey<TileCalibDataFlt>
m_calibDspThresholdKey
{
this
,
42
"TileDSP_Threshold"
,
"TileDSP_Threshold"
,
"Input Tile DSP thresholds"
};
43
44
45
};
46
47
#endif
// TILECONDITIONS_TILECONDTOOLDSPTHRESHOLD_H
AthAlgTool.h
ITileCondToolDspThreshold.h
ReadCondHandleKey.h
TileCalibData.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
ITileCondToolDspThreshold
Definition
ITileCondToolDspThreshold.h:12
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
TileCondToolDspThreshold::TileCondToolDspThreshold
TileCondToolDspThreshold(const std::string &type, const std::string &name, const IInterface *parent)
Definition
TileCondToolDspThreshold.cxx:16
TileCondToolDspThreshold::getMaximumAmplitudeThreshold
virtual float getMaximumAmplitudeThreshold(unsigned int drawerIdx, unsigned int channel, unsigned int adc) const override
Definition
TileCondToolDspThreshold.cxx:61
TileCondToolDspThreshold::finalize
virtual StatusCode finalize() override
Definition
TileCondToolDspThreshold.cxx:42
TileCondToolDspThreshold::~TileCondToolDspThreshold
virtual ~TileCondToolDspThreshold()
Definition
TileCondToolDspThreshold.cxx:25
TileCondToolDspThreshold::initialize
virtual StatusCode initialize() override
Definition
TileCondToolDspThreshold.cxx:30
TileCondToolDspThreshold::getMinimumAmplitudeThreshold
virtual float getMinimumAmplitudeThreshold(unsigned int drawerIdx, unsigned int channel, unsigned int adc) const override
Definition
TileCondToolDspThreshold.cxx:51
TileCondToolDspThreshold::m_calibDspThresholdKey
SG::ReadCondHandleKey< TileCalibDataFlt > m_calibDspThresholdKey
Definition
TileCondToolDspThreshold.h:41
TileCondToolDspThreshold::getAmplitudeThresholds
virtual void getAmplitudeThresholds(unsigned int drawerIdx, unsigned int channel, unsigned int adc, float &minimumThreshold, float &maximumThreshold) const override
Definition
TileCondToolDspThreshold.cxx:71
TileCondToolDspThreshold::getDspThreshold
virtual float getDspThreshold(unsigned int drawerIdx, unsigned int channel, unsigned int adc) const override
Definition
TileCondToolDspThreshold.cxx:83
TileCondToolDspThreshold::interfaceID
static const InterfaceID & interfaceID()
Definition
TileCondToolDspThreshold.h:21
type
Generated on
for ATLAS Offline Software by
1.17.0