CMS 3D CMS Logo

TripletsSoA.h
Go to the documentation of this file.
1 #ifndef RecoTracker_LSTCore_interface_TripletsSoA_h
2 #define RecoTracker_LSTCore_interface_TripletsSoA_h
3 
4 #include <alpaka/alpaka.hpp>
7 
9 
10 namespace lst {
11  GENERATE_SOA_LAYOUT(TripletsSoALayout,
12  SOA_COLUMN(ArrayUx2, segmentIndices), // inner and outer segment indices
13  SOA_COLUMN(Params_T3::ArrayU16xLayers, lowerModuleIndices), // lower module index in each layer
14  SOA_COLUMN(Params_T3::ArrayU8xLayers, logicalLayers), // layer ID
15  SOA_COLUMN(Params_T3::ArrayUxHits, hitIndices), // hit indices
16  SOA_COLUMN(FPX, betaIn), // beta/chord angle of the inner segment
17  SOA_COLUMN(float, centerX), // lower/anchor-hit based circle center x
18  SOA_COLUMN(float, centerY), // lower/anchor-hit based circle center y
19  SOA_COLUMN(float, radius), // lower/anchor-hit based circle radius
20 #ifdef CUT_VALUE_DEBUG
21  SOA_COLUMN(float, zOut),
22  SOA_COLUMN(float, rtOut),
23  SOA_COLUMN(float, betaInCut),
24 #endif
25  SOA_COLUMN(bool, partOfPT5), // is it used in a pT5
26  SOA_COLUMN(bool, partOfT5), // is it used in a T5
27  SOA_COLUMN(bool, partOfPT3)); // is it used in a pT3
28 
32 
34  SOA_COLUMN(unsigned int, nTriplets),
35  SOA_COLUMN(unsigned int, totOccupancyTriplets));
36 
40 
41 } // namespace lst
42 #endif
ConstViewTemplate< cms::soa::RestrictQualify::Default, cms::soa::RangeChecking::Default > ConstView
Definition: TripletsSoA.h:27
Definition: Common.h:15
ViewTemplate< cms::soa::RestrictQualify::Default, cms::soa::RangeChecking::Default > View
Definition: TripletsSoA.h:35
#define GENERATE_SOA_LAYOUT(CLASS,...)
Definition: SoALayout.h:431
float FPX
Definition: Common.h:51
ConstViewTemplate< cms::soa::RestrictQualify::Default, cms::soa::RangeChecking::Default > ConstView
Definition: TripletsSoA.h:35
edm::StdArray< unsigned int, kHits > ArrayUxHits
Definition: Common.h:81
ViewTemplate< cms::soa::RestrictQualify::Default, cms::soa::RangeChecking::Default > View
Definition: TripletsSoA.h:27
edm::StdArray< unsigned int, 2 > ArrayUx2
Definition: Common.h:103
edm::StdArray< uint16_t, kLayers > ArrayU16xLayers
Definition: Common.h:80
edm::StdArray< uint8_t, kLayers > ArrayU8xLayers
Definition: Common.h:79
#define SOA_COLUMN(TYPE, NAME)
Definition: SoACommon.h:564