ATLAS Offline Software
Loading...
Searching...
No Matches
CaloCellsCounterGPU.h
Go to the documentation of this file.
1//
2// Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3//
4// Dear emacs, this is -*- c++ -*-
5//
6
7#ifndef CALORECGPU_CALOCELLSCOUNTERGPU_H
8#define CALORECGPU_CALOCELLSCOUNTERGPU_H
9
12#include <string>
13#include <atomic>
14
21
23 public extends<AthAlgTool, CaloClusterGPUProcessor>
24{
25 public:
26
27 CaloCellsCounterGPU(const std::string & type, const std::string & name, const IInterface * parent);
28
29 virtual StatusCode execute (const EventContext & ctx,
30 const CaloRecGPU::ConstantDataHolder & constant_data,
31 CaloRecGPU::EventDataHolder & event_data,
32 void * temporary_buffer) const override;
33
34 virtual ~CaloCellsCounterGPU() = default;
35
36 private:
37
38
43 Gaudi::Property<std::string> m_savePath{this, "SavePath", "./cell_counts", "Path to where the files should be saved"};
44
48 Gaudi::Property<std::string> m_filePrefix{this, "FilePrefix", "", "Prefix of the saved files"};
49
53 Gaudi::Property<std::string> m_fileSuffix{this, "FileSuffix", "", "Suffix of the saved files"};
54
58 Gaudi::Property<unsigned int> m_numWidth{this, "NumberWidth", 9, "The number of digits to reserve for the events"};
59
63 Gaudi::Property<float> m_seedThreshold {this, "SeedThresholdOnEorAbsEinSigma", 4., "Seed threshold (in units of noise Sigma)"};
64
68 Gaudi::Property<float> m_growThreshold {this, "NeighborThresholdOnEorAbsEinSigma", 2., "Neighbor (grow) threshold (in units of noise Sigma)"};
69
73 Gaudi::Property<float> m_cellThreshold {this, "CellThresholdOnEorAbsEinSigma", 0., "Cell (terminal) threshold (in units of noise Sigma)"};
74
75
76};
77
78#endif //CALORECGPU_CALOCELLSCOUNTERGPU_H
Gaudi::Property< float > m_cellThreshold
Value to consider for the seed threshold.
virtual ~CaloCellsCounterGPU()=default
Gaudi::Property< std::string > m_savePath
The path specifying the folder to which the files should be saved.
CaloCellsCounterGPU(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< std::string > m_fileSuffix
The suffix of the saved files.
virtual StatusCode execute(const EventContext &ctx, const CaloRecGPU::ConstantDataHolder &constant_data, CaloRecGPU::EventDataHolder &event_data, void *temporary_buffer) const override
Gaudi::Property< float > m_seedThreshold
Value to consider for the seed threshold.
Gaudi::Property< float > m_growThreshold
Value to consider for the seed threshold.
Gaudi::Property< std::string > m_filePrefix
The prefix of the saved files.
Gaudi::Property< unsigned int > m_numWidth
The number of digits to reserve for the events.
Holds CPU and GPU versions of the geometry and cell noise information, which are assumed to be consta...
Definition DataHolders.h:27
Holds the mutable per-event information (clusters and cells) and provides utilities to convert betwee...
Definition DataHolders.h:73