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 395 of file EventInfoDefinitions.h.

Member Function Documentation

◆ has_basic_info() [1/2]

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

Definition at line 441 of file EventInfoDefinitions.h.

442 {
443 return has_basic_info(state);
444 }
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 424 of file EventInfoDefinitions.h.

◆ has_cells_per_cluster() [1/2]

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

Definition at line 419 of file EventInfoDefinitions.h.

420 {
422 }
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 402 of file EventInfoDefinitions.h.

403 {
404 switch(this_state)
405 {
407 return true;
409 return true;
411 return true;
413 return true;
414 default:
415 return false;
416 }
417 }

◆ has_moments() [1/2]

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

Definition at line 459 of file EventInfoDefinitions.h.

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

◆ has_moments() [2/2]

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

Definition at line 446 of file EventInfoDefinitions.h.

447 {
448 switch(this_state)
449 {
451 return true;
453 return true;
454 default:
455 return false;
456 }
457 }

Member Data Documentation

◆ has_deleted_clusters

bool CaloRecGPU::ClusterBaseInfo::has_deleted_clusters

Definition at line 398 of file EventInfoDefinitions.h.

◆ number

int CaloRecGPU::ClusterBaseInfo::number

Definition at line 399 of file EventInfoDefinitions.h.

◆ number_cells

int CaloRecGPU::ClusterBaseInfo::number_cells

Definition at line 400 of file EventInfoDefinitions.h.

◆ state

ClusterInformationState CaloRecGPU::ClusterBaseInfo::state

Definition at line 397 of file EventInfoDefinitions.h.


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