File indexing completed on 2024-04-06 12:26:27
0001 #ifndef RecoLocalTracker_SiStripClusterizer_plugins_StripDataView_h
0002 #define RecoLocalTracker_SiStripClusterizer_plugins_StripDataView_h
0003
0004 #include "CUDADataFormats/SiStripCluster/interface/SiStripClustersCUDA.h"
0005 #include "FWCore/Utilities/interface/HostDeviceConstant.h"
0006
0007 #include <cstdint>
0008
0009 class ChannelLocsView;
0010
0011 namespace stripgpu {
0012 HOST_DEVICE_CONSTANT auto kMaxSeedStrips = 200000;
0013
0014 struct StripDataView {
0015 const ChannelLocsView *chanlocs;
0016 uint8_t *adc;
0017 uint16_t *channel;
0018 stripId_t *stripId;
0019 int *seedStripsNCIndex, *seedStripsMask, *seedStripsNCMask, *prefixSeedStripsNCMask;
0020 int nSeedStripsNC;
0021 int nStrips;
0022 float channelThreshold, seedThreshold, clusterThresholdSquared;
0023 uint8_t maxSequentialHoles, maxSequentialBad, maxAdjacentBad;
0024 float minGoodCharge;
0025 int clusterSizeLimit;
0026 };
0027 }
0028 #endif