7#ifndef THINNINGUTILS_ThinNegativeEnergyCaloClustersAlg_H
8#define THINNINGUTILS_ThinNegativeEnergyCaloClustersAlg_H 1
16#include "GaudiKernel/ServiceHandle.h"
17#include "GaudiKernel/ToolHandle.h"
30 ISvcLocator* pSvcLocator);
36 virtual StatusCode
initialize() override final;
42 virtual StatusCode
finalize() override final;
49 "Name of the stream for which thinning is being done."
55 "ThinNegativeEnergyCaloClusters",
57 "Should the thinning of negative energy calo clusters be run?"
64 "CaloCalTopoClusters",
65 "StoreGate key for the CaloClustersContainer to be thinned"
HandleKey object for adding thinning to an object.
An algorithm that can be simultaneously executed in multiple threads.
HandleKey object for adding thinning to an object.
BooleanProperty m_doThinning
Should the thinning run?
StringProperty m_streamName
virtual StatusCode initialize() override final
Athena algorithm's initalize hook.
ThinNegativeEnergyCaloClustersAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode finalize() override final
Athena algorithm's finalize hook.
virtual ~ThinNegativeEnergyCaloClustersAlg()=default
Destructor:
std::atomic< unsigned long > m_nCaloClustersThinned
std::atomic< unsigned long > m_nCaloClustersProcessed
SG::ThinningHandleKey< xAOD::CaloClusterContainer > m_caloClustersKey
Names of the containers to thin.
StatusCode execute(const EventContext &ctx) const override final
Athena algorithm's execute hook.
std::atomic< unsigned long > m_nEventsProcessed
Counters.