ATLAS Offline Software
Loading...
Searching...
No Matches
EgammaSamplingPatternDecoratorAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8
9#ifndef EGAMMA_ANALYSIS_ALGORITHMS__EGAMMA_SAMPLING_PATTERN_DECORATOR_ALG_H
10#define EGAMMA_ANALYSIS_ALGORITHMS__EGAMMA_SAMPLING_PATTERN_DECORATOR_ALG_H
11
17
18namespace CP
19{
27
29 {
31 public:
33 virtual StatusCode initialize () override;
34 virtual StatusCode execute (const EventContext& ctx) const override;
35
36
37 private:
38
40 SG::ReadHandleKey<xAOD::CaloClusterContainer> m_clusterContainer {this, "clusterContainer", "egammaClusters", "the name of the e-gamma cluster container"};
41
43 SG::WriteDecorHandleKey<xAOD::CaloClusterContainer> m_samplingPattern {this, "samplingPattern", "egammaClusters.samplingPattern", "the samplingPattern decoration"};
44 };
45}
46
47#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
an algorithm decorating samplingPattern on e-gamma clusters
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterContainer
the e-gamma cluster container
SG::WriteDecorHandleKey< xAOD::CaloClusterContainer > m_samplingPattern
the sampling pattern decoration
the base class for EventLoop reentrant algorithms
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Select isolated Photons, Electrons and Muons.