Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
StreamSelectorTool.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 STREAMSELECTORTOOL_H
6 #define STREAMSELECTORTOOL_H
7 
14 
15 #include <string>
16 
20 class StreamSelectorTool : public extends<AthAlgTool, IAthenaSelectorTool> {
21 public: // Constructor and Destructor
23  using base_class::base_class;
25  virtual ~StreamSelectorTool();
26 
27 public:
29  virtual StatusCode postInitialize() override { return StatusCode::SUCCESS; }
30  virtual StatusCode preNext() const override { return StatusCode::SUCCESS; }
31  virtual StatusCode postNext() const override;
32  virtual StatusCode preFinalize() override { return StatusCode::SUCCESS; }
33 private:
34  StringProperty m_attrListKey{this,"AttributeListKey","Input","Key for attribute list input to be used"};
35  StringProperty m_streamName{this,"AcceptStreams","","Name of stream to be used as a ACCEPT"};
36 };
37 
38 #endif
IAthenaSelectorTool.h
This file contains the class definition for the IAthenaSelectorTool class.
StreamSelectorTool::preFinalize
virtual StatusCode preFinalize() override
Definition: StreamSelectorTool.h:32
StreamSelectorTool::postInitialize
virtual StatusCode postInitialize() override
IAthenaSelectorTool Interface method implementations:
Definition: StreamSelectorTool.h:29
StreamSelectorTool::preNext
virtual StatusCode preNext() const override
Definition: StreamSelectorTool.h:30
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
StreamSelectorTool::m_attrListKey
StringProperty m_attrListKey
Definition: StreamSelectorTool.h:34
StreamSelectorTool::~StreamSelectorTool
virtual ~StreamSelectorTool()
Destructor.
Definition: StreamSelectorTool.cxx:23
StreamSelectorTool::m_streamName
StringProperty m_streamName
Definition: StreamSelectorTool.h:35
StreamSelectorTool::postNext
virtual StatusCode postNext() const override
Definition: StreamSelectorTool.cxx:27
StreamSelectorTool
This class provides an example for reading with a ISelectorTool to veto events on AttributeList.
Definition: StreamSelectorTool.h:20