ATLAS Offline Software
GeoModelTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef GEOMODELSVC_GEOMODELTOOL_H
6 #define GEOMODELSVC_GEOMODELTOOL_H
7 
8 #ifndef BUILDVP1LIGHT
9 
11 #include "GeoModelKernel/GeoVDetectorManager.h"
15 
16 
17 class GeoModelTool : public extends<AthAlgTool, IGeoModelTool> {
18 
19 public:
20 
21  // Standard Constructor
22  GeoModelTool( const std::string& type, const std::string& name, const IInterface* parent );
23 
24  // Standard Destructor
25  virtual ~GeoModelTool() = default;
26 
27  virtual GeoVDetectorManager* manager();
28  virtual const GeoVDetectorManager* manager() const;
29 
30  virtual StatusCode clear() override;
31  virtual StatusCode registerCallback ATLAS_NOT_THREAD_SAFE () override;
32  virtual StatusCode align(IOVSVC_CALLBACK_ARGS) override;
33 
34 protected:
35 
36  GeoVDetectorManager* m_detector; // The corresponding
37 };
38 
39 #endif // BUILDVP1LIGHT
40 
41 #endif // GEOMODELSVC_DETDESCRTOOL_H
GeoModelTool::~GeoModelTool
virtual ~GeoModelTool()=default
IOVSVC_CALLBACK_ARGS
#define IOVSVC_CALLBACK_ARGS
short hand for IOVSvc call back argument list, to be used when no access to formal arguments is neede...
Definition: IOVSvcDefs.h:24
GeoModelTool::GeoModelTool
GeoModelTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor(s)
Definition: GeoModelTool.cxx:12
GeoPrimitives.h
GeoModelTool::manager
virtual GeoVDetectorManager * manager()
The Detector Node corresponding to this tool.
Definition: GeoModelTool.cxx:21
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
GeoModelTool
Definition: GeoModelTool.h:17
GeoModelTool::ATLAS_NOT_THREAD_SAFE
virtual StatusCode registerCallback ATLAS_NOT_THREAD_SAFE() override
GeoModelTool::clear
virtual StatusCode clear() override
Definition: GeoModelTool.cxx:28
IGeoModelTool.h
GeoModelTool::m_detector
GeoVDetectorManager * m_detector
Definition: GeoModelTool.h:36
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
checker_macros.h
Define macros for attributes used to control the static checker.
GeoModelTool::align
virtual StatusCode align(IOVSVC_CALLBACK_ARGS) override
Definition: GeoModelTool.cxx:33