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 countPassingTOBs(const EventContext&, unsigned int& N_pass_tobs) 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<std::string> m_menu_name {
128 this,
129 "menu_name",
130 "unknown",
131 "name from json menu file"
132 };
133
134 Gaudi::Property<bool> m_enableDump {
135 this,
136 "enable_dump",
137 false,
138 "flag to enable debug dumps"
139 };
140
141 };
142}
143#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
virtual StatusCode countPassingTOBs(const EventContext &, unsigned int &N_pass_tobs) 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< 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.