ATLAS Offline Software
ALFA_DetectorTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 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"
10 #include "AthenaKernel/IIOVDbSvc.h"
11 #include "AthenaKernel/IIOVSvc.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;
24 
25 
26 // Not thread-safe due to conditions callbacks.
28 {
29  private:
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 private:
45  virtual StatusCode registerCallback() override final;
46  virtual StatusCode align(IOVSVC_CALLBACK_ARGS) override final;
47 };
48 
49 #endif
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
ALFA_DetectorTool::m_Config
CONFIGURATION m_Config
Definition: ALFA_DetectorTool.h:30
ALFA_DetectorTool::m_iovSvc
ServiceHandle< IIOVDbSvc > m_iovSvc
Definition: ALFA_DetectorTool.h:32
_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:17
_CONFIGURATION
Definition: ALFA_DetectorFactory.h:39
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
ALFA_DetectorTool::m_pALFADetectorFactory
ALFA_DetectorFactory * m_pALFADetectorFactory
Definition: ALFA_DetectorTool.h:31
_USERTRANSFORM::fAngle
double fAngle
Definition: ALFA_DetectorTool.h:20
IIOVSvc.h
_USERTRANSFORM
Definition: ALFA_DetectorTool.h:18
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
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 >