ATLAS Offline Software
Loading...
Searching...
No Matches
MultiReaderAlg.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef D3PDMAKERREADER_MULTIREADERALG_H
8#define D3PDMAKERREADER_MULTIREADERALG_H
9
10// STL include(s):
11#include <string>
12
13// Gaudi/Athena include(s):
14#include "GaudiKernel/ServiceHandle.h"
15#include "GaudiKernel/ToolHandle.h"
18
19// D3PDMaker include(s):
23
24namespace D3PD {
25
26 // Forward declaration(s):
27 class IReaderD3PD;
28
45
46 public:
48 MultiReaderAlg( const std::string& name, ISvcLocator* svcloc );
49
51 virtual StatusCode initialize ATLAS_NOT_THREAD_SAFE ();
53 virtual StatusCode finalize();
55 virtual StatusCode execute();
56
57 private:
61 ToolHandleArray< IObjFillerTool > m_tools;
63 ToolHandleArray< IMetadataTool > m_metadataTools;
64
65 std::string m_tuplePath;
66
67 std::vector< std::string > m_prefixes;
68 std::vector< std::string > m_classnames;
69
70 std::string m_dir;
71
73 std::vector< IReaderD3PD* > m_d3pds;
76
77 }; // class MultiReaderAlg
78
79} // namespace D3PD
80
81#endif // D3PDMAKERREADER_MULTIREADERALG_H
Abstract interface for service to create D3PD trees.
Write metadata to a D3PD.
Abstract interface for tool to fill an object in the D3PD.
Define macros for attributes used to control the static checker.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Common interface for the code generator D3PD classes.
Definition IReaderD3PD.h:29
virtual StatusCode execute()
Standard Gaudi execute method.
ToolHandleArray< IMetadataTool > m_metadataTools
Property: List of metadata tools to run.
std::vector< IReaderD3PD * > m_d3pds
The created tuples. Note: we don't take ownership.
ServiceHandle< ID3PDSvc > m_d3pdSvc
Property: The D3PD creation service.
std::string m_dir
Directory where the sources should be put.
std::vector< std::string > m_prefixes
Variable name prefixes.
virtual StatusCode initialize ATLAS_NOT_THREAD_SAFE()
Standard Gaudi initialize method.
ToolHandleArray< IObjFillerTool > m_tools
Property: List of object filler tools to run.
std::vector< std::string > m_classnames
Reader class names.
std::string m_tuplePath
The D3PD base name.
bool m_booked
Flag that we've called book().
MultiReaderAlg(const std::string &name, ISvcLocator *svcloc)
Standard algorithm constructor.
virtual StatusCode finalize()
Standard Gaudi finalize method.
Block filler tool for noisy FEB information.
void initialize()