|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef CALORECGPU_TOPOAUTOMATONCLUSTERING_CUDA_H
8 #define CALORECGPU_TOPOAUTOMATONCLUSTERING_CUDA_H
22 using CaloRecGPU::Tag_1_1_12_32_18::Tag_1_1_12_32_18;
62 return tag.is_part_of_cluster();
72 return tag.is_valid();
82 return tag.is_invalid();
92 return tag.is_non_assigned_terminal();
102 return tag.is_non_assigned_grow();
112 return tag.is_seed();
122 return tag.is_grow_or_seed();
132 return tag.propagate();
162 return tag.counter();
172 return tag.clear_counter_and_no_merge();
187 return tag.can_merge();
197 return tag.cannot_merge();
207 return tag.clear_no_merge_flag();
296 const bool synchronize =
false,
303 const bool synchronize =
false,
310 const bool synchronize =
false,
314 #endif //CALORECGPU_TOPOAUTOMATONCLUSTERING_CUDA_H
constexpr bool uses_calorimeter_by_sampling(const int sampling) const
Checks if the calorimeter is used through the sampling to which the cell belongs.
static constexpr carrier propagate(const TACTag tag)
constexpr bool cannot_merge() const
static constexpr carrier make_terminal_tag()
constexpr bool get_second_flag() const
constexpr static carrier s_minimum_seed_tag
constexpr uint32_t SNR() const
void cellPairs(CaloRecGPU::EventDataHolder &holder, const CaloRecGPU::ConstantDataHolder &instance_data, const TACOptionsHolder &options, const IGPUKernelSizeOptimizer &optimizer, const bool synchronize=false, CaloRecGPU::CUDA_Helpers::CUDAStreamPtrHolder stream_to_use={})
bool completely_exclude_cut_seeds
constexpr static carrier s_grow_tag
static constexpr carrier make_seed_tag(const uint32_t cell, const uint32_t SNR_pattern, const bool can_merge_with_others=true)
constexpr carrier propagate() const
CaloRecGPU::tag_type secondary_array[CaloRecGPU::NCaloCells]
CaloRecGPU::Helpers::CPU_object< TopoAutomatonOptions > m_options
static constexpr uint32_t index(const TACTag tag)
constexpr static unsigned int s_12_bit_offset
Holds one objects of type \T in memory context Context.
constexpr bool can_merge() const
static constexpr uint32_t SNR(const TACTag tag)
constexpr uint32_t get_18_bits() const
static constexpr bool cannot_merge(const TACTag tag)
unsigned int valid_sampling_seed
unsigned int neighbour_options
static constexpr bool is_non_assigned_grow(const TACTag tag)
int cellID[CaloRecGPU::NMaxPairs]
unsigned int valid_calorimeter_by_sampling
constexpr uint32_t counter() const
void clusterGrowing(CaloRecGPU::EventDataHolder &holder, const CaloRecGPU::ConstantDataHolder &instance_data, const TACOptionsHolder &options, const IGPUKernelSizeOptimizer &optimizer, const bool synchronize=false, CaloRecGPU::CUDA_Helpers::CUDAStreamPtrHolder stream_to_use={})
constexpr bool uses_seed_sampling(const int sampling) const
constexpr static uint32_t s_start_counter
static constexpr bool is_invalid(const TACTag tag)
bool treat_L1_predicted_as_good
TagBase::carrier tag_type
static constexpr carrier clear_counter_and_no_merge(const TACTag tag)
constexpr carrier clear_no_merge_flag() const
constexpr static carrier s_tag_propagation_delta
void signalToNoise(CaloRecGPU::EventDataHolder &holder, const CaloRecGPU::ConstantDataHolder &instance_data, const TACOptionsHolder &options, const IGPUKernelSizeOptimizer &optimizer, const bool synchronize=false, CaloRecGPU::CUDA_Helpers::CUDAStreamPtrHolder stream_to_use={})
static constexpr bool can_merge(const TACTag tag)
static constexpr bool is_seed(const TACTag tag)
constexpr carrier unset_second_flag() const
constexpr static carrier s_12_bit_mask
constexpr bool is_non_assigned_terminal() const
static constexpr bool is_grow_or_seed(const TACTag tag)
constexpr static carrier s_second_flag_mask
float snr_threshold_for_keeping_cells
static constexpr bool is_non_assigned_terminal(const TACTag tag)
static constexpr carrier make_grow_tag()
int cell_to_cluster_map[CaloRecGPU::NCaloCells]
void sendToGPU(const bool clear_CPU=false)
static constexpr carrier make_generic_tag(const uint32_t bits_18, const uint32_t bits_32, const uint32_t bits_12, const bool flag_2, const bool flag_1)
constexpr bool is_invalid() const
int neighbourID[CaloRecGPU::NMaxPairs]
constexpr uint32_t get_12_bits() const
unsigned long long int seed_cell_table[CaloRecGPU::NMaxClusters]
constexpr bool is_grow_or_seed() const
bool keep_significant_cells
CaloRecGPU::TagBase::carrier carrier
constexpr static carrier s_18_bit_mask
static constexpr bool is_valid(const TACTag tag)
constexpr bool is_valid() const
constexpr static carrier s_no_can_merge_flag
constexpr uint32_t index() const
constexpr int NMaxClusters
CaloRecGPU::Helpers::CUDA_object< TopoAutomatonOptions > m_options_dev
static constexpr uint32_t counter(const TACTag tag)
constexpr static carrier s_terminal_tag
void register_kernels(IGPUKernelSizeOptimizer &optimizer)
constexpr carrier set_index(const uint32_t new_index) const
constexpr bool is_part_of_cluster() const
constexpr uint32_t get_32_bits() const
constexpr bool is_non_assigned_grow() const
static constexpr bool is_part_of_cluster(const TACTag tag)
constexpr bool is_seed() const
Interface for GPU kernel size optimization (allowing adjustment of kernel sizes to the properties of ...
bool limit_HECIW_and_FCal_neighs
static constexpr carrier clear_no_merge_flag(const TACTag tag)
constexpr carrier clear_counter_and_no_merge() const