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