ATLAS Offline Software
eEmMultAlgTool.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 #ifndef GLOBALSIM_EEMMULTALGTOOL_H
6 #define GLOBALSIM_EEMMULTALGTOOL_H
7 
9 
10 #include "../../IGlobalSimAlgTool.h"
11 #include "../../IO/IeEmTOB.h"
12 #include "ICommonSelector.h"
13 #include "IeEmSelector.h"
14 
15 #include <string>
16 
18  class ICommonTOB;
19 }
20 
21 namespace GlobalSim {
22 
29  class eEmMultAlgTool: public extends<AthAlgTool, IGlobalSimAlgTool> {
30 
31  public:
32  eEmMultAlgTool(const std::string& type,
33  const std::string& name,
34  const IInterface* parent);
35 
36  virtual ~eEmMultAlgTool() override = default;
37 
39  virtual StatusCode initialize() override;
40 
42  virtual StatusCode run(const EventContext& ctx) const override;
43 
44  private:
45 
46  std::unique_ptr<ICommonSelector> m_c_selector{nullptr};
47  std::unique_ptr<IeEmSelector> m_e_selector{nullptr};
48 
51  this,
52  "eEmTOBs",
53  "eEmTOBs",
54  "Key for GlobalSim eEmTOB container"};
55  };
56 
57 }
58 #endif
IeEmSelector.h
GlobalSim::IOBitwise::ICommonTOB
Class to hold common (eta/eta/phi) TOB bits.
Definition: ICommonTOB.h:26
GlobalSim::eEmMultAlgTool::run
virtual StatusCode run(const EventContext &ctx) const override
Main functional block running for each event.
Definition: eEmMultAlgTool.cxx:24
ICommonSelector.h
SG::ReadHandleKey< GlobalSim::IOBitwise::IeEmTOB >
GlobalSim::eEmMultAlgTool
AlgTool to count GlobalSim::IOBitwise::eEmTOB objects.
Definition: eEmMultAlgTool.h:29
GlobalSim::eEmMultAlgTool::eEmMultAlgTool
eEmMultAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: eEmMultAlgTool.cxx:9
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
GlobalSim
AlgTool to obtain a selection of eFex RoIs read in from the event store.
Definition: dump.h:8
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
GlobalSim::eEmMultAlgTool::m_c_selector
std::unique_ptr< ICommonSelector > m_c_selector
Definition: eEmMultAlgTool.h:46
GlobalSim::IOBitwise
Definition: eEmMultAlgTool.h:17
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
GlobalSim::eEmMultAlgTool::initialize
virtual StatusCode initialize() override
Initialize function running before first event.
Definition: eEmMultAlgTool.cxx:17
GlobalSim::eEmMultAlgTool::m_gblLArCellContainerKey
SG::ReadHandleKey< GlobalSim::IOBitwise::IeEmTOB > m_gblLArCellContainerKey
Key to the GlobalLArCellContainer.
Definition: eEmMultAlgTool.h:50
GlobalSim::eEmMultAlgTool::m_e_selector
std::unique_ptr< IeEmSelector > m_e_selector
Definition: eEmMultAlgTool.h:47
GlobalSim::eEmMultAlgTool::~eEmMultAlgTool
virtual ~eEmMultAlgTool() override=default