ATLAS Offline Software
TestBeam
TBRec
src
TBEventStreamer.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TBREC_TBEVENTSTREAMER_H
6
#define TBREC_TBEVENTSTREAMER_H
7
14
#include "
AthenaBaseComps/AthAlgorithm.h
"
15
#include "GaudiKernel/ToolHandle.h"
16
17
#include <string>
18
#include <vector>
19
#include <map>
20
21
class
TBEventStreamerTool
;
22
23
class
TBEventStreamer
:
public
AthAlgorithm
24
{
25
public
:
27
TBEventStreamer
(
const
std::string&
name
, ISvcLocator* pService);
28
virtual
~TBEventStreamer
();
29
30
virtual
StatusCode
initialize
()
override
;
31
virtual
StatusCode
execute
()
override
;
32
virtual
StatusCode
finalize
()
override
;
33
34
protected
:
35
36
ToolHandleArray<TBEventStreamerTool>
m_tools
;
37
38
std::map<ToolHandle<TBEventStreamerTool>,
unsigned
int
>
m_acceptCounter
;
39
std::map<ToolHandle<TBEventStreamerTool>,
unsigned
int
>
m_rejectCounter
;
40
std::map<ToolHandle<TBEventStreamerTool>,
unsigned
int
>
m_invokeCounter
;
41
42
};
43
#endif
TBEventStreamer::initialize
virtual StatusCode initialize() override
Definition:
TBEventStreamer.cxx:19
TBEventStreamer::m_acceptCounter
std::map< ToolHandle< TBEventStreamerTool >, unsigned int > m_acceptCounter
Definition:
TBEventStreamer.h:38
TBEventStreamer::~TBEventStreamer
virtual ~TBEventStreamer()
Definition:
TBEventStreamer.cxx:16
TBEventStreamer::finalize
virtual StatusCode finalize() override
Definition:
TBEventStreamer.cxx:85
TBEventStreamer::m_invokeCounter
std::map< ToolHandle< TBEventStreamerTool >, unsigned int > m_invokeCounter
Definition:
TBEventStreamer.h:40
TBEventStreamer::m_rejectCounter
std::map< ToolHandle< TBEventStreamerTool >, unsigned int > m_rejectCounter
Definition:
TBEventStreamer.h:39
AthAlgorithm.h
TBEventStreamer::execute
virtual StatusCode execute() override
Definition:
TBEventStreamer.cxx:63
TBEventStreamer::TBEventStreamer
TBEventStreamer(const std::string &name, ISvcLocator *pService)
Algorithm constructor.
Definition:
TBEventStreamer.cxx:9
TBEventStreamer
Definition:
TBEventStreamer.h:24
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition:
AthAlgorithm.h:47
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
TBEventStreamerTool
Definition:
TBEventStreamerTool.h:15
TBEventStreamer::m_tools
ToolHandleArray< TBEventStreamerTool > m_tools
Definition:
TBEventStreamer.h:36
Generated on Fri Jan 10 2025 21:18:31 for ATLAS Offline Software by
1.8.18