ATLAS Offline Software
Classes | Public Member Functions | Public Attributes | List of all members
TASplitting::TopoAutomatonSplittingTemporaries Struct Reference

#include <TopoAutomatonSplittingImpl.h>

Collaboration diagram for TASplitting::TopoAutomatonSplittingTemporaries:

Classes

struct  PairsArr
 

Public Member Functions

template<size_t i = 0, class Type = float>
constexpr const Typeget_cells_extra_array () const
 
template<size_t i = 0, class Type = float>
constexpr Typeget_cells_extra_array ()
 
template<size_t i = 0, class Type = float>
constexpr const Typeget_cells_extra_array (const int j) const
 
template<size_t i = 0, class Type = float>
constexpr Typeget_cells_extra_array (const int j)
 
template<size_t i = 0, class Type = float>
constexpr const Typeget_cluster_extra_array () const
 
template<size_t i = 0, class Type = float>
constexpr Typeget_cluster_extra_array ()
 
template<size_t i = 0, class Type = float>
constexpr const Typeget_cluster_extra_array (const int j) const
 
template<size_t i = 0, class Type = float>
constexpr Typeget_cluster_extra_array (const int j)
 

Public Attributes

CaloRecGPU::tag_type secondary_array [CaloRecGPU::NCaloCells]
 
CaloRecGPU::tag_type tertiary_array [CaloRecGPU::NCaloCells]
 
int original_cluster_map [CaloRecGPU::NMaxClusters]
 
int cell_to_cluster_map [CaloRecGPU::NCaloCells]
 
PairsArr pairs
 
int reset_counters [2]
 
int continue_flag
 
int stop_flag
 

Detailed Description

Definition at line 326 of file TopoAutomatonSplittingImpl.h.

Member Function Documentation

◆ get_cells_extra_array() [1/4]

template<size_t i = 0, class Type = float>
constexpr Type* TASplitting::TopoAutomatonSplittingTemporaries::get_cells_extra_array ( )
inlineconstexpr

Definition at line 390 of file TopoAutomatonSplittingImpl.h.

391  {
392  static_assert((i + 1) * sizeof(Type) * CaloRecGPU::NCaloCells <= sizeof(TopoAutomatonSplittingTemporaries),
393  "Cannot access outside of temporary bounds...");
394 
395  return ((Type *) ((void *) secondary_array)) + i * CaloRecGPU::NCaloCells;
396  }

◆ get_cells_extra_array() [2/4]

template<size_t i = 0, class Type = float>
constexpr const Type* TASplitting::TopoAutomatonSplittingTemporaries::get_cells_extra_array ( ) const
inlineconstexpr

Definition at line 381 of file TopoAutomatonSplittingImpl.h.

382  {
383  static_assert((i + 1) * sizeof(Type) * CaloRecGPU::NCaloCells <= sizeof(TopoAutomatonSplittingTemporaries),
384  "Cannot access outside of temporary bounds...");
385 
386  return ((Type *) ((void *) secondary_array)) + i * CaloRecGPU::NCaloCells;
387  }

◆ get_cells_extra_array() [3/4]

template<size_t i = 0, class Type = float>
constexpr Type& TASplitting::TopoAutomatonSplittingTemporaries::get_cells_extra_array ( const int  j)
inlineconstexpr

Definition at line 405 of file TopoAutomatonSplittingImpl.h.

406  {
407  return this->get_cells_extra_array<i, Type>()[j];
408  }

◆ get_cells_extra_array() [4/4]

template<size_t i = 0, class Type = float>
constexpr const Type& TASplitting::TopoAutomatonSplittingTemporaries::get_cells_extra_array ( const int  j) const
inlineconstexpr

Definition at line 399 of file TopoAutomatonSplittingImpl.h.

400  {
401  return this->get_cells_extra_array<i, Type>()[j];
402  }

◆ get_cluster_extra_array() [1/4]

template<size_t i = 0, class Type = float>
constexpr Type* TASplitting::TopoAutomatonSplittingTemporaries::get_cluster_extra_array ( )
inlineconstexpr

Definition at line 420 of file TopoAutomatonSplittingImpl.h.

