ATLAS Offline Software
Loading...
Searching...
No Matches
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
9#include "ALFA_DetectorFactory.h" //typedef CONFIGURATION
12#include "CLHEP/Vector/ThreeVector.h" //CLHEP::Hep3Vector
13
14
15
16#define COOLFOLDER_DETSWCORR "/FWD/ALFA/position_calibration"
17
18typedef struct _USERTRANSFORM
19{
20 int iRPot{};
21 double fAngle{};
22 CLHEP::Hep3Vector vecRotation;
23 CLHEP::Hep3Vector vecTranslation;
25
26
27// Not thread-safe due to conditions callbacks.
29{
30 private:
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
struct _CONFIGURATION CONFIGURATION
struct _USERTRANSFORM USERTRANSFORM
struct _USERTRANSFORM * PUSERTRANSFORM
Abstract interface to IOVDbSvc to access IOVRange and tag information.
#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
Define macros for attributes used to control the static checker.
CONFIGURATION m_Config
virtual StatusCode create() override final
ALFA_DetectorFactory * m_pALFADetectorFactory
virtual StatusCode align(IOVSVC_CALLBACK_ARGS) override final
ServiceHandle< IIOVDbSvc > m_iovDbSvc
virtual StatusCode registerCallback() override final
ALFA_DetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual ~ALFA_DetectorTool() override final
virtual StatusCode registerCallback ATLAS_NOT_THREAD_SAFE() override
CLHEP::Hep3Vector vecTranslation
CLHEP::Hep3Vector vecRotation