CMS 3D CMS Logo

BeamSpotPOD.h
Go to the documentation of this file.
1 #ifndef DataFormats_BeamSpot_interface_BeamSpotPOD_h
2 #define DataFormats_BeamSpot_interface_BeamSpotPOD_h
3 
4 // This struct is a simplified representation of the beamspot data
5 // used as the underlying type for data transfers and operations in
6 // heterogeneous code (e.g. in CUDA code).
7 
8 // The covariance matrix is not used in that code, so is left out here.
9 
10 // align to the CUDA L1 cache line size
11 struct alignas(128) BeamSpotPOD {
12  float x; // position
13  float y;
14  float z;
15  float sigmaZ;
16  float beamWidthX;
17  float beamWidthY;
18  float dxdz;
19  float dydz;
20  float emittanceX;
21  float emittanceY;
22  float betaStar;
23 };
24 
25 #endif // DataFormats_BeamSpot_interface_BeamSpotPOD_h
float sigmaZ
Definition: BeamSpotPOD.h:15
float dydz
Definition: BeamSpotPOD.h:19
float betaStar
Definition: BeamSpotPOD.h:22
float beamWidthY
Definition: BeamSpotPOD.h:17
float emittanceX
Definition: BeamSpotPOD.h:20
float beamWidthX
Definition: BeamSpotPOD.h:16
float dxdz
Definition: BeamSpotPOD.h:18
float emittanceY
Definition: BeamSpotPOD.h:21