![]() |
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 480 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 717 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 707 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Definition at line 752 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 728 of file EventInfoDefinitions.h.
|
inlineconstexprinherited |
Definition at line 441 of file EventInfoDefinitions.h.
|
inlineconstexprinherited |
Definition at line 424 of file EventInfoDefinitions.h.
|
inlineconstexprinherited |
Definition at line 419 of file EventInfoDefinitions.h.
|
inlinestaticconstexprinherited |
Definition at line 402 of file EventInfoDefinitions.h.
|
inlineconstexprinherited |
Definition at line 459 of file EventInfoDefinitions.h.
|
inlinestaticconstexprinherited |
Definition at line 446 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Definition at line 782 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Definition at line 777 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Definition at line 792 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Definition at line 787 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Definition at line 803 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Definition at line 798 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Definition at line 813 of file EventInfoDefinitions.h.
|
inlineconstexpr |
Definition at line 808 of file EventInfoDefinitions.h.
| union { ... } CaloRecGPU::ClusterInfoArr::cells |
| int CaloRecGPU::ClusterInfoArr::cellsPrefixSum[NMaxClusters+1] |
Definition at line 491 of file EventInfoDefinitions.h.
| float CaloRecGPU::ClusterInfoArr::cellWeights[2 *NCaloCells] |
Definition at line 499 of file EventInfoDefinitions.h.
| float CaloRecGPU::ClusterInfoArr::clusterEnergy[NMaxClusters] |
Definition at line 482 of file EventInfoDefinitions.h.
| float CaloRecGPU::ClusterInfoArr::clusterEt[NMaxClusters] |
Definition at line 483 of file EventInfoDefinitions.h.
| float CaloRecGPU::ClusterInfoArr::clusterEta[NMaxClusters] |
Definition at line 484 of file EventInfoDefinitions.h.
| int CaloRecGPU::ClusterInfoArr::clusterIndices[2 *NCaloCells] |
Definition at line 501 of file EventInfoDefinitions.h.
| float CaloRecGPU::ClusterInfoArr::clusterPhi[NMaxClusters] |
Definition at line 485 of file EventInfoDefinitions.h.
|
inherited |
Definition at line 398 of file EventInfoDefinitions.h.
| int CaloRecGPU::ClusterInfoArr::indices[2 *NCaloCells] |
Definition at line 495 of file EventInfoDefinitions.h.
| struct CaloRecGPU::ClusterInfoArr::ClusterMomentsArr CaloRecGPU::ClusterInfoArr::moments |
|
inherited |
Definition at line 399 of file EventInfoDefinitions.h.
|
inherited |
Definition at line 400 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 489 of file EventInfoDefinitions.h.
|
inherited |
Definition at line 397 of file EventInfoDefinitions.h.
| tag_type CaloRecGPU::ClusterInfoArr::tags[NCaloCells] |
Definition at line 496 of file EventInfoDefinitions.h.