Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:46

0001 #pragma once
0002 
0003 /**
0004 squadx.h : facilitate storing uint64_t values into quad4 which uses 32 bit elements
0005 =======================================================================================
0006 
0007 This is used for storing uint64_t timestmaps into the sctx.sup from SEvt::addProcessHitsStamp
0008 
0009 **/
0010 
0011 #include <cstdint>
0012 
0013 struct wuint2 {  uint64_t x, y ; };
0014 
0015 union quadx
0016 {
0017     float4 f ; 
0018     int4   i ; 
0019     uint4  u ; 
0020     wuint2 w ;   // wide 
0021 };
0022 
0023 
0024 struct quadx4 
0025 { 
0026     quadx q0 ; 
0027     quadx q1 ; 
0028     quadx q2 ; 
0029     quadx q3 ;
0030 }; 
0031 
0032 struct quadx6
0033 { 
0034     quadx q0 ; 
0035     quadx q1 ; 
0036     quadx q2 ; 
0037     quadx q3 ;
0038     quadx q4 ;
0039     quadx q5 ;
0040 }; 
0041 
0042