ATLAS Offline Software
Loading...
Searching...
No Matches
PU1SuppAlgTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
11
12#ifndef GLOBALSIM_PU1SUPPALGTOOL_H
13#define GLOBALSIM_PU1SUPPALGTOOL_H
14
18
19#include "PU1SuppPortsIn.h"
20#include "PU1SuppPortsOut.h"
21
24
25namespace GlobalSim {
26
31class PU1SuppAlgTool : public extends<AthAlgTool, IGlobalSimAlgTool> {
32public:
34 PU1SuppAlgTool(const std::string& type,
35 const std::string& name,
36 const IInterface* parent);
37
39 virtual ~PU1SuppAlgTool() = default;
40
42 virtual StatusCode initialize() override;
43
45 virtual StatusCode run(const std::unique_ptr<IDataCollector>&,
46 const EventContext& ctx) const override;
47
49 virtual std::string toString() const override;
50
51private:
54 this, "HypoFIFOReadKey", "SuppFIFO", "Input key for PU1 TOBs"
55 };
56
59 this, "PortsOutWriteKey", "PU1SuppOut", "Output key for suppressed TOBs"
60 };
61};
62
63} // namespace GlobalSim
64
65#endif // GLOBALSIM_PU1SUPPALGTOOL_H
66
Defines the data structure for PU1 Suppression algorithm inputs.
Defines the output structure for PU1 suppression results.
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.
virtual StatusCode initialize() override
Initialization of keys and setup.
virtual StatusCode run(const std::unique_ptr< IDataCollector > &, const EventContext &ctx) const override
Run suppression on input TOBs and write output TOBs.
SG::WriteHandleKey< GepAlgoPU1SuppPortsOutFIFO > m_portsOutWriteKey
Key to write suppressed TOBs to the event store.
virtual std::string toString() const override
Returns a string representation for diagnostics.
PU1SuppAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
virtual ~PU1SuppAlgTool()=default
Destructor.
SG::ReadHandleKey< GepAlgoPU1SuppFIFO > m_HypoFIFOReadKey
Key to read TOB FIFO from the event store.
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 to read in LArStripNeighborhoods, and run the BDT Algorithm.