ATLAS Offline Software
Loading...
Searching...
No Matches
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
6
7// =============================================================================
8
9StaticPEBInfoWriterTool::StaticPEBInfoWriterTool(const std::string& type, const std::string& name, const IInterface* parent)
10: PEBInfoWriterToolBase(type,name,parent) {}
11
12// =============================================================================
13
15
16// =============================================================================
17
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
28 ATH_MSG_DEBUG("Returning static PEBInfo configured in initialize()");
29 return m_pebi;
30}
#define ATH_MSG_DEBUG(x)
PEBInfoWriterToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
PEBInfoWriterToolBase::PEBInfo m_pebi
Static PEB Info built at initialize and added in every event.
Gaudi::Property< std::vector< uint32_t > > m_subDetList
The list of SubDets added to the PEB Info.
virtual StatusCode initialize() override
Implementation of AthAlgTool::initialize()
virtual ~StaticPEBInfoWriterTool()
Standard destructor.
virtual PEBInfoWriterToolBase::PEBInfo createPEBInfo(const EventContext &ctx, const PEBInfoWriterToolBase::Input &input) const override
Implementation of PEBInfoWriterToolBase::createPEBInfo.
Gaudi::Property< std::vector< uint32_t > > m_robList
The list of ROBs added to the PEB Info.
StaticPEBInfoWriterTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Input to the tool's decide method.
Structure holding the list of ROBs and SubDets.