ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloRec
src
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
9
#include "
CaloUtils/CaloClusterCollectionProcessor.h
"
10
#include "
CaloEvent/CaloClusterCellLinkContainer.h
"
11
#include "
AthenaBaseComps/AthAlgTool.h
"
12
13
class
CaloClusterSnapshot
:
public
AthAlgTool
,
virtual
public
CaloClusterCollectionProcessor
{
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
22
using
CaloClusterCollectionProcessor::execute
;
23
virtual
StatusCode
initialize
()
override
;
24
virtual
StatusCode
execute
(
const
EventContext& ctx,
25
xAOD::CaloClusterContainer
* )
const override
;
26
27
private
:
28
// properties
29
SG::WriteHandleKey<xAOD::CaloClusterContainer>
m_outputKey
;
30
SG::WriteHandleKey<CaloClusterCellLinkContainer>
m_cellLinkOutputKey
;
31
32
bool
m_setCrossLinks
;
33
34
std::string
m_finalContName
;
35
36
};
37
38
#endif
39
40
41
42
43
44
45
46
47
AthAlgTool.h
CaloClusterCellLinkContainer.h
CaloClusterCollectionProcessor.h
Base class for cluster processing tools called from CaloClusterMaker.
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
CaloClusterCollectionProcessor
Definition
CaloClusterCollectionProcessor.h:29
CaloClusterCollectionProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
CaloClusterSnapshot::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *) const override
Execute on an entire collection of clusters.
Definition
CaloClusterSnapshot.cxx:46
CaloClusterSnapshot::m_cellLinkOutputKey
SG::WriteHandleKey< CaloClusterCellLinkContainer > m_cellLinkOutputKey
Definition
CaloClusterSnapshot.h:30
CaloClusterSnapshot::~CaloClusterSnapshot
virtual ~CaloClusterSnapshot() override
CaloClusterSnapshot::m_setCrossLinks
bool m_setCrossLinks
Definition
CaloClusterSnapshot.h:32
CaloClusterSnapshot::initialize
virtual StatusCode initialize() override
Definition
CaloClusterSnapshot.cxx:34
CaloClusterSnapshot::CaloClusterSnapshot
CaloClusterSnapshot(const std::string &type, const std::string &name, const IInterface *parent)
Definition
CaloClusterSnapshot.cxx:14
CaloClusterSnapshot::m_finalContName
std::string m_finalContName
Definition
CaloClusterSnapshot.h:34
CaloClusterSnapshot::m_outputKey
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_outputKey
Definition
CaloClusterSnapshot.h:29
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
xAOD::CaloClusterContainer
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloClusterContainer.h:17
type
Generated on
for ATLAS Offline Software by
1.17.0