CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 transient-only, simplified representation of the beamspot
5 // data 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, y, z; // position
13  float sigmaZ;
15  float dxdz, dydz;
17  float betaStar;
18 };
19 
20 #endif // DataFormats_BeamSpot_interface_BeamSpotPOD_h
float sigmaZ
Definition: BeamSpotPOD.h:13
float dydz
Definition: BeamSpotPOD.h:15
float betaStar
Definition: BeamSpotPOD.h:17
float beamWidthY
Definition: BeamSpotPOD.h:14
float emittanceX
Definition: BeamSpotPOD.h:16
float beamWidthX
Definition: BeamSpotPOD.h:14
float dxdz
Definition: BeamSpotPOD.h:15
float emittanceY
Definition: BeamSpotPOD.h:16