ATLAS Offline Software
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
11 
12 // Athena includes
15 
16 
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
42  "TileDSP_Threshold", "TileDSP_Threshold", "Input Tile DSP thresholds"};
43 
44 
45 };
46 
47 #endif // TILECONDITIONS_TILECONDTOOLDSPTHRESHOLD_H
TileCondToolDspThreshold::m_calibDspThresholdKey
SG::ReadCondHandleKey< TileCalibDataFlt > m_calibDspThresholdKey
Definition: TileCondToolDspThreshold.h:41
ITileCondToolDspThreshold
Definition: ITileCondToolDspThreshold.h:12
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:28
TileCalibData.h
TileCondToolDspThreshold::finalize
virtual StatusCode finalize() override
Definition: TileCondToolDspThreshold.cxx:42
TileCondToolDspThreshold::~TileCondToolDspThreshold
virtual ~TileCondToolDspThreshold()
Definition: TileCondToolDspThreshold.cxx:25
TileCondToolDspThreshold::getMinimumAmplitudeThreshold
virtual float getMinimumAmplitudeThreshold(unsigned int drawerIdx, unsigned int channel, unsigned int adc) const override
Definition: TileCondToolDspThreshold.cxx:51
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileCondToolDspThreshold::getDspThreshold
virtual float getDspThreshold(unsigned int drawerIdx, unsigned int channel, unsigned int adc) const override
Definition: TileCondToolDspThreshold.cxx:83
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TileCondToolDspThreshold::getMaximumAmplitudeThreshold
virtual float getMaximumAmplitudeThreshold(unsigned int drawerIdx, unsigned int channel, unsigned int adc) const override
Definition: TileCondToolDspThreshold.cxx:61
TileCondToolDspThreshold::interfaceID
static const InterfaceID & interfaceID()
Definition: TileCondToolDspThreshold.h:21
ITileCondToolDspThreshold.h
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
TileCondToolDspThreshold::getAmplitudeThresholds
virtual void getAmplitudeThresholds(unsigned int drawerIdx, unsigned int channel, unsigned int adc, float &minimumThreshold, float &maximumThreshold) const override
Definition: TileCondToolDspThreshold.cxx:71
SG::ReadCondHandleKey
Definition: ReadCondHandleKey.h:20
TileCondToolDspThreshold::TileCondToolDspThreshold
TileCondToolDspThreshold(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TileCondToolDspThreshold.cxx:16
ReadFloatFromCool.adc
adc
Definition: ReadFloatFromCool.py:48
TileCondToolDspThreshold
Definition: TileCondToolDspThreshold.h:17
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TileCondToolDspThreshold::initialize
virtual StatusCode initialize() override
Definition: TileCondToolDspThreshold.cxx:30
AthAlgTool
Definition: AthAlgTool.h:26