ATLAS Offline Software
TileCondToolTiming.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TILECONDITIONS_TILECONDTOOLTIMING_H
6 #define TILECONDITIONS_TILECONDTOOLTIMING_H
7 
8 // Tile includes
10 
11 // Athena includes
14 
15 
16 #include <vector>
17 
19  public:
20 
21  static const InterfaceID& interfaceID();
22  TileCondToolTiming(const std::string& type, const std::string& name, const IInterface* parent);
23  virtual ~TileCondToolTiming();
24 
25  virtual StatusCode initialize() override;
26  virtual StatusCode finalize() override;
27 
28 
29  float getSignalPhase(unsigned int drawerIdx, unsigned int channel, unsigned int adc) const;
30  float getChannelOffset(unsigned int drawerIdx, unsigned int channel, unsigned int adc) const;
31 
32  private:
33 
35  "TileTiming", "TileTiming", "Input Tile timing calibration constants"};
36 
37 };
38 
39 
40 //
41 //____________________________________________________________________
42 inline float TileCondToolTiming::getSignalPhase(unsigned int drawerIdx,
43  unsigned int channel,
44  unsigned int adc) const {
45  return getChannelOffset(drawerIdx, channel, adc);
46 }
47 
48 #endif
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:24
TileCondToolTiming::getSignalPhase
float getSignalPhase(unsigned int drawerIdx, unsigned int channel, unsigned int adc) const
Definition: TileCondToolTiming.h:42
TileCondToolTiming::initialize
virtual StatusCode initialize() override
Definition: TileCondToolTiming.cxx:37
TileCondToolTiming::m_timingKey
SG::ReadCondHandleKey< TileTiming > m_timingKey
Definition: TileCondToolTiming.h:34
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TileCondToolTiming::interfaceID
static const InterfaceID & interfaceID()
Definition: TileCondToolTiming.cxx:15
SG::ReadCondHandleKey< TileTiming >
TileCondToolTiming::TileCondToolTiming
TileCondToolTiming(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TileCondToolTiming.cxx:22
ReadFloatFromCool.adc
adc
Definition: ReadFloatFromCool.py:48
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TileCondToolTiming::~TileCondToolTiming
virtual ~TileCondToolTiming()
Definition: TileCondToolTiming.cxx:32
TileCondToolTiming::getChannelOffset
float getChannelOffset(unsigned int drawerIdx, unsigned int channel, unsigned int adc) const
Definition: TileCondToolTiming.cxx:61
AthAlgTool
Definition: AthAlgTool.h:26
TileTiming.h
TileCondToolTiming::finalize
virtual StatusCode finalize() override
Definition: TileCondToolTiming.cxx:51
TileCondToolTiming
Definition: TileCondToolTiming.h:18