ATLAS Offline Software
Loading...
Searching...
No Matches
CaloClustersCopier.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef HIGLOBAL_CALOTOWERSCOPIER_H
5#define HIGLOBAL_CALOTOWERSCOPIER_H
6
7// Framework includes
11#include "AthenaKernel/Units.h"
12// STL includes
13#include <string>
14
21public:
22 CaloClustersCopier(const std::string& name, ISvcLocator* pSvcLocator);
23 virtual ~CaloClustersCopier() override;
24
25 virtual StatusCode initialize() override;
26 virtual StatusCode execute(const EventContext& context) const override;
27 virtual StatusCode finalize() override;
28
29private:
30 Gaudi::Property<float> m_fcalEtCut{this, "FCalEtCut", 60*Athena::Units::GeV, "Copy clusters only if FCal ET energy is below this value"};
31 SG::ReadHandleKey<xAOD::HIEventShapeContainer> m_HIEventShapeKey {this, "HIEventShapeKey", "HIEventShape"};
32 SG::ReadHandleKey<xAOD::CaloClusterContainer> m_inputClustersKey {this, "InputClustersKey", "CaloCalTopoClusters"};
33 SG::WriteHandleKey<xAOD::CaloClusterContainer> m_outputClustersKey {this, "OutputClustersKey", "PeripheralCaloCalTopoClusters"};
34
35};
36
37#endif // HIGLOBAL_CALOTOWERSCOPIER_H
Wrapper to avoid constant divisions when using units.
An algorithm that can be simultaneously executed in multiple threads.
CaloClustersCopier(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
SG::ReadHandleKey< xAOD::HIEventShapeContainer > m_HIEventShapeKey
virtual StatusCode execute(const EventContext &context) const override
Gaudi::Property< float > m_fcalEtCut
virtual StatusCode finalize() override
virtual ~CaloClustersCopier() override
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_outputClustersKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_inputClustersKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.