ATLAS Offline Software
Loading...
Searching...
No Matches
CaloClusterSnapshot.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5//Dear emacs, this is -*-c++-*-
6#ifndef CALOREC_CALOCLUSTERSNAPSHOT_H
7#define CALOREC_CALOCLUSTERSNAPSHOT_H
8
12
14 public:
15
16 // constructor
17 CaloClusterSnapshot(const std::string& type, const std::string& name,
18 const IInterface* parent);
19 // destructor
20 virtual ~CaloClusterSnapshot() override;
21
23 virtual StatusCode initialize() override;
24 virtual StatusCode execute(const EventContext& ctx,
25 xAOD::CaloClusterContainer* ) const override;
26
27 private:
28 // properties
31
33
34 std::string m_finalContName;
35
36};
37
38#endif
39
40
41
42
43
44
45
46
47
Base class for cluster processing tools called from CaloClusterMaker.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *) const override
Execute on an entire collection of clusters.
SG::WriteHandleKey< CaloClusterCellLinkContainer > m_cellLinkOutputKey
virtual ~CaloClusterSnapshot() override
virtual StatusCode initialize() override
CaloClusterSnapshot(const std::string &type, const std::string &name, const IInterface *parent)
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_outputKey
Property holding a SG store/key/clid from which a WriteHandle is made.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.