145 <<
") differs the one from SiPixelROCsStatusAndMappingWrapper. Please fix your configuration.";
148 const auto* gpuMap = hgpuMap->getGPUProductAsync(ctx.stream());
152 const auto* gpuGains = hgains->getGPUProductAsync(ctx.stream());
155 const unsigned char* gpuModulesToUnpack;
159 LogDebug(
"SiPixelRawToCluster") <<
"region2unpack #feds: " <<
regions_->nFEDs();
160 LogDebug(
"SiPixelRawToCluster") <<
"region2unpack #modules (BPIX,EPIX,total): " <<
regions_->nBarrelModules() <<
" "
162 modulesToUnpackRegional = hgpuMap->getModToUnpRegionalAsync(*(
regions_->modulesToUnpack()), ctx.stream());
163 gpuModulesToUnpack = modulesToUnpackRegional.get();
165 gpuModulesToUnpack = hgpuMap->getModToUnpAllAsync(ctx.stream());
173 fedIds_ = cablingMap->fedIds();
174 cabling_ = cablingMap->cablingTree();
183 unsigned int wordCounterGPU = 0;
184 unsigned int fedCounter = 0;
185 bool errorsInEvent =
false;
217 bool moreHeaders =
true;
218 while (moreHeaders) {
221 moreHeaders = headerStatus;
225 bool moreTrailers =
true;
227 while (moreTrailers) {
230 moreTrailers = trailerStatus;
236 assert(0 == (ew - bw) % 2);
238 wordCounterGPU += (ew - bw);
std::unique_ptr< SiPixelFedCablingTree > cabling_
void makeClustersAsync(bool isRun2, const SiPixelClusterThresholds clusterThresholds, const SiPixelROCsStatusAndMapping *cablingMap, const unsigned char *modToUnp, const SiPixelGainForHLTonGPU *gains, const WordFedAppender &wordFed, SiPixelFormatterErrors &&errors, const uint32_t wordCounter, const uint32_t fedCounter, const uint32_t maxFedWords, bool useQualityInfo, bool includeErrors, bool debug, cudaStream_t stream)
edm::ESWatcher< SiPixelFedCablingMapRcd > recordWatcher_
cms::cuda::ContextState ctxState_
edm::ESGetToken< SiPixelGainCalibrationForHLTGPU, SiPixelGainCalibrationForHLTGPURcd > gainsToken_
static MessageDrop * instance()
const SiPixelFedCablingMap * cablingMap_
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
std::unique_ptr< pixelgpudetails::SiPixelRawToClusterGPUKernel::WordFedAppender > wordFedAppender_
size_t size() const
Lenght of the data buffer in bytes.
bool checkHeader(bool &errorsInEvent, int fedId, const Word64 *header, SiPixelFormatterErrors &errors) const
const bool includeErrors_
bool get(ProductID const &oid, Handle< PROD > &result) const
unsigned int cms_uint32_t
std::vector< unsigned int > fedIds_
const uint32_t maxFedWords_
bool checkCRC(bool &errorsInEvent, int fedId, const Word64 *trailer, SiPixelFormatterErrors &errors) const
bool check(const edm::EventSetup &iSetup)
ESTransientHandle< T > getTransientHandle(const ESGetToken< T, R > &iToken) const
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
const SiPixelClusterThresholds clusterThresholds_
StreamID streamID() const
pixelgpudetails::SiPixelRawToClusterGPUKernel gpuAlgo_
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
unsigned long long cms_uint64_t
std::unique_ptr< PixelUnpackingRegions > regions_
edm::ESGetToken< SiPixelROCsStatusAndMappingWrapper, CkfComponentsRecord > gpuMapToken_
PixelDataFormatter::Errors errors_
edm::EDGetTokenT< FEDRawDataCollection > rawGetToken_
bool checkTrailer(bool &errorsInEvent, int fedId, unsigned int nWords, const Word64 *trailer, SiPixelFormatterErrors &errors) const
edm::ESGetToken< SiPixelFedCablingMap, SiPixelFedCablingMapRcd > cablingMapToken_