ATLAS Offline Software
Loading...
Searching...
No Matches
RoIPEBInfoWriterTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TrigPartialEventBuilding_RoIPEBInfoWriterTool_h
6#define TrigPartialEventBuilding_RoIPEBInfoWriterTool_h
7
11
16public:
18 RoIPEBInfoWriterTool(const std::string& type, const std::string& name, const IInterface* parent);
20 virtual ~RoIPEBInfoWriterTool() = default;
22 virtual StatusCode initialize() override;
23
24protected:
26 virtual PEBInfoWriterToolBase::PEBInfo createPEBInfo(const EventContext& ctx, const PEBInfoWriterToolBase::Input& input) const override;
27
28private:
29 // ------------------------- Tool handles ------------------------------------
30 ToolHandleArray<IRegSelTool> m_regionSelectorTools {
31 this, "RegionSelectorTools", {}, "Region Selector tools"
32 };
33
34 // ------------------------- Properties --------------------------------------
35 Gaudi::Property<float> m_etaEdge {
36 this, "EtaEdge", 5.0, "Upper limit of |eta| range"
37 };
38 Gaudi::Property<float> m_etaWidth {
39 this, "EtaWidth", 0.1, "Half-width of the RoI in eta (Eta-EtaWidth; Eta+EtaWidth)"
40 };
41 Gaudi::Property<float> m_phiWidth {
42 this, "PhiWidth", 0.1, "Half-width of the RoI in phi (Phi-PhiWidth; Phi+PhiWidth)"
43 };
44 Gaudi::Property<std::vector<uint32_t> > m_extraROBs {
45 this, "ExtraROBs", {},
46 "Static list of additional ROBs to add for partial event building in each event where the chain passes"
47 };
48 Gaudi::Property<std::vector<uint32_t> > m_extraSubDets {
49 this, "ExtraSubDets", {},
50 "Static list of additional SubDets to add for partial event building in each event where the chain passes"
51 };
52 // ------------------------- Other private members ---------------------------
56 std::set<DETID> m_dets;
57 std::set<ToolHandle<IRegSelTool> > m_tools;
58
59};
60
61#endif // TrigPartialEventBuilding_RoIPEBInfoWriterTool_h
PEBInfoWriterToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
virtual ~RoIPEBInfoWriterTool()=default
Standard destructor.
Gaudi::Property< float > m_etaWidth
std::set< ToolHandle< IRegSelTool > > m_tools
Gaudi::Property< std::vector< uint32_t > > m_extraROBs
PEBInfoWriterToolBase::PEBInfo m_extraPebInfo
Static PEB Info which contains ExtraROBs and ExtraSubDets.
virtual PEBInfoWriterToolBase::PEBInfo createPEBInfo(const EventContext &ctx, const PEBInfoWriterToolBase::Input &input) const override
Implementation of PEBInfoWriterToolBase::createPEBInfo.
Gaudi::Property< std::vector< uint32_t > > m_extraSubDets
ToolHandleArray< IRegSelTool > m_regionSelectorTools
virtual StatusCode initialize() override
Implementation of AthAlgTool::initialize()
Gaudi::Property< float > m_etaEdge
RoIPEBInfoWriterTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
std::set< DETID > m_dets
m_detNames translated into set of DETID, filled at initialisation
Gaudi::Property< float > m_phiWidth
Input to the tool's decide method.
Structure holding the list of ROBs and SubDets.