ATLAS Offline Software
Calorimeter
CaloRec
src
CaloCellContainerFinalizerTool.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3
/*
4
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
8
#ifndef CALOREC_CALOCELLCONTAINERFINALIZERTOOL_H
9
#define CALOREC_CALOCELLCONTAINERFINALIZERTOOL_H
10
11
#include "
AthenaBaseComps/AthAlgTool.h
"
12
13
#include "
CaloInterface/ICaloCellMakerTool.h
"
14
#include "
CaloInterface/ICaloConstCellMakerTool.h
"
15
16
class
CaloCell_ID
;
17
18
class
CaloCellContainerFinalizerTool
19
:
public
extends<AthAlgTool, ICaloCellMakerTool, ICaloConstCellMakerTool>
20
{
21
public
:
22
using
base_class::base_class;
23
24
virtual
StatusCode
initialize
()
override
;
25
26
// update theCellContainer
27
virtual
StatusCode
process
(
CaloCellContainer
* theCellContainer,
28
const
EventContext& ctx)
const override
;
29
virtual
StatusCode
process
(
CaloConstCellContainer
* theCellContainer,
30
const
EventContext& ctx)
const override
;
31
32
private
:
33
template
<
class
CONTAINER>
34
StatusCode
doProcess
(CONTAINER* theCellContainer)
const
;
35
36
const
CaloCell_ID
*
m_theCaloCCIDM
=
nullptr
;
37
};
38
39
#endif
40
ICaloConstCellMakerTool.h
Operate on pointers to const CaloCell.
CaloCellContainerFinalizerTool
Definition:
CaloCellContainerFinalizerTool.h:20
CaloCellContainerFinalizerTool::process
virtual StatusCode process(CaloCellContainer *theCellContainer, const EventContext &ctx) const override
Definition:
CaloCellContainerFinalizerTool.cxx:118
CaloCellContainerFinalizerTool::m_theCaloCCIDM
const CaloCell_ID * m_theCaloCCIDM
Definition:
CaloCellContainerFinalizerTool.h:36
CaloCellContainerFinalizerTool::initialize
virtual StatusCode initialize() override
Definition:
CaloCellContainerFinalizerTool.cxx:29
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
CaloCell_ID
Helper class for offline cell identifiers.
Definition:
CaloCell_ID.h:34
CaloCellContainer
Container class for CaloCell.
Definition:
CaloCellContainer.h:55
ICaloCellMakerTool.h
CaloConstCellContainer
CaloCellContainer that can accept const cell pointers.
Definition:
CaloConstCellContainer.h:45
CaloCellContainerFinalizerTool::doProcess
StatusCode doProcess(CONTAINER *theCellContainer) const
Definition:
CaloCellContainerFinalizerTool.cxx:37
Generated on Sun Apr 27 2025 21:08:00 for ATLAS Offline Software by
1.8.18