ATLAS Offline Software
Loading...
Searching...
No Matches
MakerAlg.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2/*
3 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4*/
11
12
13#ifndef D3PDMAKERCORECOMPS_MAKERALG_H
14#define D3PDMAKERCORECOMPS_MAKERALG_H
15
16
21#include "GaudiKernel/ServiceHandle.h"
22#include "GaudiKernel/ToolHandle.h"
24#include <vector>
25
26
27namespace D3PD {
28
29
45 : public FilteredAlgorithm
46{
47public:
53 MakerAlg (const std::string& name,
54 ISvcLocator* svcloc);
55
56
58 virtual StatusCode initialize();
59
60
62 virtual StatusCode finalize();
63
64
66 virtual StatusCode execute();
67
68
69private:
71 StatusCode fillToolWithAuditor( IObjFillerTool& tool );
72
74 StatusCode fillToolWithoutAuditor( IObjFillerTool& tool );
75
76
79
81 ToolHandleArray<IObjFillerTool> m_tools;
82
84 ToolHandleArray<IMetadataTool> m_metadataTools;
85
87 bool m_audit;
88
90 std::string m_tuplePath;
91
94
97
100};
101
102
103} // namespace D3PD
104
105
106#endif //not D3PDMAKERCORECOMPS_MAKERALG_H
Abstract interface for service to create D3PD trees.
Abstract interface for a D3PD tree.
Write metadata to a D3PD.
Abstract interface for tool to fill an object in the D3PD.
Define an abstract interface for building a D3PD tree.
Definition ID3PD.h:37
Abstract interface for tool to fill an object in the D3PD.
Algorithm to create a D3PD tree.
Definition MakerAlg.h:46
ID3PD * m_d3pd
The created tuple. Note: we don't take ownership.
Definition MakerAlg.h:93
StatusCode(D3PD::MakerAlg::* m_fillFunction)(IObjFillerTool &)
Pointer to the fill function to be used.
Definition MakerAlg.h:99
StatusCode fillToolWithoutAuditor(IObjFillerTool &tool)
Cakk fill on a tool without an auditor.
Definition MakerAlg.cxx:166
virtual StatusCode initialize()
Standard Gaudi initialize method.
Definition MakerAlg.cxx:54
virtual StatusCode execute()
Standard Gaudi execute method.
Definition MakerAlg.cxx:108
StatusCode fillToolWithAuditor(IObjFillerTool &tool)
Call fill() on a tool with an auditor.
Definition MakerAlg.cxx:151
ServiceHandle< ID3PDSvc > m_d3pdSvc
Property: The D3PD creation service.
Definition MakerAlg.h:78
bool m_audit
Property: Audit the tools with PerfMon or not?
Definition MakerAlg.h:87
MakerAlg(const std::string &name, ISvcLocator *svcloc)
Standard Gaudi algorithm constructor.
Definition MakerAlg.cxx:26
virtual StatusCode finalize()
Standard Gaudi finalize method.
Definition MakerAlg.cxx:94
bool m_booked
Flag that we've called book().
Definition MakerAlg.h:96
ToolHandleArray< IObjFillerTool > m_tools
Property: List of object filler tools to run.
Definition MakerAlg.h:81
std::string m_tuplePath
Property: The tuple name.
Definition MakerAlg.h:90
ToolHandleArray< IMetadataTool > m_metadataTools
Property: List of metadata tools to run.
Definition MakerAlg.h:84
FilteredAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Standard algorithm Constructor.
Block filler tool for noisy FEB information.