ATLAS Offline Software
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 
15 #ifndef AFP_DBTOOLS_SILOCALIGNDATA_H
16 #define AFP_DBTOOLS_SILOCALIGNDATA_H
17 
18 
19 namespace 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:
57  int m_layerID;
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
AFP::SiLocAlignData::layerID
int layerID() const
ID of the layer in station to which aligment applies (see xAOD::AFPPixelLayerID)
Definition: SiLocAlignData.h:35
AFP::SiLocAlignData::m_zShift
double m_zShift
Definition: SiLocAlignData.h:60
x
#define x
AFP
Header file for interface of SiGlobAlignDBTool used to read global alignment for database.
Definition: ISiGlobAlignDBTool.h:18
AFP::SiLocAlignData::alpha
double alpha() const
Rotation angle.
Definition: SiLocAlignData.h:47
AFP::SiLocAlignData::m_alpha
double m_alpha
Definition: SiLocAlignData.h:61
AFP::SiLocAlignData::SiLocAlignData
SiLocAlignData(int st, int la)
Definition: SiLocAlignData.h:27
AFP::SiLocAlignData::gamma
double gamma() const
Rotation angle.
Definition: SiLocAlignData.h:53
z
#define z
AFP::SiLocAlignData::m_layerID
int m_layerID
Definition: SiLocAlignData.h:57
python.CaloCondTools.g
g
Definition: CaloCondTools.py:15
AFP::SiLocAlignData::m_stationID
int m_stationID
Definition: SiLocAlignData.h:56
AFP::SiLocAlignData::m_xShift
double m_xShift
Definition: SiLocAlignData.h:58
AFP::SiLocAlignData::m_yShift
double m_yShift
Definition: SiLocAlignData.h:59
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
AFP::SiLocAlignData::yShift
double yShift() const
Shift of the plane in Y direction with respect to the nominal position.
Definition: SiLocAlignData.h:41
AFP::SiLocAlignData
Class storing information about alignment.
Definition: SiLocAlignData.h:24
AFP::SiLocAlignData::SiLocAlignData
SiLocAlignData(int st, int la, double x, double y, double z, double a, double b, double g)
Definition: SiLocAlignData.h:28
a
TList * a
Definition: liststreamerinfos.cxx:10
y
#define y
AFP::SiLocAlignData::zShift
double zShift() const
Shift of the plane in Z direction with respect to the nominal position.
Definition: SiLocAlignData.h:44
AFP::SiLocAlignData::xShift
double xShift() const
Shift of the plane in X direction with respect to the nominal position.
Definition: SiLocAlignData.h:38
AFP::SiLocAlignData::beta
double beta() const
Rotation angle.
Definition: SiLocAlignData.h:50
AFP::SiLocAlignData::stationID
int stationID() const
ID of the station to which aligment applies (see xAOD::AFPStationID)
Definition: SiLocAlignData.h:32
AFP::SiLocAlignData::m_beta
double m_beta
Definition: SiLocAlignData.h:62
AFP::SiLocAlignData::m_gamma
double m_gamma
Definition: SiLocAlignData.h:63