ATLAS Offline Software
Loading...
Searching...
No Matches
CommonMultAlgTool.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_COMMONMULTALGTOOL_H
6#define GLOBALSIM_COMMONMULTALGTOOL_H
7
9
12
13#include "ICommonSelector.h"
14
15#include <string>
16
17namespace GlobalSim {
18
23
24
25 class CommonMultAlgTool: public extends<AthAlgTool, ITIPwriterAlgTool> {
26
27 public:
28 CommonMultAlgTool(const std::string& type,
29 const std::string& name,
30 const IInterface* parent);
31
32 virtual ~CommonMultAlgTool() override = default;
33
35 virtual StatusCode initialize() override;
36
37 virtual StatusCode updateTIP(std::bitset<s_nbits_TIP>&,
38 const EventContext&) const override;
39
40 virtual std::string toString() const override;
41
42 private:
43
44 std::unique_ptr<ICommonSelector> m_c_selector{nullptr};
45
47 this,
48 "CommonTOBsKey",
49 "CommonTOBs",
50 "Key for GlobalSim CommonTOB container"};
51
52 Gaudi::Property<std::string> m_et_low_str {
53 this,
54 "et_low",
55 "0",
56 "et low for window selector"};
57
58 Gaudi::Property<std::string> m_et_high_str {
59 this,
60 "et_high",
61 "inf",
62 "et high for window selector"};
63
64 Gaudi::Property<std::string> m_eta_low_str {
65 this,
66 "eta_low",
67 "0",
68 "eta low for window selector"};
69
70 Gaudi::Property<std::string> m_eta_high_str {
71 this,
72 "eta_high",
73 "inf",
74 "eta high for window selector"};
75
76 Gaudi::Property<std::string> m_phi_low_str {
77 this,
78 "phi_low",
79 "0",
80 "phi low for window selector"};
81
82 Gaudi::Property<std::string> m_phi_high_str {
83 this,
84 "phi_high",
85 "inf",
86 "phi high for window selector"};
87
88 Gaudi::Property<int> m_TIP_position {
89 this,
90 "TIPposition",
91 0,
92 "start position to write into the TIP"};
93
94 Gaudi::Property<int> m_TIP_width {
95 this,
96 "TIPwidth",
97 3,
98 "number of bits to write into the TIP"};
99
100 Gaudi::Property<std::string> m_menu_name {
101 this,
102 "menu_name",
103 "unknown",
104 "name from json menu file"
105 };
106
107 Gaudi::Property<bool> m_enableDump {
108 this,
109 "enable_dump",
110 false,
111 "flag to enable debug dumps"
112 };
113
114
115 ulong m_maxtob{0};
116
117 };
118}
119#endif
SG::ReadHandleKey< IOBitwise::CommonTOBContainer > m_CommonTOBContainerKey
Gaudi::Property< std::string > m_et_high_str
Gaudi::Property< std::string > m_eta_low_str
virtual ~CommonMultAlgTool() override=default
Gaudi::Property< std::string > m_menu_name
Gaudi::Property< std::string > m_et_low_str
Gaudi::Property< std::string > m_phi_low_str
virtual std::string toString() const override
CommonMultAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< std::string > m_eta_high_str
virtual StatusCode updateTIP(std::bitset< s_nbits_TIP > &, const EventContext &) const override
Gaudi::Property< int > m_TIP_position
Gaudi::Property< bool > m_enableDump
std::unique_ptr< ICommonSelector > m_c_selector
virtual StatusCode initialize() override
Initialize function running before first event.
Gaudi::Property< std::string > m_phi_high_str
Gaudi::Property< int > m_TIP_width
Property holding a SG store/key/clid from which a ReadHandle is made.
AlgTool to read in LArStripNeighborhoods, and run the eRatio Algorithm.