13#ifndef CALOREC_CALOTHINCELLSBYCLUSTER_H
14#define CALOREC_CALOTHINCELLSBYCLUSTER_H
36 using AthReentrantAlgorithm::AthReentrantAlgorithm;
49 virtual StatusCode
execute(
const EventContext& ctx)
const override;
61 {
this,
"StreamName",
"",
"Name of the stream being thinned" };
65 {
this,
"Cells",
"AllCalo",
"Cell container to thin." };
69 {
this,
"Clusters",
"",
"Container of clusters for which cells should be saved." };
73 this,
"CaloClusterCellLinks",
"",
74 "Container of CaloClusterCellLinks corresponding to the clusters for which we save cells."};
77 {
this,
"SamplingCellsName", {},
78 "List of names of samplings for which all cluster cells in a rectangular window should be saved" };
Definition of CaloDetDescrManager.
Property holding a SG store/key/clid from which a ReadHandle is made.
HandleKey object for adding thinning to an object.
An algorithm that can be simultaneously executed in multiple threads.
Thin calorimeter cells not associated with clusters.
std::vector< int > m_validSamplings
Decoded list of samplings.
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusters
Clusters to read.
SG::ThinningHandleKey< CaloClusterCellLinkContainer > m_clusterCellLinks
Calo Cell links for the clusters we keep cells for.
SG::ThinningHandleKey< CaloCellContainer > m_cells
Cell container to thin.
StringProperty m_streamName
Name of the stream being thinned.
virtual StatusCode initialize() override
Gaudi initialize method.
StatusCode decodeSamplings()
Decode the provided list of calorimeter samplings.
virtual StatusCode execute(const EventContext &ctx) const override
Execute the algorithm.
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
StringArrayProperty m_samplingNames
Property holding a SG store/key/clid from which a ReadHandle is made.
HandleKey object for adding thinning to an object.