421  {
422  static_assert((i + 1) * sizeof(Type) * CaloRecGPU::NMaxClusters <= sizeof(TopoAutomatonSplittingTemporaries),
423  "Cannot access outside of temporary bounds...");
424 
425  return ((Type *) ((void *) secondary_array)) + i * CaloRecGPU::NMaxClusters;
426  }

◆ get_cluster_extra_array() [2/4]

template<size_t i = 0, class Type = float>
constexpr const Type* TASplitting::TopoAutomatonSplittingTemporaries::get_cluster_extra_array ( ) const
inlineconstexpr

Definition at line 411 of file TopoAutomatonSplittingImpl.h.

412  {
413  static_assert((i + 1) * sizeof(Type) * CaloRecGPU::NMaxClusters <= sizeof(TopoAutomatonSplittingTemporaries),
414  "Cannot access outside of temporary bounds...");
415 
416  return ((Type *) ((void *) secondary_array)) + i * CaloRecGPU::NMaxClusters;
417  }

◆ get_cluster_extra_array() [3/4]

template<size_t i = 0, class Type = float>
constexpr Type& TASplitting::TopoAutomatonSplittingTemporaries::get_cluster_extra_array ( const int  j)
inlineconstexpr

Definition at line 435 of file TopoAutomatonSplittingImpl.h.

436  {
437  return this->get_cluster_extra_array<i, Type>()[j];
438  }

◆ get_cluster_extra_array() [4/4]

template<size_t i = 0, class Type = float>
constexpr const Type& TASplitting::TopoAutomatonSplittingTemporaries::get_cluster_extra_array ( const int  j) const
inlineconstexpr

Definition at line 429 of file TopoAutomatonSplittingImpl.h.

430  {
431  return this->get_cluster_extra_array<i, Type>()[j];
432  }

Member Data Documentation

◆ cell_to_cluster_map

int TASplitting::TopoAutomatonSplittingTemporaries::cell_to_cluster_map[CaloRecGPU::NCaloCells]

Definition at line 334 of file TopoAutomatonSplittingImpl.h.

◆ continue_flag

int TASplitting::TopoAutomatonSplittingTemporaries::continue_flag

Definition at line 369 of file TopoAutomatonSplittingImpl.h.

◆ original_cluster_map

int TASplitting::TopoAutomatonSplittingTemporaries::original_cluster_map[CaloRecGPU::NMaxClusters]

Definition at line 332 of file TopoAutomatonSplittingImpl.h.

◆ pairs

PairsArr TASplitting::TopoAutomatonSplittingTemporaries::pairs

Definition at line 365 of file TopoAutomatonSplittingImpl.h.

◆ reset_counters

int TASplitting::TopoAutomatonSplittingTemporaries::reset_counters[2]

Definition at line 367 of file TopoAutomatonSplittingImpl.h.

◆ secondary_array

CaloRecGPU::tag_type TASplitting::TopoAutomatonSplittingTemporaries::secondary_array[CaloRecGPU::NCaloCells]

Definition at line 328 of file TopoAutomatonSplittingImpl.h.

◆ stop_flag

int TASplitting::TopoAutomatonSplittingTemporaries::stop_flag

Definition at line 371 of file TopoAutomatonSplittingImpl.h.

◆ tertiary_array

CaloRecGPU::tag_type TASplitting::TopoAutomatonSplittingTemporaries::tertiary_array[CaloRecGPU::NCaloCells]

Definition at line 330 of file TopoAutomatonSplittingImpl.h.


The documentation for this struct was generated from the following file:
lumiFormat.i
int i
Definition: lumiFormat.py:85
CaloRecGPU::NCaloCells
constexpr int NCaloCells
Definition: BaseDefinitions.h:13
xAODType
Definition: ObjectType.h:13
TASplitting::TopoAutomatonSplittingTemporaries::secondary_array
CaloRecGPU::tag_type secondary_array[CaloRecGPU::NCaloCells]
Definition: TopoAutomatonSplittingImpl.h:328
CaloRecGPU::NMaxClusters
constexpr int NMaxClusters
Definition: BaseDefinitions.h:28