ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloRecGPU
src
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
10
#include "
AthenaBaseComps/AthAlgTool.h
"
11
#include "
CaloRecGPU/CaloClusterGPUProcessor.h
"
12
#include <string>
13
#include <atomic>
14
21
22
class
CaloCellsCounterGPU
:
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
AthAlgTool.h
CaloClusterGPUProcessor.h
CaloCellsCounterGPU::m_cellThreshold
Gaudi::Property< float > m_cellThreshold
Value to consider for the seed threshold.
Definition
CaloCellsCounterGPU.h:73
CaloCellsCounterGPU::~CaloCellsCounterGPU
virtual ~CaloCellsCounterGPU()=default
CaloCellsCounterGPU::m_savePath
Gaudi::Property< std::string > m_savePath
The path specifying the folder to which the files should be saved.
Definition
CaloCellsCounterGPU.h:43
CaloCellsCounterGPU::CaloCellsCounterGPU
CaloCellsCounterGPU(const std::string &type, const std::string &name, const IInterface *parent)
Definition
CaloCellsCounterGPU.cxx:16
CaloCellsCounterGPU::m_fileSuffix
Gaudi::Property< std::string > m_fileSuffix
The suffix of the saved files.
Definition
CaloCellsCounterGPU.h:53
CaloCellsCounterGPU::execute
virtual StatusCode execute(const EventContext &ctx, const CaloRecGPU::ConstantDataHolder &constant_data, CaloRecGPU::EventDataHolder &event_data, void *temporary_buffer) const override
Definition
CaloCellsCounterGPU.cxx:50
CaloCellsCounterGPU::m_seedThreshold
Gaudi::Property< float > m_seedThreshold
Value to consider for the seed threshold.
Definition
CaloCellsCounterGPU.h:63
CaloCellsCounterGPU::m_growThreshold
Gaudi::Property< float > m_growThreshold
Value to consider for the seed threshold.
Definition
CaloCellsCounterGPU.h:68
CaloCellsCounterGPU::m_filePrefix
Gaudi::Property< std::string > m_filePrefix
The prefix of the saved files.
Definition
CaloCellsCounterGPU.h:48
CaloCellsCounterGPU::m_numWidth
Gaudi::Property< unsigned int > m_numWidth
The number of digits to reserve for the events.
Definition
CaloCellsCounterGPU.h:58
CaloRecGPU::ConstantDataHolder
Holds CPU and GPU versions of the geometry and cell noise information, which are assumed to be consta...
Definition
DataHolders.h:27
CaloRecGPU::EventDataHolder
Holds the mutable per-event information (clusters and cells) and provides utilities to convert betwee...
Definition
DataHolders.h:73
type
Generated on
for ATLAS Offline Software by
1.17.0