ATLAS Offline Software
CaloCellContainerCheckerTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 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 
12 
13 
14 class CaloCell_ID;
15 
17  : public extends<AthAlgTool, ICaloCellMakerTool, ICaloConstCellMakerTool>
18 {
19 
20 public:
21 
22  CaloCellContainerCheckerTool(const std::string& type,
23  const std::string& name,
24  const IInterface* parent) ;
25 
26 
27  virtual StatusCode initialize() override;
28 
29  virtual StatusCode process (CaloCellContainer* theCellContainer,
30  const EventContext& ctx) const override;
31  virtual StatusCode process (CaloConstCellContainer* theCellContainer,
32  const EventContext& ctx) const override;
33 
34  private:
35  StatusCode doProcess (const CaloCellContainer* theCellContainer,
36  const EventContext& ctx) const;
37 
39  const CaloCell_ID* m_theCaloCCIDM = nullptr;
40 
41 };
42 
43 #endif
44 
CaloCellContainerCheckerTool::doProcess
StatusCode doProcess(const CaloCellContainer *theCellContainer, const EventContext &ctx) const
Definition: CaloCellContainerCheckerTool.cxx:75
CaloCellContainerCheckerTool::m_theCaloCCIDM
const CaloCell_ID * m_theCaloCCIDM
Definition: CaloCellContainerCheckerTool.h:39
ICaloConstCellMakerTool.h
Operate on pointers to const CaloCell.
CaloCellContainerCheckerTool::m_eventsToCheck
size_t m_eventsToCheck
Definition: CaloCellContainerCheckerTool.h:38
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:51
test_pyathena.parent
parent
Definition: test_pyathena.py:15
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:59
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
ICaloCellMakerTool.h
CaloCellContainerCheckerTool::CaloCellContainerCheckerTool
CaloCellContainerCheckerTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: CaloCellContainerCheckerTool.cxx:34
CaloConstCellContainer
CaloCellContainer that can accept const cell pointers.
Definition: CaloConstCellContainer.h:45
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CaloCellContainerCheckerTool
Definition: CaloCellContainerCheckerTool.h:18