Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:50

0001 #ifndef DataFormats_BeamSpot_interface_BeamSpotPOD_h
0002 #define DataFormats_BeamSpot_interface_BeamSpotPOD_h
0003 
0004 // This struct is a transient-only, simplified representation of the beamspot
0005 // data 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, y, z;  // position
0013   float sigmaZ;
0014   float beamWidthX, beamWidthY;
0015   float dxdz, dydz;
0016   float emittanceX, emittanceY;
0017   float betaStar;
0018 };
0019 
0020 #endif  // DataFormats_BeamSpot_interface_BeamSpotPOD_h