ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigPartialEventBuilding
src
StaticPEBInfoWriterTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
StaticPEBInfoWriterTool.h
"
6
7
// =============================================================================
8
9
StaticPEBInfoWriterTool::StaticPEBInfoWriterTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent)
10
:
PEBInfoWriterToolBase
(
type
,name,parent) {}
11
12
// =============================================================================
13
14
StaticPEBInfoWriterTool::~StaticPEBInfoWriterTool
() {}
15
16
// =============================================================================
17
18
StatusCode
StaticPEBInfoWriterTool::initialize
() {
19
m_pebi
.robs.insert(
m_robList
.begin(),
m_robList
.end());
20
m_pebi
.subdets.insert(
m_subDetList
.begin(),
m_subDetList
.end());
21
ATH_MSG_DEBUG
(
"Configured static PEBInfo: "
<<
m_pebi
);
22
return
StatusCode::SUCCESS;
23
}
24
25
// =============================================================================
26
27
PEBInfoWriterToolBase::PEBInfo
StaticPEBInfoWriterTool::createPEBInfo
(
const
EventContext&
/*ctx*/
,
const
PEBInfoWriterToolBase::Input
&
/*input*/
)
const
{
28
ATH_MSG_DEBUG
(
"Returning static PEBInfo configured in initialize()"
);
29
return
m_pebi
;
30
}
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
StaticPEBInfoWriterTool.h
PEBInfoWriterToolBase::PEBInfoWriterToolBase
PEBInfoWriterToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
PEBInfoWriterToolBase.cxx:20
StaticPEBInfoWriterTool::m_pebi
PEBInfoWriterToolBase::PEBInfo m_pebi
Static PEB Info built at initialize and added in every event.
Definition
StaticPEBInfoWriterTool.h:38
StaticPEBInfoWriterTool::m_subDetList
Gaudi::Property< std::vector< uint32_t > > m_subDetList
The list of SubDets added to the PEB Info.
Definition
StaticPEBInfoWriterTool.h:33
StaticPEBInfoWriterTool::initialize
virtual StatusCode initialize() override
Implementation of AthAlgTool::initialize()
Definition
StaticPEBInfoWriterTool.cxx:18
StaticPEBInfoWriterTool::~StaticPEBInfoWriterTool
virtual ~StaticPEBInfoWriterTool()
Standard destructor.
Definition
StaticPEBInfoWriterTool.cxx:14
StaticPEBInfoWriterTool::createPEBInfo
virtual PEBInfoWriterToolBase::PEBInfo createPEBInfo(const EventContext &ctx, const PEBInfoWriterToolBase::Input &input) const override
Implementation of PEBInfoWriterToolBase::createPEBInfo.
Definition
StaticPEBInfoWriterTool.cxx:27
StaticPEBInfoWriterTool::m_robList
Gaudi::Property< std::vector< uint32_t > > m_robList
The list of ROBs added to the PEB Info.
Definition
StaticPEBInfoWriterTool.h:28
StaticPEBInfoWriterTool::StaticPEBInfoWriterTool
StaticPEBInfoWriterTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
StaticPEBInfoWriterTool.cxx:9
type
PEBInfoWriterToolBase::Input
Input to the tool's decide method.
Definition
PEBInfoWriterToolBase.h:25
PEBInfoWriterToolBase::PEBInfo
Structure holding the list of ROBs and SubDets.
Definition
PEBInfoWriterToolBase.h:44
Generated on
for ATLAS Offline Software by
1.14.0