ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
Global
GlobalSimulation
src
Lar_Preproc
GlobalCellTowerAlgTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 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
14
#include "
AthenaBaseComps/AthAlgTool.h
"
15
16
#include "
../GlobalSimComponents/IGlobalSimAlgTool.h
"
17
#include "
../IO/CommonTOBContainer.h
"
18
#include "
../IO/GlobalLArCellContainer.h
"
19
20
#include "
../Utilities/IDataCollector.h
"
21
22
#include "
StoreGate/ReadHandleKey.h
"
23
#include "
StoreGate/WriteHandleKey.h
"
24
25
#include <string>
26
27
namespace
GlobalSim
{
28
29
class
GlobalLArCell
;
30
31
32
class
GlobalCellTowerAlgTool
:
public
extends<AthAlgTool, IGlobalSimAlgTool> {
33
34
public
:
35
37
GlobalCellTowerAlgTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
38
40
~GlobalCellTowerAlgTool
()
override
=
default
;
41
43
virtual
StatusCode
initialize
()
override
;
44
46
virtual
StatusCode
run
(
const
std::unique_ptr<IDataCollector>&,
47
const
EventContext& ctx)
const override
;
48
50
virtual
std::string
toString
()
const override
;
51
52
private
:
53
55
SG::ReadHandleKey<GlobalSim::GlobalLArCellContainer>
m_gblLArCellContainerKey
{
this
,
"GlobalLArCellsKey"
,
"GlobalLArCells"
,
"Key for the output container of the LAr cells sent to Global"
};
56
58
SG::WriteHandleKey<IOBitwise::CommonTOBContainer>
m_gblCellTowers
{
this
,
"GlobalCellTowersKey"
,
"GlobalCellTowers"
,
"Key to the container of generic TOBS containing the cell towers"
};
59
60
};
61
62
}
// namespace GlobalSim
63
64
#endif
AthAlgTool.h
CommonTOBContainer.h
GlobalLArCellContainer.h
IDataCollector.h
IGlobalSimAlgTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
GlobalSim::GlobalCellTowerAlgTool::~GlobalCellTowerAlgTool
~GlobalCellTowerAlgTool() override=default
Main destructor (explicitly defaulted).
GlobalSim::GlobalCellTowerAlgTool::run
virtual StatusCode run(const std::unique_ptr< IDataCollector > &, const EventContext &ctx) const override
Main functional block running for each event.
Definition
GlobalCellTowerAlgTool.cxx:33
GlobalSim::GlobalCellTowerAlgTool::GlobalCellTowerAlgTool
GlobalCellTowerAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Main constructor.
Definition
GlobalCellTowerAlgTool.cxx:16
GlobalSim::GlobalCellTowerAlgTool::m_gblLArCellContainerKey
SG::ReadHandleKey< GlobalSim::GlobalLArCellContainer > m_gblLArCellContainerKey
Key to the GlobalLArCellContainer.
Definition
GlobalCellTowerAlgTool.h:55
GlobalSim::GlobalCellTowerAlgTool::initialize
virtual StatusCode initialize() override
Initialize function running before first event.
Definition
GlobalCellTowerAlgTool.cxx:22
GlobalSim::GlobalCellTowerAlgTool::m_gblCellTowers
SG::WriteHandleKey< IOBitwise::CommonTOBContainer > m_gblCellTowers
Write key for the output cell towers as a GenericTobContainer.
Definition
GlobalCellTowerAlgTool.h:58
GlobalSim::GlobalCellTowerAlgTool::toString
virtual std::string toString() const override
Overriding toString function from base class.
Definition
GlobalCellTowerAlgTool.cxx:90
GlobalSim::GlobalLArCell
Definition
GlobalLArCell.h:14
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
GlobalSim
AlgTool to read in LArStripNeighborhoods, and run the BDT Algorithm.
Definition
Trigger/TrigT1/Global/GlobalSimulation/src/Egamma1BDT/Egamma1BDT/BDT.h:11
type
Generated on
for ATLAS Offline Software by
1.17.0