ATLAS Offline Software
Loading...
Searching...
No Matches
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
9#include "ALFA_DetectorFactory.h" //typedef CONFIGURATION
11#include "CLHEP/Vector/ThreeVector.h" //CLHEP::Hep3Vector
12
13
14
15#define COOLFOLDER_DETSWCORR "/FWD/ALFA/position_calibration"
16
17typedef struct _USERTRANSFORM
18{
19 int iRPot{};
20 double fAngle{};
21 CLHEP::Hep3Vector vecRotation;
22 CLHEP::Hep3Vector vecTranslation;
24
25
26// Not thread-safe due to conditions callbacks.
28{
29 private:
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
struct _CONFIGURATION CONFIGURATION
struct _USERTRANSFORM USERTRANSFORM
struct _USERTRANSFORM * PUSERTRANSFORM
Abstract interface to IOVDbSvc to access IOVRange and tag information.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
CONFIGURATION m_Config
virtual StatusCode align() override final
virtual StatusCode create() override final
ALFA_DetectorFactory * m_pALFADetectorFactory
ServiceHandle< IIOVDbSvc > m_iovDbSvc
ALFA_DetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual ~ALFA_DetectorTool() override final
CLHEP::Hep3Vector vecTranslation
CLHEP::Hep3Vector vecRotation