ATLAS Offline Software
Loading...
Searching...
No Matches
SiLocAlignData.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
13
14
15#ifndef AFP_DBTOOLS_SILOCALIGNDATA_H
16#define AFP_DBTOOLS_SILOCALIGNDATA_H
17
18
19namespace AFP
20{
21
24 {
25 public:
26
27 SiLocAlignData(int st, int la): m_stationID(st), m_layerID(la), m_xShift(0.), m_yShift(0.), m_zShift(0.), m_alpha(0.), m_beta(0.), m_gamma(0.) {}
28 SiLocAlignData(int st, int la, double x, double y, double z, double a, double b, double g) : m_stationID(st), m_layerID(la), m_xShift(x), m_yShift(y), m_zShift(z), m_alpha(a), m_beta(b), m_gamma(g) {}
29
30
32 int stationID () const {return m_stationID;}
33
35 int layerID () const {return m_layerID;}
36
38 double xShift () const {return m_xShift;}
39
41 double yShift () const {return m_yShift;}
42
44 double zShift () const {return m_zShift;}
45
47 double alpha () const {return m_alpha;}
48
50 double beta () const {return m_beta;}
51
53 double gamma () const {return m_gamma;}
54
55 private:
58 double m_xShift;
59 double m_yShift;
60 double m_zShift;
61 double m_alpha;
62 double m_beta;
63 double m_gamma;
64 };
65
66} // namespace AFP
67
68#endif // AFP_DBTOOLS_SILOCALIGNDATA_H
#define y
#define x
#define z
SiLocAlignData(int st, int la, double x, double y, double z, double a, double b, double g)
double beta() const
Rotation angle.
double xShift() const
Shift of the plane in X direction with respect to the nominal position.
double zShift() const
Shift of the plane in Z direction with respect to the nominal position.
double gamma() const
Rotation angle.
int stationID() const
ID of the station to which aligment applies (see xAOD::AFPStationID)
double alpha() const
Rotation angle.
double yShift() const
Shift of the plane in Y direction with respect to the nominal position.
int layerID() const
ID of the layer in station to which aligment applies (see xAOD::AFPPixelLayerID)
SiLocAlignData(int st, int la)
Header file for interface of SiGlobAlignDBTool used to read global alignment for database.