ATLAS Offline Software
Loading...
Searching...
No Matches
eEmMultAlgTool.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_EEMMULTALGTOOL_H
6#define GLOBALSIM_EEMMULTALGTOOL_H
7
9
12
13#include "ICommonSelector.h"
14#include "IeEmSelector.h"
15
16#include <string>
17
18namespace GlobalSim {
19
24
25
26 class eEmMultAlgTool: public extends<AthAlgTool, ITIPwriterAlgTool> {
27
28 public:
29 eEmMultAlgTool(const std::string& type,
30 const std::string& name,
31 const IInterface* parent);
32
33 virtual ~eEmMultAlgTool() override = default;
34
36 virtual StatusCode initialize() override;
37
38 virtual StatusCode updateTIP(std::bitset<s_nbits_TIP>&,
39 const EventContext&) const override;
40
41 virtual std::string toString() const override;
42
43 private:
44
45 std::unique_ptr<ICommonSelector> m_c_selector{nullptr};
46 std::unique_ptr<IeEmSelector> m_e_selector{nullptr};
47
50 this,
51 "eEmTOBs",
52 "eEmTOBs",
53 "Key for GlobalSim eEmTOB container"};
54
55 Gaudi::Property<std::string> m_et_low_str {
56 this,
57 "et_low",
58 "0",
59 "et low for window selector"};
60
61 Gaudi::Property<std::string> m_et_high_str {
62 this,
63 "et_high",
64 "inf",
65 "et high for window selector"};
66
67 Gaudi::Property<std::string> m_eta_low_str {
68 this,
69 "eta_low",
70 "0",
71 "eta low for window selector"};
72
73 Gaudi::Property<std::string> m_eta_high_str {
74 this,
75 "eta_high",
76 "inf",
77 "eta high for window selector"};
78
79 Gaudi::Property<std::string> m_phi_low_str {
80 this,
81 "phi_low",
82 "0",
83 "phi low for window selector"};
84
85 Gaudi::Property<std::string> m_phi_high_str {
86 this,
87 "phi_high",
88 "inf",
89 "phi high for window selector"};
90
91 Gaudi::Property<std::string> m_rhad_str {
92 this,
93 "rhad",
94 "0",
95 "rhad cut value"};
96
97 Gaudi::Property<std::string> m_rhad_op {
98 this,
99 "rhad_op",
100 "unknown",
101 "rhad cut operator"};
102
103 Gaudi::Property<std::string> m_reta_str {
104 this,
105 "reta",
106 "0",
107 "reta cut value"};
108
109 Gaudi::Property<std::string> m_reta_op {
110 this,
111 "reta_op",
112 "unknown",
113 "reta cut operator"};
114
115 Gaudi::Property<std::string> m_wstot_str {
116 this,
117 "wstot",
118 "0",
119 "wstot lcut_value"};
120
121 Gaudi::Property<std::string> m_wstot_op {
122 this,
123 "wstot_op",
124 "unknown",
125 "wstot cut_operator"};
126
127 Gaudi::Property<int> m_TIP_position {
128 this,
129 "TIPposition",
130 0,
131 "start position to write into the TIP"};
132
133
134 Gaudi::Property<int> m_n_multbits {
135 this,
136 "n_multbits",
137 3,
138 "number of bits to write into the TIP"};
139
140 Gaudi::Property<std::string> m_menu_name {
141 this,
142 "menu_name",
143 "unknown",
144 "name from json menu file"
145 };
146
147 Gaudi::Property<bool> m_enableDump {
148 this,
149 "enable_dump",
150 false,
151 "flag to enable debug dumps"
152 };
153
154
155 ulong m_maxtob{0};
156
157 void dump() const;
158
159 };
160}
161#endif
Gaudi::Property< std::string > m_reta_str
virtual StatusCode updateTIP(std::bitset< s_nbits_TIP > &, const EventContext &) const override
Gaudi::Property< std::string > m_rhad_op
Gaudi::Property< bool > m_enableDump
Gaudi::Property< std::string > m_et_high_str
Gaudi::Property< std::string > m_rhad_str
std::unique_ptr< IeEmSelector > m_e_selector
Gaudi::Property< std::string > m_eta_high_str
Gaudi::Property< std::string > m_wstot_op
eEmMultAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< std::string > m_eta_low_str
Gaudi::Property< std::string > m_et_low_str
Gaudi::Property< std::string > m_phi_low_str
virtual std::string toString() const override
std::unique_ptr< ICommonSelector > m_c_selector
virtual ~eEmMultAlgTool() override=default
virtual StatusCode initialize() override
Initialize function running before first event.
Gaudi::Property< std::string > m_phi_high_str
Gaudi::Property< std::string > m_menu_name
Gaudi::Property< int > m_TIP_position
SG::ReadHandleKey< GlobalSim::IOBitwise::eEmTOBContainer > m_eEmTOBContainerKey
Gaudi::Property< std::string > m_reta_op
Gaudi::Property< std::string > m_wstot_str
Gaudi::Property< int > m_n_multbits
Property holding a SG store/key/clid from which a ReadHandle is made.
AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench c...