ATLAS Offline Software
Loading...
Searching...
No Matches
TBCaloCoolPosTool.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#include "TBCaloCoolPosTool.h"
6
7
8// Gaudi includes
9#include "GaudiKernel/MsgStream.h"
10#include "GaudiKernel/IIncidentSvc.h"
11#include "GaudiKernel/ServiceHandle.h"
12
13
14//--------------------------------------------------------------------------
16{
17 ATH_CHECK( m_etaTableKey.initialize() );
18 ATH_CHECK( m_thetaTableKey.initialize() );
19 ATH_CHECK( m_zTableKey.initialize() );
20 ATH_CHECK( m_deltaTableKey.initialize() );
21 return StatusCode::SUCCESS;
22}
23
24
26{
28 return (**eta)["eta"].data<float>();
29}
30
32{
34 return (**theta)["theta"].data<float>();
35}
36
38{
40 return (**z)["z"].data<float>();
41}
42
44{
46 return (**delta)["delta"].data<float>();
47}
48
#define ATH_CHECK
Evaluate an expression and check for errors.
virtual StatusCode initialize() override
SG::ReadCondHandleKey< AthenaAttributeList > m_deltaTableKey
virtual double eta() const override
access eta value
SG::ReadCondHandleKey< AthenaAttributeList > m_zTableKey
virtual double delta() const override
access eta value
SG::ReadCondHandleKey< AthenaAttributeList > m_thetaTableKey
virtual double z() const override
access eta value
SG::ReadCondHandleKey< AthenaAttributeList > m_etaTableKey
virtual double theta() const override
access eta value