CUDADataFormats
HGCal
interface
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
6
class
HGCUncalibRecHitSoA
{
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
28
constexpr
unsigned
ntypes_hgcuncalibrechits_soa
=
29
2;
//number of different pointer types in the uncalibrated rechits SoA
30
}
// namespace npointers
31
}
// namespace memory
32
33
#endif
HGCUncalibRecHitSoA::jitter_
float * jitter_
Definition:
HGCUncalibRecHitSoA.h:10
HGCUncalibRecHitSoA::pad_
std::uint32_t pad_
Definition:
HGCUncalibRecHitSoA.h:21
HGCUncalibRecHitSoA::amplitude_
float * amplitude_
Definition:
HGCUncalibRecHitSoA.h:8
memory::npointers::uint32_hgcuncalibrechits_soa
constexpr unsigned uint32_hgcuncalibrechits_soa
Definition:
HGCUncalibRecHitSoA.h:27
HGCUncalibRecHitSoA::nhits_
std::uint32_t nhits_
Definition:
HGCUncalibRecHitSoA.h:20
memory
Definition:
HGCRecHitSoA.h:20
HGCUncalibRecHitSoA::pedestal_
float * pedestal_
Definition:
HGCUncalibRecHitSoA.h:9
memory::npointers::float_hgcuncalibrechits_soa
constexpr unsigned float_hgcuncalibrechits_soa
Definition:
HGCUncalibRecHitSoA.h:26
HGCUncalibRecHitSoA::aux_
std::uint32_t * aux_
Definition:
HGCUncalibRecHitSoA.h:16
HGCUncalibRecHitSoA::chi2_
float * chi2_
Definition:
HGCUncalibRecHitSoA.h:11
HGCUncalibRecHitSoA::id_
std::uint32_t * id_
Definition:
HGCUncalibRecHitSoA.h:17
HGCUncalibRecHitSoA
Definition:
HGCUncalibRecHitSoA.h:6
HGCUncalibRecHitSoA::nbytes_
std::uint32_t nbytes_
Definition:
HGCUncalibRecHitSoA.h:19
HGCUncalibRecHitSoA::OOTchi2_
float * OOTchi2_
Definition:
HGCUncalibRecHitSoA.h:13
HGCUncalibRecHitSoA::flags_
std::uint32_t * flags_
Definition:
HGCUncalibRecHitSoA.h:15
HGCUncalibRecHitSoA::OOTamplitude_
float * OOTamplitude_
Definition:
HGCUncalibRecHitSoA.h:12
memory::npointers::ntypes_hgcuncalibrechits_soa
constexpr unsigned ntypes_hgcuncalibrechits_soa
Definition:
HGCUncalibRecHitSoA.h:28
Generated for CMSSW Reference Manual by
1.8.16