ATLAS Offline Software
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
CaloClusterSnapshot::CaloClusterSnapshot
CaloClusterSnapshot(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
CaloClusterSnapshot.cxx:14
CaloClusterCollectionProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
CaloClusterSnapshot::m_finalContName
std::string m_finalContName
Definition:
CaloClusterSnapshot.h:34
CaloClusterCollectionProcessor
Definition:
CaloClusterCollectionProcessor.h:32
CaloClusterSnapshot::m_setCrossLinks
bool m_setCrossLinks
Definition:
CaloClusterSnapshot.h:32
CaloClusterSnapshot::initialize
virtual StatusCode initialize() override
Definition:
CaloClusterSnapshot.cxx:34
CaloClusterSnapshot
Definition:
CaloClusterSnapshot.h:13
SG::WriteHandleKey< xAOD::CaloClusterContainer >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:581
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:192
CaloClusterCollectionProcessor.h
Base class for cluster processing tools called from CaloClusterMaker.
CaloClusterSnapshot::m_cellLinkOutputKey
SG::WriteHandleKey< CaloClusterCellLinkContainer > m_cellLinkOutputKey
Definition:
CaloClusterSnapshot.h:30
CaloClusterSnapshot::~CaloClusterSnapshot
virtual ~CaloClusterSnapshot() override
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
AthAlgTool
Definition:
AthAlgTool.h:26
CaloClusterSnapshot::m_outputKey
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_outputKey
Definition:
CaloClusterSnapshot.h:29
CaloClusterSnapshot::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *) const override
Execute on an entire collection of clusters.
Definition:
CaloClusterSnapshot.cxx:46
CaloClusterCellLinkContainer.h
Generated on Sun Jun 30 2024 21:11:49 for ATLAS Offline Software by
1.8.18