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
11
12#include "ICommonSelector.h"
13
14#include <string>
15
16namespace GlobalSim {
17
22
23
24 class CommonMultAlgTool: public extends<TIPWriterAlgTool,ITIPWriterAlgTool> {
25
26 public:
27 CommonMultAlgTool(const std::string& type,
28 const std::string& name,
29 const IInterface* parent);
30
31 virtual ~CommonMultAlgTool() override = default;
32
34 virtual StatusCode initialize() override;
35
37
38 virtual StatusCode countPassingTOBs(const EventContext&, unsigned int& N_pass_tobs) 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<std::string> m_menu_name {
89 this,
90 "menu_name",
91 "unknown",
92 "name from json menu file"
93 };
94
95 Gaudi::Property<bool> m_enableDump {
96 this,
97 "enable_dump",
98 false,
99 "flag to enable debug dumps"
100 };
101
102 };
103}
104#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
virtual StatusCode countPassingTOBs(const EventContext &, unsigned int &N_pass_tobs) const override
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
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
virtual StatusCode updateTIP(std::bitset< s_nbits_TIP > &, const EventContext &) const override
Property holding a SG store/key/clid from which a ReadHandle is made.
AlgTool to read in LArStripNeighborhoods, and run the eRatio Algorithm.