ATLAS Offline Software
ForwardDetectors
ALFA
ALFA_GeoModel
src
ALFA_DetectorTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 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
"
10
#include "
AthenaKernel/IIOVDbSvc.h
"
11
#include "
AthenaKernel/IIOVSvc.h
"
12
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
13
#include "
CxxUtils/checker_macros.h
"
14
15
#define COOLFOLDER_DETSWCORR "/FWD/ALFA/position_calibration"
16
17
typedef
struct
_USERTRANSFORM
18
{
19
int
iRPot
;
20
double
fAngle
;
21
CLHEP::Hep3Vector
vecRotation
;
22
CLHEP::Hep3Vector
vecTranslation
;
23
}
USERTRANSFORM
, *
PUSERTRANSFORM
;
24
25
26
// Not thread-safe due to conditions callbacks.
27
class
ATLAS_NOT_THREAD_SAFE
ALFA_DetectorTool
final
:
public
GeoModelTool
28
{
29
private
:
30
CONFIGURATION
m_Config
;
31
ALFA_DetectorFactory
* m_pALFADetectorFactory{
nullptr
};
32
ServiceHandle< IIOVDbSvc >
m_iovDbSvc{
this
,
"IOVDbSvc"
,
"IOVDbSvc"
};
33
34
public
:
35
// Standard Constructor
36
ALFA_DetectorTool
(
const
std::string&
type
,
const
std::string&
name
,
const
IInterface*
parent
);
37
38
// Standard Destructor
39
virtual
~ALFA_DetectorTool
() override
final
;
40
41
// Build geometry and store Manager to the TDS
42
virtual
StatusCode
create() override
final
;
43
44
virtual
StatusCode
registerCallback() override
final
;
45
virtual
StatusCode
align(
IOVSVC_CALLBACK_ARGS
) override
final
;
46
};
47
48
#endif
ALFA_DetectorTool::~ALFA_DetectorTool
virtual ~ALFA_DetectorTool() override final
USERTRANSFORM
struct _USERTRANSFORM USERTRANSFORM
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
_USERTRANSFORM::vecRotation
CLHEP::Hep3Vector vecRotation
Definition:
ALFA_DetectorTool.h:21
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
ALFA_DetectorTool::m_Config
CONFIGURATION m_Config
Definition:
ALFA_DetectorTool.h:30
_USERTRANSFORM::iRPot
int iRPot
Definition:
ALFA_DetectorTool.h:19
ALFA_DetectorFactory
Definition:
ALFA_DetectorFactory.h:76
_USERTRANSFORM::vecTranslation
CLHEP::Hep3Vector vecTranslation
Definition:
ALFA_DetectorTool.h:22
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:20
IIOVSvc.h
_USERTRANSFORM
Definition:
ALFA_DetectorTool.h:18
checker_macros.h
Define macros for attributes used to control the static checker.
ALFA_DetectorTool
Definition:
ALFA_DetectorTool.h:28
ALFA_DetectorFactory.h
ServiceHandle< IIOVDbSvc >
Generated on Tue Sep 2 2025 21:06:54 for ATLAS Offline Software by
1.8.18