|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef CALORECGPU_BASICGPUTOATHENAIMPORTER_H
10 #define CALORECGPU_BASICGPUTOATHENAIMPORTER_H
51 Gaudi::Property<bool>
m_keepGPUData {
this,
"KeepGPUData",
true,
"Keep GPU allocated data"};
57 Gaudi::Property<bool>
m_useCPUPropertiesCalculation {
this,
"UseCPUClusterPropertiesCalculation",
false,
"Use CaloClusterKineHelper::calculateKine instead of GPU-calculated cluster properties"};
65 Gaudi::Property<std::string>
m_clusterSizeString {
this,
"ClusterSize",
"Topo_420",
"The size/type of the clusters"};
71 Gaudi::Property<std::vector<int>>
m_missingCellsToFill {
this,
"MissingCellsToFill", {},
"Force fill these cells as disabled on empty containers."};
81 Gaudi::Property<bool>
m_saveUncalibrated {
this,
"SaveUncalibratedSignalState",
true,
"Use CaloClusterKineHelper::calculateKine instead of GPU-calculated cluster properties"};
85 #endif //CALORECGPU_BASICGPUTOATHENAIMPORTER_H
Property holding a SG store/key/clid from which a ReadHandle is made.
ClusterSize
Enumeration to identify different cluster sizes.
Gaudi::Property< std::string > m_clusterSizeString
Cluster size. Should be set accordingly to the threshold.
virtual StatusCode convert(const EventContext &ctx, const CaloRecGPU::ConstantDataHolder &constant_data, CaloRecGPU::EventDataHolder &event_data, xAOD::CaloClusterContainer *cluster_collection) const override
Fill the @xAODCaloClusterContainer with the relevant information.
Gaudi::Property< bool > m_keepGPUData
If true, do not delete the GPU data representation.
Base class to provide some basic common infrastructure for timing measurements...
xAOD::CaloCluster::ClusterSize m_clusterSize
SG::ReadHandleKey< CaloCellContainer > m_cellsKey
vector of names of the cell containers to use as input.
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).
::StatusCode StatusCode
StatusCode definition for legacy code.
BasicGPUToAthenaImporter(const std::string &type, const std::string &name, const IInterface *parent)
Standard tool to convert the GPU data representation back to CPU.
Helper class for offline cell identifiers.
Gaudi::Property< bool > m_useCPUPropertiesCalculation
if set to true, cluster properties are (re-)calculated using CaloClusterKineHelper::calculateKine.
virtual StatusCode finalize() override
const CaloCell_ID * m_calo_id
Pointer to Calo ID Helper.
virtual StatusCode initialize() override
virtual ~BasicGPUToAthenaImporter()=default
Gaudi::Property< bool > m_saveUncalibrated
if set to true, the uncalibrated state is saved when importing the clusters.