ATLAS Offline Software
DetectorDescription
GeoModel
GeoModelUtilities
GeoModelUtilities
GeoModelTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef GEOMODELUTILITIES_GEOMODELTOOL_H
6
#define GEOMODELUTILITIES_GEOMODELTOOL_H
7
8
#ifndef BUILDVP1LIGHT
9
10
#include "
GeoPrimitives/GeoPrimitives.h
"
11
#include "GeoModelKernel/GeoVDetectorManager.h"
12
#include "
GeoModelInterfaces/IGeoModelTool.h
"
13
#include "
AthenaBaseComps/AthAlgTool.h
"
14
#include "
CxxUtils/checker_macros.h
"
15
16
class
GeoModelTool
:
public
extends<AthAlgTool, IGeoModelTool> {
17
18
public
:
19
using
base_class::base_class;
20
virtual
~GeoModelTool
() =
default
;
21
22
virtual
GeoVDetectorManager*
manager
() {
return
m_detector
;}
23
virtual
const
GeoVDetectorManager*
manager
()
const
{
return
m_detector
;}
24
25
virtual
StatusCode
clear
()
override
{
return
StatusCode::SUCCESS;}
26
virtual
StatusCode
registerCallback
ATLAS_NOT_THREAD_SAFE
()
override
{
return
StatusCode::FAILURE;}
27
virtual
StatusCode
align
ATLAS_NOT_THREAD_SAFE
(
IOVSVC_CALLBACK_ARGS
)
override
{
return
StatusCode::SUCCESS;}
28
29
protected
:
30
GeoVDetectorManager*
m_detector
{
nullptr
};
31
};
32
33
#endif // BUILDVP1LIGHT
34
35
#endif // GEOMODELSVC_DETDESCRTOOL_H
GeoModelTool::ATLAS_NOT_THREAD_SAFE
virtual StatusCode align ATLAS_NOT_THREAD_SAFE(IOVSVC_CALLBACK_ARGS) override
Definition:
GeoModelTool.h:27
GeoModelTool::clear
virtual StatusCode clear() override
Definition:
GeoModelTool.h:25
GeoModelTool::~GeoModelTool
virtual ~GeoModelTool()=default
GeoModelTool::manager
virtual GeoVDetectorManager * manager()
Definition:
GeoModelTool.h:22
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
GeoPrimitives.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
GeoModelTool
Definition:
GeoModelTool.h:16
GeoModelTool::ATLAS_NOT_THREAD_SAFE
virtual StatusCode registerCallback ATLAS_NOT_THREAD_SAFE() override
Definition:
GeoModelTool.h:26
IGeoModelTool.h
GeoModelTool::m_detector
GeoVDetectorManager * m_detector
Definition:
GeoModelTool.h:30
checker_macros.h
Define macros for attributes used to control the static checker.
GeoModelTool::manager
virtual const GeoVDetectorManager * manager() const
Definition:
GeoModelTool.h:23
Generated on Mon Sep 29 2025 21:10:46 for ATLAS Offline Software by
1.8.18