CMS 3D CMS Logo

HGCUncalibRecHitSoA.h
Go to the documentation of this file.
1 #ifndef CUDADataFormats_HGCal_HGCUncalibRecHitSoA_h
2 #define CUDADataFormats_HGCal_HGCUncalibRecHitSoA_h
3 
4 #include <cstdint>
5 
7 public:
8  float *amplitude_; //uncalib rechit amplitude, i.e., the average number of MIPs
9  float *pedestal_; //reconstructed pedestal
10  float *jitter_; //reconstructed time jitter
11  float *chi2_; //chi2 of the pulse
12  float *OOTamplitude_; //out-of-time reconstructed amplitude
13  float *OOTchi2_; //out-of-time chi2
14  std::uint32_t *
15  flags_; //uncalibrechit flags describing its status (DataFormats/HGCRecHit/interface/HGCUncalibRecHit.h); to be propagated to the rechits
16  std::uint32_t *aux_; //aux word; first 8 bits contain time (jitter) error
17  std::uint32_t *id_; //uncalibrechit detector id
18 
19  std::uint32_t nbytes_; //number of bytes of the SoA
20  std::uint32_t nhits_; //number of hits stored in the SoA
21  std::uint32_t pad_; //pad of memory block (used for warp alignment, slighlty larger than 'nhits_')
22 };
23 
24 namespace memory {
25  namespace npointers {
26  constexpr unsigned float_hgcuncalibrechits_soa = 6; //number of float pointers in the uncalibrated rechits SoA
27  constexpr unsigned uint32_hgcuncalibrechits_soa = 3; //number of uint32_t pointers in the uncalibrated rechits SoA
29  2; //number of different pointer types in the uncalibrated rechits SoA
30  } // namespace npointers
31 } // namespace memory
32 
33 #endif
constexpr unsigned uint32_hgcuncalibrechits_soa
constexpr unsigned ntypes_hgcuncalibrechits_soa
std::uint32_t * flags_
constexpr unsigned float_hgcuncalibrechits_soa