|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef CALORECGPU_BASICEVENTDATAGPUEXPORTER_H
8 #define CALORECGPU_BASICEVENTDATAGPUEXPORTER_H
52 Gaudi::Property<bool>
m_keepCPUData {
this,
"KeepCPUData",
true,
"Keep CPU version of GPU data format"};
64 Gaudi::Property<bool>
m_considerSharedCells {
this,
"ConsiderSharedCells",
false,
"Take into account the possibility of a cell being shared between clusters."};
68 Gaudi::Property<std::vector<int>>
m_missingCellsToFill {
this,
"MissingCellsToFill", {},
"Force fill these cells as disabled on empty containers."};
81 #endif //CALORECGPU_BASICEVENTDATAGPUEXPORTER_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Property< std::vector< int > > m_missingCellsToFill
Cell indices to fill as disabled cells (useful if the cell vector is always missing the same cells).
SG::ReadHandleKey< CaloCellContainer > m_cellsKey
vector of names of the cell containers to use as input.
virtual ~BasicEventDataGPUExporter()=default
Gaudi::Property< bool > m_considerSharedCells
If true, into account the possibility of a cell being shared between clusters.
Standard tool to export cell energy and gain to the GPU.
Base class to provide some basic common infrastructure for timing measurements...
virtual StatusCode finalize() override
BasicEventDataGPUExporter(const std::string &type, const std::string &name, const IInterface *parent)
const CaloCell_ID * m_calo_id
Pointer to Calo ID Helper.
::StatusCode StatusCode
StatusCode definition for legacy code.
Helper class for offline cell identifiers.
Gaudi::Property< bool > m_keepCPUData
If true, do not delete the CPU version of the GPU-friendly data representation.
virtual StatusCode convert(const EventContext &ctx, const CaloRecGPU::ConstantDataHolder &constant_data, const xAOD::CaloClusterContainer *cluster_collection, CaloRecGPU::EventDataHolder &event_data) const override
Fill the CaloRecGPU::EventDataHolder with the relevant information.
virtual StatusCode initialize() override