ATLAS Offline Software
ForwardDetectors
ALFA
ALFA_GeoModel
src
ALFA_DetectorTool.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 ALFA_DETECTORTOOL_H
6
#define ALFA_DETECTORTOOL_H
7
8
#include "
GeoModelUtilities/GeoModelTool.h
"
9
#include "
ALFA_DetectorFactory.h
"
//typedef CONFIGURATION
10
#include "
AthenaKernel/IIOVDbSvc.h
"
11
#include "
CxxUtils/checker_macros.h
"
12
#include "CLHEP/Vector/ThreeVector.h"
//CLHEP::Hep3Vector
13
14
15
16
#define COOLFOLDER_DETSWCORR "/FWD/ALFA/position_calibration"
17
18
typedef
struct
_USERTRANSFORM
19
{
20
int
iRPot
{};
21
double
fAngle
{};
22
CLHEP::Hep3Vector
vecRotation
;
23
CLHEP::Hep3Vector
vecTranslation
;
24
}
USERTRANSFORM
, *
PUSERTRANSFORM
;
25
26
27
// Not thread-safe due to conditions callbacks.
28
class
ATLAS_NOT_THREAD_SAFE
ALFA_DetectorTool
final
:
public
GeoModelTool
29
{
30
private
:
31
CONFIGURATION
m_Config{};
32
ALFA_DetectorFactory
* m_pALFADetectorFactory{
nullptr
};
33
ServiceHandle< IIOVDbSvc >
m_iovDbSvc{
this
,
"IOVDbSvc"
,
"IOVDbSvc"
};
34
35
public
:
36
// Standard Constructor
37
ALFA_DetectorTool
(
const
std::string&
type
,
const
std::string&
name
,
const
IInterface*
parent
);
38
39
// Standard Destructor
40
virtual
~ALFA_DetectorTool
() override
final
;
41
42
// Build geometry and store Manager to the TDS
43
virtual
StatusCode
create() override
final
;
44
45
virtual
StatusCode
registerCallback() override
final
;
46
virtual
StatusCode
align(
IOVSVC_CALLBACK_ARGS
) override
final
;
47
};
48
49
#endif
ALFA_DetectorTool::~ALFA_DetectorTool
virtual ~ALFA_DetectorTool() override final
USERTRANSFORM
struct _USERTRANSFORM USERTRANSFORM
_USERTRANSFORM::vecRotation
CLHEP::Hep3Vector vecRotation
Definition:
ALFA_DetectorTool.h:22
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
GeoModelTool.h
IIOVDbSvc.h
Abstract interface to IOVDbSvc to access IOVRange and tag information.
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
python.CaloAddPedShiftConfig.type
type
Definition:
CaloAddPedShiftConfig.py:42
_USERTRANSFORM::iRPot
int iRPot
Definition:
ALFA_DetectorTool.h:20
ALFA_DetectorFactory
Definition:
ALFA_DetectorFactory.h:76
_USERTRANSFORM::vecTranslation
CLHEP::Hep3Vector vecTranslation
Definition:
ALFA_DetectorTool.h:23
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PUSERTRANSFORM
struct _USERTRANSFORM * PUSERTRANSFORM
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
GeoModelTool
Definition:
GeoModelTool.h:16
_CONFIGURATION
Definition:
ALFA_DetectorFactory.h:39
columnar::final
CM final
Definition:
ColumnAccessor.h:106
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
_USERTRANSFORM::fAngle
double fAngle
Definition:
ALFA_DetectorTool.h:21
_USERTRANSFORM
Definition:
ALFA_DetectorTool.h:19
checker_macros.h
Define macros for attributes used to control the static checker.
ALFA_DetectorTool
Definition:
ALFA_DetectorTool.h:29
ALFA_DetectorFactory.h
ServiceHandle< IIOVDbSvc >
Generated on Fri Nov 21 2025 21:06:23 for ATLAS Offline Software by
1.8.18