Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:46

0001 #ifndef DataFormats_BeamSpot_interface_BeamSpotPOD_h
0002 #define DataFormats_BeamSpot_interface_BeamSpotPOD_h
0003 
0004 // This struct is a simplified representation of the beamspot data
0005 // used as the underlying type for data transfers and operations in
0006 // heterogeneous code (e.g. in CUDA code).
0007 
0008 // The covariance matrix is not used in that code, so is left out here.
0009 
0010 // align to the CUDA L1 cache line size
0011 struct alignas(128) BeamSpotPOD {
0012   float x;  // position
0013   float y;
0014   float z;
0015   float sigmaZ;
0016   float beamWidthX;
0017   float beamWidthY;
0018   float dxdz;
0019   float dydz;
0020   float emittanceX;
0021   float emittanceY;
0022   float betaStar;
0023 };
0024 
0025 #endif  // DataFormats_BeamSpot_interface_BeamSpotPOD_h