CMS 3D CMS Logo

PixelTripletsSoA.h
Go to the documentation of this file.
1 #ifndef RecoTracker_LSTCore_interface_PixelTripletsSoA_h
2 #define RecoTracker_LSTCore_interface_PixelTripletsSoA_h
3 
4 #include <alpaka/alpaka.hpp>
7 
9 
10 namespace lst {
11  GENERATE_SOA_LAYOUT(PixelTripletsSoALayout,
12  SOA_COLUMN(unsigned int, pixelSegmentIndices),
13  SOA_COLUMN(unsigned int, tripletIndices),
14  SOA_COLUMN(Params_pT3::ArrayU16xLayers, lowerModuleIndices), // lower module index (OT part)
15  SOA_COLUMN(Params_pT3::ArrayU8xLayers, logicalLayers), // layer ID
16  SOA_COLUMN(Params_pT3::ArrayUxHits, hitIndices), // hit indices
17  SOA_COLUMN(float, rPhiChiSquared), // chi2 from pLS to T3
18  SOA_COLUMN(float, rPhiChiSquaredInwards), // chi2 from T3 to pLS
19  SOA_COLUMN(float, rzChiSquared),
20  SOA_COLUMN(FPX, pixelRadius), // pLS pt converted
21  SOA_COLUMN(FPX, tripletRadius), // T3 circle
22  SOA_COLUMN(FPX, pt),
23  SOA_COLUMN(FPX, eta),
24  SOA_COLUMN(FPX, phi),
25  SOA_COLUMN(FPX, eta_pix), // eta from pLS
26  SOA_COLUMN(FPX, phi_pix), // phi from pLS
27  SOA_COLUMN(FPX, score), // used for ranking (in e.g. duplicate cleaning)
28  SOA_COLUMN(FPX, centerX), // T3-based circle center x
29  SOA_COLUMN(FPX, centerY), // T3-based circle center y
30  SOA_COLUMN(bool, isDup),
31  SOA_SCALAR(unsigned int, nPixelTriplets),
32  SOA_SCALAR(unsigned int, totOccupancyPixelTriplets));
33 
37 
38 } // namespace lst
39 #endif
ConstViewTemplate< cms::soa::RestrictQualify::Default, cms::soa::RangeChecking::Default > ConstView
Definition: Common.h:15
ViewTemplate< cms::soa::RestrictQualify::Default, cms::soa::RangeChecking::Default > View
#define GENERATE_SOA_LAYOUT(CLASS,...)
Definition: SoALayout.h:431
float FPX
Definition: Common.h:51
#define SOA_SCALAR(TYPE, NAME)
Definition: SoACommon.h:563
edm::StdArray< uint16_t, kLayers > ArrayU16xLayers
Definition: Common.h:86
edm::StdArray< unsigned int, kHits > ArrayUxHits
Definition: Common.h:87
edm::StdArray< uint8_t, kLayers > ArrayU8xLayers
Definition: Common.h:85
#define SOA_COLUMN(TYPE, NAME)
Definition: SoACommon.h:564