ATLAS Offline Software
Loading...
Searching...
No Matches
eEmEg1BDTMultAlgTool.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_EEMEG1BDTMULTALGTOOL_H
6#define GLOBALSIM_EEMEG1BDTMULTALGTOOL_H
7
9
11#include "../IO/eEmEg1BDTTOB.h"
12
13#include "ICommonSelector.h"
14#include "IeEmEg1BDTSelector.h"
15
16#include <string>
17
18namespace GlobalSim {
19
24
25
26 class eEmEg1BDTMultAlgTool: public extends<AthAlgTool, ITIPwriterAlgTool> {
27
28 public:
29 eEmEg1BDTMultAlgTool(const std::string& type,
30 const std::string& name,
31 const IInterface* parent);
32
33 virtual ~eEmEg1BDTMultAlgTool() 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<IeEmEg1BDTSelector> m_bdt_selector{nullptr};
47
50 this,
51 "eEmEg1BDTTOBContainerKey",
52 "eEmEg1BDTTOBContainer",
53 "Key for GlobalSim eEmEg1BDTTOB 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
92 Gaudi::Property<std::string> m_Eg1BDT_str {
93 this,
94 "Eg1BDT",
95 "0",
96 "Eg1BDT lcut_value"};
97
98 Gaudi::Property<std::string> m_Eg1BDT_op {
99 this,
100 "Eg1BDT_op",
101 "unknown",
102 "Eg1BDT cut_operator"};
103
104 Gaudi::Property<int> m_TIP_position {
105 this,
106 "TIPposition",
107 0,
108 "start position to write into the TIP"};
109
110
111 Gaudi::Property<int> m_n_multbits {
112 this,
113 "n_multbits",
114 3,
115 "number of bits to write into the TIP"};
116
117 Gaudi::Property<std::string> m_menu_name {
118 this,
119 "menu_name",
120 "unknown",
121 "name from json menu file"
122 };
123
124 Gaudi::Property<bool> m_enableDump {
125 this,
126 "enable_dump",
127 false,
128 "flag to enable debug dumps"
129 };
130
131
132 ulong m_maxtob{0};
133
134 };
135}
136#endif
Gaudi::Property< std::string > m_phi_low_str
Gaudi::Property< std::string > m_eta_high_str
Gaudi::Property< std::string > m_et_low_str
std::unique_ptr< ICommonSelector > m_c_selector
Gaudi::Property< std::string > m_Eg1BDT_str
Gaudi::Property< std::string > m_Eg1BDT_op
Gaudi::Property< std::string > m_phi_high_str
Gaudi::Property< std::string > m_menu_name
virtual std::string toString() const override
virtual StatusCode updateTIP(std::bitset< s_nbits_TIP > &, const EventContext &) const override
Gaudi::Property< std::string > m_eta_low_str
SG::ReadHandleKey< IOBitwise::eEmEg1BDTTOBContainer > m_eEmEg1BDTTOBContainerKey
Gaudi::Property< std::string > m_et_high_str
eEmEg1BDTMultAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual ~eEmEg1BDTMultAlgTool() override=default
std::unique_ptr< IeEmEg1BDTSelector > m_bdt_selector
virtual StatusCode initialize() override
Initialize function running before first event.
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...