ATLAS Offline Software
Loading...
Searching...
No Matches
eEmMultAlgTool.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_EEMMULTALGTOOL_H
6#define GLOBALSIM_EEMMULTALGTOOL_H
7
10#include "../IO/eEmTOB.h"
11
12#include "ICommonSelector.h"
13#include "IeEmSelector.h"
14
15#include <string>
16
17namespace GlobalSim {
18
23
24
25 class eEmMultAlgTool: public extends<TIPWriterAlgTool, ITIPWriterAlgTool> {
26
27 public:
28 eEmMultAlgTool(const std::string& type,
29 const std::string& name,
30 const IInterface* parent);
31
32 virtual ~eEmMultAlgTool() override = default;
33
35 virtual StatusCode initialize() override;
36
38
39 virtual StatusCode
40 countPassingTOBs(const EventContext&,
41 const std::unique_ptr<IDataCollector>& dc,
42 unsigned int& N_pass_tobs) const override;
43
44 virtual std::string toString() const override;
45
46 private:
47
48 std::unique_ptr<ICommonSelector> m_c_selector{nullptr};
49 std::unique_ptr<IeEmSelector> m_e_selector{nullptr};
50
53 this,
54 "eEmTOBs",
55 "eEmTOBs",
56 "Key for GlobalSim eEmTOB container"};
57
58 Gaudi::Property<std::string> m_et_low_str {
59 this,
60 "et_low",
61 "0",
62 "et low for window selector"};
63
64 Gaudi::Property<std::string> m_et_high_str {
65 this,
66 "et_high",
67 "inf",
68 "et high for window selector"};
69
70 Gaudi::Property<std::string> m_eta_low_str {
71 this,
72 "eta_low",
73 "0",
74 "eta low for window selector"};
75
76 Gaudi::Property<std::string> m_eta_high_str {
77 this,
78 "eta_high",
79 "inf",
80 "eta high for window selector"};
81
82 Gaudi::Property<std::string> m_phi_low_str {
83 this,
84 "phi_low",
85 "0",
86 "phi low for window selector"};
87
88 Gaudi::Property<std::string> m_phi_high_str {
89 this,
90 "phi_high",
91 "inf",
92 "phi high for window selector"};
93
94 Gaudi::Property<std::string> m_rhad_str {
95 this,
96 "rhad",
97 "0",
98 "rhad cut value"};
99
100 Gaudi::Property<std::string> m_rhad_op {
101 this,
102 "rhad_op",
103 "unknown",
104 "rhad cut operator"};
105
106 Gaudi::Property<std::string> m_reta_str {
107 this,
108 "reta",
109 "0",
110 "reta cut value"};
111
112 Gaudi::Property<std::string> m_reta_op {
113 this,
114 "reta_op",
115 "unknown",
116 "reta cut operator"};
117
118 Gaudi::Property<std::string> m_wstot_str {
119 this,
120 "wstot",
121 "0",
122 "wstot lcut_value"};
123
124 Gaudi::Property<std::string> m_wstot_op {
125 this,
126 "wstot_op",
127 "unknown",
128 "wstot cut_operator"};
129
130 Gaudi::Property<std::string> m_menu_name {
131 this,
132 "menu_name",
133 "unknown",
134 "name from json menu file"
135 };
136
137 Gaudi::Property<bool> m_enableDump {
138 this,
139 "enable_dump",
140 false,
141 "flag to enable debug dumps"
142 };
143
144 };
145}
146#endif
virtual StatusCode updateTIP(std::bitset< s_nbits_TIP > &, const std::unique_ptr< IDataCollector > &, const EventContext &) const override
Gaudi::Property< std::string > m_reta_str
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
SG::ReadHandleKey< IOBitwise::eEmTOBContainer > m_eEmTOBContainerKey
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
virtual StatusCode countPassingTOBs(const EventContext &, const std::unique_ptr< IDataCollector > &dc, unsigned int &N_pass_tobs) const override
Gaudi::Property< std::string > m_menu_name
Gaudi::Property< std::string > m_reta_op
Gaudi::Property< std::string > m_wstot_str
Property holding a SG store/key/clid from which a ReadHandle is made.
AlgTool to read in LArStripNeighborhoods, and run the BDT Algorithm.