|
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 1413 of file PFClusterSoAProducerKernel.dev.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::blocksForExoticClusters, ALPAKA_ACCELERATOR_NAMESPACE::hcalFastCluster_exotic(), HLT_2024v12_cff::pfRecHits, and HLT_2024v12_cff::topology.
1427 for (
int topoId = alpaka::getIdx<alpaka::Grid, alpaka::Blocks>(acc)[0u]; topoId < nRH;
1429 int nRHTopo = pfClusteringVars[topoId].topoRHCount();
1430 int nSeeds = pfClusteringVars[topoId].topoSeedCount();
1433 if (nRHTopo > 0 && (nSeeds > 400 || nRHTopo - nSeeds > 1500)) {
1445 globalPrevClusterPos,
1446 globalClusterEnergy,
1451 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)