File indexing completed on 2025-02-04 02:43:25
0001 #ifndef RecoTracker_LSTCore_interface_PixelSegmentsSoA_h
0002 #define RecoTracker_LSTCore_interface_PixelSegmentsSoA_h
0003
0004 #include "DataFormats/SoATemplate/interface/SoALayout.h"
0005 #include "DataFormats/Portable/interface/PortableCollection.h"
0006
0007 #include "RecoTracker/LSTCore/interface/Common.h"
0008
0009 namespace lst {
0010
0011 GENERATE_SOA_LAYOUT(PixelSegmentsSoALayout,
0012 SOA_COLUMN(unsigned int, seedIdx),
0013 SOA_COLUMN(int, charge),
0014 SOA_COLUMN(int, superbin),
0015 SOA_COLUMN(uint4, pLSHitsIdxs),
0016 SOA_COLUMN(PixelType, pixelType),
0017 SOA_COLUMN(char, isQuad),
0018 SOA_COLUMN(char, isDup),
0019 SOA_COLUMN(bool, partOfPT5),
0020 SOA_COLUMN(float, ptIn),
0021 SOA_COLUMN(float, ptErr),
0022 SOA_COLUMN(float, px),
0023 SOA_COLUMN(float, py),
0024 SOA_COLUMN(float, pz),
0025 SOA_COLUMN(float, etaErr),
0026 SOA_COLUMN(float, eta),
0027 SOA_COLUMN(float, phi),
0028 SOA_COLUMN(float, score),
0029 SOA_COLUMN(float, circleCenterX),
0030 SOA_COLUMN(float, circleCenterY),
0031 SOA_COLUMN(float, circleRadius))
0032
0033 using PixelSegmentsSoA = PixelSegmentsSoALayout<>;
0034
0035 using PixelSegments = PixelSegmentsSoA::View;
0036 using PixelSegmentsConst = PixelSegmentsSoA::ConstView;
0037
0038 }
0039
0040 #endif