9#ifndef CALORECGPU_BASICGPUTOATHENAIMPORTER_H
10#define CALORECGPU_BASICGPUTOATHENAIMPORTER_H
30 public extends<AthAlgTool, ICaloClusterGPUOutputTransformer>,
public CaloGPUTimed
41 virtual StatusCode
finalize()
override;
51 Gaudi::Property<bool>
m_useCPUPropertiesCalculation {
this,
"UseCPUClusterPropertiesCalculation",
false,
"Use CaloClusterKineHelper::calculateKine instead of GPU-calculated cluster properties"};
59 Gaudi::Property<std::string>
m_clusterSizeString {
this,
"ClusterSize",
"Topo_420",
"The size/type of the clusters"};
65 Gaudi::Property<std::vector<int>>
m_missingCellsToFill {
this,
"MissingCellsToFill", {},
"Force fill these cells as disabled on empty containers."};
75 Gaudi::Property<bool>
m_saveUncalibrated {
this,
"SaveUncalibratedSignalState",
true,
"Use CaloClusterKineHelper::calculateKine instead of GPU-calculated cluster properties"};
Property holding a SG store/key/clid from which a ReadHandle is made.
const CaloCell_ID * m_calo_id
Pointer to Calo ID Helper.
Gaudi::Property< bool > m_useCPUPropertiesCalculation
if set to true, cluster properties are (re-)calculated using CaloClusterKineHelper::calculateKine.
xAOD::CaloCluster::ClusterSize m_clusterSize
BasicGPUToAthenaImporter(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode initialize() override
virtual StatusCode finalize() override
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
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).
virtual ~BasicGPUToAthenaImporter()=default
Gaudi::Property< bool > m_saveUncalibrated
if set to true, the uncalibrated state is saved when importing the clusters.
SG::ReadHandleKey< CaloCellContainer > m_cellsKey
vector of names of the cell containers to use as input.
Helper class for offline cell identifiers.
Holds CPU and GPU versions of the geometry and cell noise information, which are assumed to be consta...
Holds the mutable per-event information (clusters and cells) and provides utilities to convert betwee...
Property holding a SG store/key/clid from which a ReadHandle is made.
ClusterSize
Enumeration to identify different cluster sizes.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.