|
template<typename TAcc , typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>> |
ALPAKA_FN_ACC void | operator() (const TAcc &acc, const reco::PFRecHitHostCollection::ConstView pfRecHits, const reco::PFClusterParamsDeviceCollection::ConstView pfClusParams, const reco::PFRecHitHCALTopologyDeviceCollection::ConstView topology, reco::PFClusteringVarsDeviceCollection::View pfClusteringVars, reco::PFClusterDeviceCollection::View clusterView, reco::PFRecHitFractionDeviceCollection::View fracView, Position4 *__restrict__ globalClusterPos, Position4 *__restrict__ globalPrevClusterPos, float *__restrict__ globalClusterEnergy, float *__restrict__ globalRhFracSum, int *__restrict__ globalSeeds, int *__restrict__ globalRechits) const |
|
◆ operator()()
template<typename TAcc , typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>>
ALPAKA_FN_ACC void ALPAKA_ACCELERATOR_NAMESPACE::FastClusterExotic::operator() |
( |
const TAcc & |
acc, |
|
|
const reco::PFRecHitHostCollection::ConstView |
pfRecHits, |
|
|
const reco::PFClusterParamsDeviceCollection::ConstView |
pfClusParams, |
|
|
const reco::PFRecHitHCALTopologyDeviceCollection::ConstView |
topology, |
|
|
reco::PFClusteringVarsDeviceCollection::View |
pfClusteringVars, |
|
|
reco::PFClusterDeviceCollection::View |
clusterView, |
|
|
reco::PFRecHitFractionDeviceCollection::View |
fracView, |
|
|
Position4 *__restrict__ |
globalClusterPos, |
|
|
Position4 *__restrict__ |
globalPrevClusterPos, |
|
|
float *__restrict__ |
globalClusterEnergy, |
|
|
float *__restrict__ |
globalRhFracSum, |
|
|
int *__restrict__ |
globalSeeds, |
|
|
int *__restrict__ |
globalRechits |
|
) |
| const |
|
inline |
Definition at line 1414 of file PFClusterSoAProducerKernel.dev.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::blocksForExoticClusters, ALPAKA_ACCELERATOR_NAMESPACE::hcalFastCluster_exotic(), HLT_2024v14_cff::pfRecHits, and HLT_2024v14_cff::topology.
1428 for (
int topoId = alpaka::getIdx<alpaka::Grid, alpaka::Blocks>(acc)[0u]; topoId < nRH;
1430 int nRHTopo = pfClusteringVars[topoId].topoRHCount();
1431 int nSeeds = pfClusteringVars[topoId].topoSeedCount();
1434 if (nRHTopo > 0 && (nSeeds > 400 || nRHTopo - nSeeds > 1500)) {
1446 globalPrevClusterPos,
1447 globalClusterEnergy,
1452 alpaka::syncBlockThreads(acc);
static constexpr uint32_t blocksForExoticClusters
static ALPAKA_FN_ACC void hcalFastCluster_exotic(const TAcc &acc, reco::PFClusterParamsDeviceCollection::ConstView pfClusParams, const reco::PFRecHitHCALTopologyDeviceCollection::ConstView topology, int topoId, int nSeeds, int nRHTopo, reco::PFRecHitDeviceCollection::ConstView pfRecHits, reco::PFClusteringVarsDeviceCollection::View pfClusteringVars, reco::PFClusterDeviceCollection::View clusterView, reco::PFRecHitFractionDeviceCollection::View fracView, Position4 *__restrict__ globalClusterPos, Position4 *__restrict__ globalPrevClusterPos, float *__restrict__ globalClusterEnergy, float *__restrict__ globalRhFracSum, int *__restrict__ globalSeeds, int *__restrict__ globalRechits)