ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
EgammaAnalysisAlgorithms
EgammaAnalysisAlgorithms
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
12
#include <
AnaAlgorithm/AnaReentrantAlgorithm.h
>
13
#include <
AsgDataHandles/ReadHandleKey.h
>
14
#include <
AsgDataHandles/WriteDecorHandleKey.h
>
15
#include <
AsgTools/PropertyWrapper.h
>
16
#include <
xAODCaloEvent/CaloClusterContainer.h
>
17
18
namespace
CP
19
{
27
28
class
EgammaSamplingPatternDecoratorAlg
final :
public
EL::AnaReentrantAlgorithm
29
{
31
public
:
32
using
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
;
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"
,
m_clusterContainer
,
"samplingPattern"
,
"the samplingPattern decoration"
};
44
};
45
}
46
47
#endif
AnaReentrantAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
CaloClusterContainer.h
PropertyWrapper.h
CP::EgammaSamplingPatternDecoratorAlg
an algorithm decorating samplingPattern on e-gamma clusters
Definition
EgammaSamplingPatternDecoratorAlg.h:29
CP::EgammaSamplingPatternDecoratorAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
EgammaSamplingPatternDecoratorAlg.cxx:35
CP::EgammaSamplingPatternDecoratorAlg::m_clusterContainer
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterContainer
the e-gamma cluster container
Definition
EgammaSamplingPatternDecoratorAlg.h:40
CP::EgammaSamplingPatternDecoratorAlg::m_samplingPattern
SG::WriteDecorHandleKey< xAOD::CaloClusterContainer > m_samplingPattern
the sampling pattern decoration
Definition
EgammaSamplingPatternDecoratorAlg.h:43
CP::EgammaSamplingPatternDecoratorAlg::initialize
virtual StatusCode initialize() override
Definition
EgammaSamplingPatternDecoratorAlg.cxx:25
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition
AnaReentrantAlgorithm.h:51
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaReentrantAlgorithm.cxx:29
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
Generated on
for ATLAS Offline Software by
1.17.0