ATLAS Offline Software
Calorimeter
CaloUtils
src
CaloClusterProcessor.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2015 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
14
#include "
CaloUtils/CaloClusterProcessor.h
"
15
#include "CaloEvent/CaloClusterContainer.h"
16
#include "GaudiKernel/ThreadLocalContext.h"
17
18
27
CaloClusterProcessor::CaloClusterProcessor
(
const
std::string&
type
,
28
const
std::string&
name
,
29
const
IInterface*
parent
)
30
:
AthAlgTool
(
type
,
name
,
parent
)
31
{
32
declareInterface<CaloClusterCollectionProcessor> (
this
);
33
declareInterface<CaloClusterProcessor> (
this
);
34
}
35
36
45
StatusCode
CaloClusterProcessor::execute
(
const
EventContext& ctx,
46
xAOD::CaloClusterContainer
* collection)
const
47
{
48
for
(
xAOD::CaloCluster
* clu : *collection) {
49
ATH_CHECK
(
execute
(ctx, clu) );
50
}
51
return
StatusCode::SUCCESS;
52
}
CaloClusterProcessor.h
Base class for cluster processing tools called from CaloClusterMaker that operate on individual clust...
python.CaloAddPedShiftConfig.type
type
Definition:
CaloAddPedShiftConfig.py:42
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition:
CaloCluster_v1.h:62
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
ATH_CHECK
#define ATH_CHECK
Definition:
AthCheckMacros.h:40
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
CaloClusterProcessor::CaloClusterProcessor
CaloClusterProcessor(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Definition:
CaloClusterProcessor.cxx:27
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
AthAlgTool
Definition:
AthAlgTool.h:26
CaloClusterProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const =0
Execute on a single cluster.
Generated on Tue Sep 2 2025 21:08:08 for ATLAS Offline Software by
1.8.18