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
8
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<TIPWriterAlgTool, 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
39
40 virtual
41 StatusCode countPassingTOBs(const EventContext&,
42 const std::unique_ptr<IDataCollector>& dc,
43 unsigned int& N_pass_tobs) const override;
44
45 virtual std::string toString() const override;
46
47 private:
48
49 std::unique_ptr<ICommonSelector> m_c_selector{nullptr};
50 std::unique_ptr<IeEmEg1BDTSelector> m_bdt_selector{nullptr};
51
54 this,
55 "eEmEg1BDTTOBContainerKey",
56 "eEmEg1BDTTOBContainer",
57 "Key for GlobalSim eEmEg1BDTTOB container"};
58
59 Gaudi::Property<std::string> m_et_low_str {
60 this,
61 "et_low",
62 "0",
63 "et low for window selector"};
64
65 Gaudi::Property<std::string> m_et_high_str {
66 this,
67 "et_high",
68 "inf",
69 "et high for window selector"};
70
71 Gaudi::Property<std::string> m_eta_low_str {
72 this,
73 "eta_low",
74 "0",
75 "eta low for window selector"};
76
77 Gaudi::Property<std::string> m_eta_high_str {
78 this,
79 "eta_high",
80 "inf",
81 "eta high for window selector"};
82
83 Gaudi::Property<std::string> m_phi_low_str {
84 this,
85 "phi_low",
86 "0",
87 "phi low for window selector"};
88
89 Gaudi::Property<std::string> m_phi_high_str {
90 this,
91 "phi_high",
92 "inf",
93 "phi high for window selector"};
94
95
96 Gaudi::Property<std::string> m_Eg1BDT_str {
97 this,
98 "Eg1BDT",
99 "0",
100 "Eg1BDT lcut_value"};
101
102 Gaudi::Property<std::string> m_Eg1BDT_op {
103 this,
104 "Eg1BDT_op",
105 "unknown",
106 "Eg1BDT cut_operator"};
107
108 Gaudi::Property<std::string> m_menu_name {
109 this,
110 "menu_name",
111 "unknown",
112 "name from json menu file"
113 };
114
115 Gaudi::Property<bool> m_enableDump {
116 this,
117 "enable_dump",
118 false,
119 "flag to enable debug dumps"
120 };
121
122 };
123}
124#endif
virtual StatusCode updateTIP(std::bitset< s_nbits_TIP > &, const std::unique_ptr< IDataCollector > &, const EventContext &) const override
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 countPassingTOBs(const EventContext &, const std::unique_ptr< IDataCollector > &dc, unsigned int &N_pass_tobs) 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 to read in LArStripNeighborhoods, and run the BDT Algorithm.