ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ALFA
ALFA_GeoModel
src
ALFA_DetectorTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 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 "CLHEP/Vector/ThreeVector.h"
//CLHEP::Hep3Vector
12
13
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
align
() override final;
45
};
46
47
#endif
ALFA_DetectorFactory.h
CONFIGURATION
struct _CONFIGURATION CONFIGURATION
USERTRANSFORM
struct _USERTRANSFORM USERTRANSFORM
PUSERTRANSFORM
struct _USERTRANSFORM * PUSERTRANSFORM
GeoModelTool.h
IIOVDbSvc.h
Abstract interface to IOVDbSvc to access IOVRange and tag information.
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
ALFA_DetectorFactory
Definition
ALFA_DetectorFactory.h:76
ALFA_DetectorTool
Definition
ALFA_DetectorTool.h:28
ALFA_DetectorTool::m_Config
CONFIGURATION m_Config
Definition
ALFA_DetectorTool.h:30
ALFA_DetectorTool::align
virtual StatusCode align() override final
Definition
ALFA_DetectorTool.cxx:166
ALFA_DetectorTool::create
virtual StatusCode create() override final
Definition
ALFA_DetectorTool.cxx:133
ALFA_DetectorTool::m_pALFADetectorFactory
ALFA_DetectorFactory * m_pALFADetectorFactory
Definition
ALFA_DetectorTool.h:31
ALFA_DetectorTool::m_iovDbSvc
ServiceHandle< IIOVDbSvc > m_iovDbSvc
Definition
ALFA_DetectorTool.h:32
ALFA_DetectorTool::ALFA_DetectorTool
ALFA_DetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
ALFA_DetectorTool.cxx:26
ALFA_DetectorTool::~ALFA_DetectorTool
virtual ~ALFA_DetectorTool() override final
GeoModelTool
Definition
GeoModelTool.h:15
ServiceHandle< IIOVDbSvc >
type
_USERTRANSFORM
Definition
ALFA_DetectorTool.h:18
_USERTRANSFORM::iRPot
int iRPot
Definition
ALFA_DetectorTool.h:19
_USERTRANSFORM::vecTranslation
CLHEP::Hep3Vector vecTranslation
Definition
ALFA_DetectorTool.h:22
_USERTRANSFORM::vecRotation
CLHEP::Hep3Vector vecRotation
Definition
ALFA_DetectorTool.h:21
_USERTRANSFORM::fAngle
double fAngle
Definition
ALFA_DetectorTool.h:20
Generated on
for ATLAS Offline Software by
1.17.0