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