ATLAS Offline Software
Loading...
Searching...
No Matches
CaloRecGPU::ClusterBaseInfo Class Reference

Contains the fundamental information that allows interacting with ClusterInfoArr so that it is easier to (pre-)transfer it. More...

#include <EventInfoDefinitions.h>

Inheritance diagram for CaloRecGPU::ClusterBaseInfo:
Collaboration diagram for CaloRecGPU::ClusterBaseInfo:

Public Member Functions

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

ClusterInformationState state
bool has_deleted_clusters
int number
int number_cells

Detailed Description

Contains the fundamental information that allows interacting with ClusterInfoArr so that it is easier to (pre-)transfer it.

Definition at line 396 of file EventInfoDefinitions.h.

Member Function Documentation

◆ has_basic_info() [1/2]

bool CaloRecGPU::ClusterBaseInfo::has_basic_info ( ) const
inlineconstexpr

Definition at line 442 of file EventInfoDefinitions.h.

443 {
444 return has_basic_info(state);
445 }
constexpr bool has_basic_info() const
ClusterInformationState state

◆ has_basic_info() [2/2]

bool CaloRecGPU::ClusterBaseInfo::has_basic_info ( const ClusterInformationState this_state) const
inlineconstexpr

Definition at line 425 of file EventInfoDefinitions.h.

◆ has_cells_per_cluster() [1/2]

bool CaloRecGPU::ClusterBaseInfo::has_cells_per_cluster ( ) const
inlineconstexpr

Definition at line 420 of file EventInfoDefinitions.h.

421 {
423 }
constexpr bool has_cells_per_cluster() const

◆ has_cells_per_cluster() [2/2]

constexpr bool CaloRecGPU::ClusterBaseInfo::has_cells_per_cluster ( const ClusterInformationState this_state)
inlinestaticconstexpr

Definition at line 403 of file EventInfoDefinitions.h.

404 {
405 switch(this_state)
406 {
408 return true;
410 return true;
412 return true;
414 return true;
415 default:
416 return false;
417 }
418 }

◆ has_moments() [1/2]

bool CaloRecGPU::ClusterBaseInfo::has_moments ( ) const
inlineconstexpr

Definition at line 460 of file EventInfoDefinitions.h.

461 {
462 return has_moments(state);
463 }
constexpr bool has_moments() const

◆ has_moments() [2/2]

constexpr bool CaloRecGPU::ClusterBaseInfo::has_moments ( const ClusterInformationState this_state)
inlinestaticconstexpr

Definition at line 447 of file EventInfoDefinitions.h.

448 {
449 switch(this_state)
450 {
452 return true;
454 return true;
455 default:
456 return false;
457 }
458 }

Member Data Documentation

◆ has_deleted_clusters

bool CaloRecGPU::ClusterBaseInfo::has_deleted_clusters

Definition at line 399 of file EventInfoDefinitions.h.

◆ number

int CaloRecGPU::ClusterBaseInfo::number

Definition at line 400 of file EventInfoDefinitions.h.

◆ number_cells

int CaloRecGPU::ClusterBaseInfo::number_cells

Definition at line 401 of file EventInfoDefinitions.h.

◆ state

ClusterInformationState CaloRecGPU::ClusterBaseInfo::state

Definition at line 398 of file EventInfoDefinitions.h.


The documentation for this class was generated from the following file: