ATLAS Offline Software
Loading...
Searching...
No Matches
ReaderAlg.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id: ReaderAlg.h 348546 2011-03-01 15:09:56Z krasznaa $
8#ifndef D3PDMAKERREADER_READERALG_H
9#define D3PDMAKERREADER_READERALG_H
10
11// STL include(s):
12#include <string>
13
14// Gaudi/Athena include(s):
15#include "GaudiKernel/ServiceHandle.h"
16#include "GaudiKernel/ToolHandle.h"
18
19// D3PDMaker include(s):
22
23namespace D3PD {
24
25 // Forward declaration(s):
26 class IReaderD3PD;
27
44 class ReaderAlg : public AthAlgorithm {
45
46 public:
48 ReaderAlg( const std::string& name, ISvcLocator* svcloc );
49
51 virtual StatusCode initialize();
53 virtual StatusCode finalize();
55 virtual StatusCode execute();
56
57 private:
61 ToolHandleArray< IObjFillerTool > m_tools;
62
64 std::string m_tuplePath;
65
66 std::string m_prefix;
67
68 std::string m_dir;
69 std::string m_classname;
70
75
76 }; // class ReaderAlg
77
78} // namespace D3PD
79
80#endif // D3PDMAKERREADER_READERALG_H
Abstract interface for service to create D3PD trees.
Abstract interface for tool to fill an object in the D3PD.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Common interface for the code generator D3PD classes.
Definition IReaderD3PD.h:29
ServiceHandle< ID3PDSvc > m_d3pdSvc
Property: The D3PD creation service.
Definition ReaderAlg.h:59
virtual StatusCode finalize()
Standard Gaudi finalize method.
Definition ReaderAlg.cxx:69
std::string m_dir
Directory where the sources should be put.
Definition ReaderAlg.h:68
IReaderD3PD * m_d3pd
The created tuple. Note: we don't take ownership.
Definition ReaderAlg.h:72
std::string m_classname
Name of the generated class.
Definition ReaderAlg.h:69
std::string m_prefix
Common variable name prefix.
Definition ReaderAlg.h:66
ToolHandleArray< IObjFillerTool > m_tools
Property: List of object filler tools to run.
Definition ReaderAlg.h:61
virtual StatusCode execute()
Standard Gaudi execute method.
Definition ReaderAlg.cxx:77
virtual StatusCode initialize()
Standard Gaudi initialize method.
Definition ReaderAlg.cxx:39
ReaderAlg(const std::string &name, ISvcLocator *svcloc)
Standard algorithm constructor.
Definition ReaderAlg.cxx:15
std::string m_tuplePath
Property: The tuple name.
Definition ReaderAlg.h:64
bool m_booked
Flag that we've called book().
Definition ReaderAlg.h:74
Block filler tool for noisy FEB information.