ATLAS Offline Software
TBCaloPosTool.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 TBCALOCONDITIONS_TBCALOPOSTOOL
6 # define TBCALOCONDITIONS_TBCALOPOSTOOL
7 
10 #include "GaudiKernel/IIncidentListener.h"
11 
12 #include "StoreGate/DataHandle.h"
15 
26  virtual public ITBCaloPosTool, public IIncidentListener
27 {
28 public:
29 
30  TBCaloPosTool(const std::string& type, const std::string& name,
31  const IInterface* parent);
32 
33  virtual ~TBCaloPosTool() ;
34 
35 
36  virtual StatusCode initialize() ;
37 
38  virtual StatusCode finalize() ;
39 
40  // IIncidentListner interface
41  virtual void handle(const Incident&) ;
42 
44  virtual double eta () ;
45 
47  virtual double theta () ;
48 
50  virtual double z () ;
51 
53  virtual double delta () ;
54 
55 private:
56 
57  bool initHandles ATLAS_NOT_THREAD_SAFE () ;
58 
63 
64  bool m_init;
65 };
66 
67 
68 
69 #endif
TBCaloPosTool::m_deltaTable
const DataHandle< GenericDbTable > m_deltaTable
Definition: TBCaloPosTool.h:62
python.tests.PyTestsLib.finalize
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Definition: PyTestsLib.py:53
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
initialize
void initialize()
Definition: run_EoverP.cxx:894
theta
Scalar theta() const
theta method
Definition: AmgMatrixBasePlugin.h:71
GenericDbTableClassDef.h
TBCaloPosTool
Class TBCaloPosTool.
Definition: TBCaloPosTool.h:27
TBCaloPosTool::ATLAS_NOT_THREAD_SAFE
bool initHandles ATLAS_NOT_THREAD_SAFE()
DataHandle.h
TBCaloPosTool::m_zTable
const DataHandle< GenericDbTable > m_zTable
Definition: TBCaloPosTool.h:61
ITBCaloPosTool::delta
virtual double delta()=0
access delta value
z
#define z
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TBCaloPosTool::m_etaTable
const DataHandle< GenericDbTable > m_etaTable
Definition: TBCaloPosTool.h:59
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ITBCaloPosTool
Definition: ITBCaloPosTool.h:25
TBCaloPosTool::m_thetaTable
const DataHandle< GenericDbTable > m_thetaTable
Definition: TBCaloPosTool.h:60
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
DataHandle< GenericDbTable >
TBCaloPosTool::m_init
bool m_init
Definition: TBCaloPosTool.h:64
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26
checker_macros.h
Define macros for attributes used to control the static checker.
ITBCaloPosTool.h