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"
13
14#include "ICommonSelector.h"
15
16#include <string>
17
19 class CommonTOB;
20}
21
22namespace GlobalSim {
23
28
29
30 class CommonSortSelectAlgTool: public extends<AthAlgTool, IGlobalSimAlgTool> {
31
32 public:
33 CommonSortSelectAlgTool(const std::string& type,
34 const std::string& name,
35 const IInterface* parent);
36
37 virtual ~CommonSortSelectAlgTool() override = default;
38
40 virtual StatusCode initialize() override;
41 virtual StatusCode run(const EventContext&) const override;
42 virtual std::string toString() const override;
43
44 private:
45
46 std::unique_ptr<ICommonSelector> m_c_selector{nullptr};
47
50 this,
51 "inTOBs",
52 "inTOBs",
53 "Key for GlobalSim CommonTOB container"};
54
55
58 this,
59 "outTOBs",
60 "outTOBs",
61 "Key for GlobalSim CommonTOB container"};
62
63
64 Gaudi::Property<std::string> m_et_low_str {
65 this,
66 "et_low",
67 "0",
68 "et low for window selector"};
69
70 Gaudi::Property<std::string> m_et_high_str {
71 this,
72 "et_high",
73 "inf",
74 "et high for window selector"};
75
76 Gaudi::Property<std::string> m_eta_low_str {
77 this,
78 "eta_low",
79 "0",
80 "eta low for window selector"};
81
82 Gaudi::Property<std::string> m_eta_high_str {
83 this,
84 "eta_high",
85 "inf",
86 "eta high for window selector"};
87
88 Gaudi::Property<std::string> m_phi_low_str {
89 this,
90 "phi_low",
91 "0",
92 "phi low for window selector"};
93
94 Gaudi::Property<std::string> m_phi_high_str {
95 this,
96 "phi_high",
97 "inf",
98 "phi high for window selector"};
99
100
101 Gaudi::Property<std::size_t> m_maxTOBs {
102 this,
103 "maxTOBs",
104 10,
105 "max number of TOBs in to be passed to client"};
106
107 Gaudi::Property<std::string> m_menu_name {
108 this,
109 "menu_name",
110 "unknown",
111 "name from json menu file"
112 };
113
114 Gaudi::Property<bool> m_enableDump {
115 this,
116 "enable_dump",
117 false,
118 "flag to enable debug dumps"
119 };
120
121
122 void dump() const;
123
124 };
125}
126#endif
virtual StatusCode initialize() override
Initialize function running before first event.
Gaudi::Property< std::string > m_phi_low_str
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
virtual StatusCode run(const EventContext &) const override
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 that to test whether expected the TIP values generated by data supplied by eEmMultTestBench c...