![]() |
ATLAS Offline Software
|
cellsPrefixSum.
More...
#include <EventInfoDefinitions.h>
Classes | |
| struct | ClusterMomentsArr |
Public Member Functions | |
| template<class F, class ... Args> | |
| constexpr void | for_all_moments (F &&f, Args &&... args) const |
| F receives the array associated with the moment and any additional arguments. | |
| template<class F, class ... Args> | |
| constexpr void | for_all_moments (F &&f, Args &&... args) |
| F receives the array associated with the moment and any additional arguments. | |
| constexpr const tag_type & | get_extra_cell_info (const int idx) const |
| Extra representation for the cell tags, to save time for calculating the isolation moment after building the list of cells per cluster. | |
| constexpr tag_type & | get_extra_cell_info (const int idx) |
| template<class NewT = tag_type> | |
| constexpr const NewT * | secondary_tag_array () const |
| template<class NewT = tag_type> | |
| constexpr NewT * | secondary_tag_array () |
| template<class NewT = tag_type> | |
| constexpr const NewT & | secondary_tag_array (const int idx) const |
| template<class NewT = tag_type> | |
| constexpr NewT & | secondary_tag_array (const int idx) |
| template<class NewT = tag_type> | |
| constexpr const NewT * | tertiary_tag_array () const |
| template<class NewT = tag_type> | |
| constexpr NewT * | tertiary_tag_array () |
| template<class NewT = tag_type> | |
| constexpr const NewT & | tertiary_tag_array (const int idx) const |
| template<class NewT = tag_type> | |
| constexpr NewT & | tertiary_tag_array (const int idx) |
| constexpr bool | has_cells_per_cluster () const |
| constexpr bool | has_basic_info (const ClusterInformationState this_state) const |
| constexpr bool | has_basic_info () const |
| constexpr bool | has_moments () const |
Static Public Member Functions | |
| static constexpr bool | has_cells_per_cluster (const ClusterInformationState this_state) |
| static constexpr bool | has_moments (const ClusterInformationState this_state) |
Public Attributes | |
| float | clusterEnergy [NMaxClusters] |
| float | clusterEt [NMaxClusters] |
| float | clusterEta [NMaxClusters] |
| float | clusterPhi [NMaxClusters] |
| int | seedCellIndex [NMaxClusters] |
| Invalid(ated) clusters have seedCellIndex < 0. | |
| int | cellsPrefixSum [NMaxClusters+1] |
| union { | |
| int indices [2 *NCaloCells] | |
| tag_type tags [NCaloCells] | |
| } | cells |
| float | cellWeights [2 *NCaloCells] |
| int | clusterIndices [2 *NCaloCells] |
| struct CaloRecGPU::ClusterInfoArr::ClusterMomentsArr | moments |
| ClusterInformationState | state |
| bool | has_deleted_clusters |
| int | number |
| int | number_cells |
cellsPrefixSum.
Contains the per-event information of the clusters, including both the kinematic variables and the moments.
In the latter case, we store cell index, cell weight and cluster index so that it is easy to iterate through all cells inside clusters.
Also includes an easy look-up for the index of the seed cell, with clusters with seed cells less than zero being invalid; this is useful for e. g. applying cuts on the GPU without requiring re-sorting everything. Cluster assignment depends on the ClusterInformationState as reported by the ClusterBaseInfo: we may have an array of tags (which assumes primary_weight = 1 - secondary_weight) or an actual jagged vector expressed by the
Definition at line 481 of file EventInfoDefinitions.h.
|
inlineconstexpr |
F receives the array associated with the moment and any additional arguments.
Given that the moments are of different types, it must be a functor or lambda ready to deal with that!
Definition at line 719 of file EventInfoDefinitions.h.
|
inlineconstexpr |
F receives the array associated with the moment and any additional arguments.
Given that the moments are of different types, it must be a functor or lambda ready to deal with that!
Definition at line 708 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Definition at line 754 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Extra representation for the cell tags, to save time for calculating the isolation moment after building the list of cells per cluster.
Can (and should) also be used if any other processing (before calculating the relevant moments...) needs some sort of cell -> cluster mapping.
Definition at line 730 of file EventInfoDefinitions.h.
|
inlineconstexprinherited |
Definition at line 442 of file EventInfoDefinitions.h.
|
inlineconstexprinherited |
Definition at line 425 of file EventInfoDefinitions.h.
|
inlineconstexprinherited |
Definition at line 420 of file EventInfoDefinitions.h.
|
inlinestaticconstexprinherited |
Definition at line 403 of file EventInfoDefinitions.h.
|
inlineconstexprinherited |
Definition at line 460 of file EventInfoDefinitions.h.
|
inlinestaticconstexprinherited |
Definition at line 447 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Definition at line 784 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Definition at line 779 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Definition at line 794 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Definition at line 789 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Definition at line 805 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Definition at line 800 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Definition at line 815 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Definition at line 810 of file EventInfoDefinitions.h.
| union { ... } CaloRecGPU::ClusterInfoArr::cells |
| int CaloRecGPU::ClusterInfoArr::cellsPrefixSum[NMaxClusters+1] |
Definition at line 492 of file EventInfoDefinitions.h.
| float CaloRecGPU::ClusterInfoArr::cellWeights[2 *NCaloCells] |
Definition at line 500 of file EventInfoDefinitions.h.
| float CaloRecGPU::ClusterInfoArr::clusterEnergy[NMaxClusters] |
Definition at line 483 of file EventInfoDefinitions.h.
| float CaloRecGPU::ClusterInfoArr::clusterEt[NMaxClusters] |
Definition at line 484 of file EventInfoDefinitions.h.
| float CaloRecGPU::ClusterInfoArr::clusterEta[NMaxClusters] |
Definition at line 485 of file EventInfoDefinitions.h.
| int CaloRecGPU::ClusterInfoArr::clusterIndices[2 *NCaloCells] |
Definition at line 502 of file EventInfoDefinitions.h.
| float CaloRecGPU::ClusterInfoArr::clusterPhi[NMaxClusters] |
Definition at line 486 of file EventInfoDefinitions.h.
|
inherited |
Definition at line 399 of file EventInfoDefinitions.h.
| int CaloRecGPU::ClusterInfoArr::indices[2 *NCaloCells] |
Definition at line 496 of file EventInfoDefinitions.h.
| struct CaloRecGPU::ClusterInfoArr::ClusterMomentsArr CaloRecGPU::ClusterInfoArr::moments |
|
inherited |
Definition at line 400 of file EventInfoDefinitions.h.
|
inherited |
Definition at line 401 of file EventInfoDefinitions.h.
| int CaloRecGPU::ClusterInfoArr::seedCellIndex[NMaxClusters] |
Invalid(ated) clusters have seedCellIndex < 0.
This is the index within the collection, not the hash ID.
Definition at line 490 of file EventInfoDefinitions.h.
|
inherited |
Definition at line 398 of file EventInfoDefinitions.h.
| tag_type CaloRecGPU::ClusterInfoArr::tags[NCaloCells] |
Definition at line 497 of file EventInfoDefinitions.h.