ATLAS Offline Software
TileCondToolTiming.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // Tile includes
7 
8 // Athena includes
11 
12 //
13 //____________________________________________________________________
14 static const InterfaceID IID_TileCondToolTiming("TileCondToolTiming", 1, 0);
15 const InterfaceID& TileCondToolTiming::interfaceID()
16 {
17  return IID_TileCondToolTiming;
18 }
19 
20 //
21 //____________________________________________________________________
22 TileCondToolTiming::TileCondToolTiming(const std::string& type, const std::string& name, const IInterface* parent)
24 {
25 
26  declareInterface<TileCondToolTiming>(this);
27 
28 }
29 
30 //
31 //____________________________________________________________________
33 }
34 
35 //
36 //____________________________________________________________________
38 
39  ATH_MSG_DEBUG( "In initialize()" );
40 
41 
42  //=== Initialize condition data key with timings
44 
45 
46  return StatusCode::SUCCESS;
47 }
48 
49 //
50 //____________________________________________________________________
52 
53  ATH_MSG_DEBUG( "finalize called" );
54 
55  return StatusCode::SUCCESS;
56 }
57 
58 
59 //
60 //____________________________________________________________________
61 float TileCondToolTiming::getChannelOffset(unsigned int drawerIdx, unsigned int channel, unsigned int adc) const {
62 
64  return timing->getSignalPhase(drawerIdx, channel, adc);
65 
66 }
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:24
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
TileCondToolTiming::initialize
virtual StatusCode initialize() override
Definition: TileCondToolTiming.cxx:37
TileCondToolTiming.h
TileCondToolTiming::m_timingKey
SG::ReadCondHandleKey< TileTiming > m_timingKey
Definition: TileCondToolTiming.h:34
ReadCondHandle.h
trigDumpTimers.timing
def timing(hist)
Definition: trigDumpTimers.py:13
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TileCondToolTiming::interfaceID
static const InterfaceID & interfaceID()
Definition: TileCondToolTiming.cxx:15
errorcheck.h
Helpers for checking error return status codes and reporting errors.
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
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
TileCondToolTiming::finalize
virtual StatusCode finalize() override
Definition: TileCondToolTiming.cxx:51