ATLAS Offline Software
StaticPEBInfoWriterTool.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 // =============================================================================
8 
9 StaticPEBInfoWriterTool::StaticPEBInfoWriterTool(const std::string& type, const std::string& name, const IInterface* 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 }
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
virtual ~StaticPEBInfoWriterTool()
Standard destructor.
Definition: StaticPEBInfoWriterTool.cxx:14
StaticPEBInfoWriterTool::initialize
virtual StatusCode initialize() override
Implementation of AthAlgTool::initialize()
Definition: StaticPEBInfoWriterTool.cxx:18
PEBInfoWriterToolBase::PEBInfo::robs
std::set< uint32_t > robs
Definition: PEBInfoWriterToolBase.h:45
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
test_pyathena.parent
parent
Definition: test_pyathena.py:15
StaticPEBInfoWriterTool.h
StaticPEBInfoWriterTool::m_subDetList
Gaudi::Property< std::vector< uint32_t > > m_subDetList
The list of SubDets added to the PEB Info.
Definition: StaticPEBInfoWriterTool.h:33
PEBInfoWriterToolBase
Base class for tools used by PEBInfoWriterAlg.
Definition: PEBInfoWriterToolBase.h:21
PEBInfoWriterToolBase::PEBInfo::subdets
std::set< uint32_t > subdets
Definition: PEBInfoWriterToolBase.h:46
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
StaticPEBInfoWriterTool::m_pebi
PEBInfoWriterToolBase::PEBInfo m_pebi
Static PEB Info built at initialize and added in every event.
Definition: StaticPEBInfoWriterTool.h:38
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
StaticPEBInfoWriterTool::createPEBInfo
virtual PEBInfoWriterToolBase::PEBInfo createPEBInfo(const PEBInfoWriterToolBase::Input &input) const override
Implementation of PEBInfoWriterToolBase::createPEBInfo.
Definition: StaticPEBInfoWriterTool.cxx:27
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
StaticPEBInfoWriterTool::StaticPEBInfoWriterTool
StaticPEBInfoWriterTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: StaticPEBInfoWriterTool.cxx:9