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

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

#include <EventInfoDefinitions.h>

Inheritance diagram for CaloRecGPU::CellBaseInfo:
Collaboration diagram for CaloRecGPU::CellBaseInfo:

Public Member Functions

constexpr int get_number_of_cells (const bool is_complete=false) const

Public Attributes

bool complete
bool all_cells_valid
int number

Detailed Description

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

Definition at line 190 of file EventInfoDefinitions.h.

Member Function Documentation

◆ get_number_of_cells()

int CaloRecGPU::CellBaseInfo::get_number_of_cells ( const bool is_complete = false) const
inlineconstexpr

Definition at line 196 of file EventInfoDefinitions.h.

197 {
198 if (is_complete)
199 {
200 return NCaloCells;
201 }
202 else
203 {
204 return number;
205 }
206 }
constexpr int NCaloCells

Member Data Documentation

◆ all_cells_valid

bool CaloRecGPU::CellBaseInfo::all_cells_valid

Definition at line 193 of file EventInfoDefinitions.h.

◆ complete

bool CaloRecGPU::CellBaseInfo::complete

Definition at line 192 of file EventInfoDefinitions.h.

◆ number

int CaloRecGPU::CellBaseInfo::number

Definition at line 194 of file EventInfoDefinitions.h.


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