ATLAS Offline Software
Loading...
Searching...
No Matches
GlobalCellTowerAlgTool.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_GLOBALCELLTOWERALGTOOL_H
6#define GLOBALSIM_GLOBALCELLTOWERALGTOOL_H
7
8/*
9 This algorithm simulates the cell towers for the Global Trigger. Input is taken only from LAr cells contained in the
10 GlobalLArCellContainer. Tile cells are not included for now. Cells are placed in towers based on their eta and phi
11 positions and written out as a GenericTOB.
12*/
13
15
19
22
23#include <string>
24
25namespace GlobalSim {
26
27 class GlobalLArCell;
28
29
30 class GlobalCellTowerAlgTool: public extends<AthAlgTool, IGlobalSimAlgTool> {
31
32 public:
33
35 GlobalCellTowerAlgTool(const std::string& type, const std::string& name, const IInterface* parent);
36
38 ~GlobalCellTowerAlgTool() override = default;
39
41 virtual StatusCode initialize() override;
42
44 virtual StatusCode run(const EventContext& ctx) const override;
45
47 virtual std::string toString() const override;
48
49 private:
50
52 SG::ReadHandleKey<GlobalSim::GlobalLArCellContainer> m_gblLArCellContainerKey {this, "GlobalLArCellsKey", "GlobalLArCells", "Key for the output container of the LAr cells sent to Global"};
53
55 SG::WriteHandleKey<IOBitwise::CommonTOBContainer> m_gblCellTowers {this, "GlobalCellTowersKey", "GlobalCellTowers", "Key to the container of generic TOBS containing the cell towers"};
56
57 };
58
59} // namespace GlobalSim
60
61#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
~GlobalCellTowerAlgTool() override=default
Main destructor (explicitly defaulted)
GlobalCellTowerAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Main constructor.
SG::ReadHandleKey< GlobalSim::GlobalLArCellContainer > m_gblLArCellContainerKey
Key to the GlobalLArCellContainer.
virtual StatusCode initialize() override
Initialize function running before first event.
SG::WriteHandleKey< IOBitwise::CommonTOBContainer > m_gblCellTowers
Write key for the output cell towers as a GenericTobContainer.
virtual std::string toString() const override
Overriding toString function from base class.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench c...
Definition run.py:1