ATLAS Offline Software
Loading...
Searching...
No Matches
CommonSortSelectAlgTool.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_COMMONSORTSELECTALGTOOL_H
6#define GLOBALSIM_COMMONSORTSELECTALGTOOL_H
7
9
11#include "../IO/CommonTOB.h"
14
15#include "ICommonSelector.h"
16
17#include <string>
18
20 class CommonTOB;
21}
22
23namespace GlobalSim {
24
29
30
31 class CommonSortSelectAlgTool: public extends<AthAlgTool, IGlobalSimAlgTool> {
32
33 public:
34 CommonSortSelectAlgTool(const std::string& type,
35 const std::string& name,
36 const IInterface* parent);
37
38 virtual ~CommonSortSelectAlgTool() override = default;
39
41 virtual StatusCode initialize() override;
42 virtual StatusCode run(const std::unique_ptr<IDataCollector>&,
43 const EventContext&) const override;
44 virtual std::string toString() const override;
45
46 private:
47
48 std::unique_ptr<ICommonSelector> m_c_selector{nullptr};
49
52 this,
53 "inTOBs",
54 "inTOBs",
55 "Key for GlobalSim CommonTOB container"};
56
57
60 this,
61 "outTOBs",
62 "outTOBs",
63 "Key for GlobalSim CommonTOB container"};
64
65
66 Gaudi::Property<std::string> m_et_low_str {
67 this,
68 "et_low",
69 "0",
70 "et low for window selector"};
71
72 Gaudi::Property<std::string> m_et_high_str {
73 this,
74 "et_high",
75 "inf",
76 "et high for window selector"};
77
78 Gaudi::Property<std::string> m_eta_low_str {
79 this,
80 "eta_low",
81 "0",
82 "eta low for window selector"};
83
84 Gaudi::Property<std::string> m_eta_high_str {
85 this,
86 "eta_high",
87 "inf",
88 "eta high for window selector"};
89
90 Gaudi::Property<std::string> m_phi_low_str {
91 this,
92 "phi_low",
93 "0",
94 "phi low for window selector"};
95
96 Gaudi::Property<std::string> m_phi_high_str {
97 this,
98 "phi_high",
99 "inf",
100 "phi high for window selector"};
101
102
103 Gaudi::Property<std::size_t> m_maxTOBs {
104 this,
105 "maxTOBs",
106 10,
107 "max number of TOBs in to be passed to client"};
108
109 Gaudi::Property<std::string> m_menu_name {
110 this,
111 "menu_name",
112 "unknown",
113 "name from json menu file"
114 };
115
116 Gaudi::Property<bool> m_enableDump {
117 this,
118 "enable_dump",
119 false,
120 "flag to enable debug dumps"
121 };
122
123 };
124}
125#endif
virtual StatusCode initialize() override
Initialize function running before first event.
Gaudi::Property< std::string > m_phi_low_str
virtual StatusCode run(const std::unique_ptr< IDataCollector > &, const EventContext &) const override
virtual std::string toString() const override
virtual ~CommonSortSelectAlgTool() override=default
Gaudi::Property< std::string > m_menu_name
Gaudi::Property< std::string > m_eta_high_str
Gaudi::Property< std::string > m_eta_low_str
Gaudi::Property< std::string > m_et_high_str
std::unique_ptr< ICommonSelector > m_c_selector
SG::WriteHandleKey< GlobalSim::IOBitwise::CommonTOBContainer > m_outTOBContainerKey
Gaudi::Property< std::string > m_et_low_str
Gaudi::Property< std::string > m_phi_high_str
Gaudi::Property< std::size_t > m_maxTOBs
SG::ReadHandleKey< GlobalSim::IOBitwise::CommonTOBContainer > m_inTOBContainerKey
CommonSortSelectAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
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.