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
39 countPassingTOBs(const EventContext&,
40 const std::unique_ptr<IDataCollector>& dc,
41 unsigned int& N_pass_tobs) const override;
42
43 virtual std::string toString() const override;
44
45 private:
46
47 std::unique_ptr<ICommonSelector> m_c_selector{nullptr};
48
50 this,
51 "CommonTOBsKey",
52 "CommonTOBs",
53 "Key for GlobalSim CommonTOB 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_menu_name {
92 this,
93 "menu_name",
94 "unknown",
95 "name from json menu file"
96 };
97
98 Gaudi::Property<bool> m_enableDump {
99 this,
100 "enable_dump",
101 false,
102 "flag to enable debug dumps"
103 };
104
105 };
106}
107#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
Gaudi::Property< bool > m_enableDump
std::unique_ptr< ICommonSelector > m_c_selector
virtual StatusCode initialize() override
Initialize function running before first event.
virtual StatusCode countPassingTOBs(const EventContext &, const std::unique_ptr< IDataCollector > &dc, unsigned int &N_pass_tobs) const override
Gaudi::Property< std::string > m_phi_high_str
virtual StatusCode updateTIP(std::bitset< s_nbits_TIP > &, const std::unique_ptr< IDataCollector > &, 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 BDT Algorithm.
Definition BitSpec.h:23