ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigPartialEventBuilding
src
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
8
#include "
TrigPartialEventBuilding/PEBInfoWriterToolBase.h
"
9
#include "
IRegionSelector/RegSelEnums.h
"
10
#include "
IRegionSelector/IRegSelTool.h
"
11
15
class
RoIPEBInfoWriterTool
:
public
PEBInfoWriterToolBase
{
16
public
:
18
RoIPEBInfoWriterTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
20
virtual
~RoIPEBInfoWriterTool
() =
default
;
22
virtual
StatusCode
initialize
()
override
;
23
24
protected
:
26
virtual
PEBInfoWriterToolBase::PEBInfo
createPEBInfo
(
const
EventContext& ctx,
const
PEBInfoWriterToolBase::Input
& input)
const override
;
27
28
private
:
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 ---------------------------
54
PEBInfoWriterToolBase::PEBInfo
m_extraPebInfo
;
56
std::set<DETID>
m_dets
;
57
std::set<ToolHandle<IRegSelTool> >
m_tools
;
58
59
};
60
61
#endif
// TrigPartialEventBuilding_RoIPEBInfoWriterTool_h
IRegSelTool.h
PEBInfoWriterToolBase.h
RegSelEnums.h
PEBInfoWriterToolBase::PEBInfoWriterToolBase
PEBInfoWriterToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
PEBInfoWriterToolBase.cxx:22
RoIPEBInfoWriterTool::~RoIPEBInfoWriterTool
virtual ~RoIPEBInfoWriterTool()=default
Standard destructor.
RoIPEBInfoWriterTool::m_etaWidth
Gaudi::Property< float > m_etaWidth
Definition
RoIPEBInfoWriterTool.h:38
RoIPEBInfoWriterTool::m_tools
std::set< ToolHandle< IRegSelTool > > m_tools
Definition
RoIPEBInfoWriterTool.h:57
RoIPEBInfoWriterTool::m_extraROBs
Gaudi::Property< std::vector< uint32_t > > m_extraROBs
Definition
RoIPEBInfoWriterTool.h:44
RoIPEBInfoWriterTool::m_extraPebInfo
PEBInfoWriterToolBase::PEBInfo m_extraPebInfo
Static PEB Info which contains ExtraROBs and ExtraSubDets.
Definition
RoIPEBInfoWriterTool.h:54
RoIPEBInfoWriterTool::createPEBInfo
virtual PEBInfoWriterToolBase::PEBInfo createPEBInfo(const EventContext &ctx, const PEBInfoWriterToolBase::Input &input) const override
Implementation of PEBInfoWriterToolBase::createPEBInfo.
Definition
RoIPEBInfoWriterTool.cxx:33
RoIPEBInfoWriterTool::m_extraSubDets
Gaudi::Property< std::vector< uint32_t > > m_extraSubDets
Definition
RoIPEBInfoWriterTool.h:48
RoIPEBInfoWriterTool::m_regionSelectorTools
ToolHandleArray< IRegSelTool > m_regionSelectorTools
Definition
RoIPEBInfoWriterTool.h:30
RoIPEBInfoWriterTool::initialize
virtual StatusCode initialize() override
Implementation of AthAlgTool::initialize().
Definition
RoIPEBInfoWriterTool.cxx:19
RoIPEBInfoWriterTool::m_etaEdge
Gaudi::Property< float > m_etaEdge
Definition
RoIPEBInfoWriterTool.h:35
RoIPEBInfoWriterTool::RoIPEBInfoWriterTool
RoIPEBInfoWriterTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
RoIPEBInfoWriterTool.cxx:14
RoIPEBInfoWriterTool::m_dets
std::set< DETID > m_dets
m_detNames translated into set of DETID, filled at initialisation
Definition
RoIPEBInfoWriterTool.h:56
RoIPEBInfoWriterTool::m_phiWidth
Gaudi::Property< float > m_phiWidth
Definition
RoIPEBInfoWriterTool.h:41
type
PEBInfoWriterToolBase::Input
Input to the tool's decide method.
Definition
PEBInfoWriterToolBase.h:27
PEBInfoWriterToolBase::PEBInfo
Structure holding the list of ROBs and SubDets.
Definition
PEBInfoWriterToolBase.h:46
Generated on
for ATLAS Offline Software by
1.17.0