13#ifndef CALOREC_CALOTHINCELLSBYSAMPLINGALG_H
14#define CALOREC_CALOTHINCELLSBYSAMPLINGALG_H
35 using AthReentrantAlgorithm::AthReentrantAlgorithm;
48 virtual StatusCode
execute(
const EventContext& ctx)
const override;
60 {
this,
"StreamName",
"",
"Name of the stream being thinned" };
64 {
this,
"Cells",
"AllCalo",
"Cell container to thin." };
67 {
this,
"SamplingCellsName", {},
68 "List of names of samplings for which cells should be saved" };
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.
Helper class for offline cell identifiers.
Thin calorimeter cells by sampling.
StringProperty m_streamName
Name of the stream being thinned.
const CaloCell_ID * m_caloID
Calo ID helper.
StatusCode decodeSamplings()
Decode the provided list of calorimeter samplings.
StringArrayProperty m_samplingNames
SG::ThinningHandleKey< CaloCellContainer > m_cells
Cell container to thin.
std::vector< IdentifierHash > m_cellHashes
Decoded list of cells to save.
virtual StatusCode initialize() override
Gaudi initialize method.
virtual StatusCode execute(const EventContext &ctx) const override
Execute the algorithm.
HandleKey object for adding thinning to an object.