ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
D3PDMakerCoreComps
src
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
17
#include "
D3PDMakerInterfaces/ID3PD.h
"
18
#include "
D3PDMakerInterfaces/ID3PDSvc.h
"
19
#include "
D3PDMakerInterfaces/IObjFillerTool.h
"
20
#include "
D3PDMakerInterfaces/IMetadataTool.h
"
21
#include "GaudiKernel/ServiceHandle.h"
22
#include "GaudiKernel/ToolHandle.h"
23
#include "
AthenaBaseComps/FilteredAlgorithm.h
"
24
#include <vector>
25
26
27
namespace
D3PD
{
28
29
44
class
MakerAlg
45
:
public
FilteredAlgorithm
46
{
47
public
:
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
(
const
EventContext& ctx);
67
68
69
private
:
71
StatusCode
fillToolWithAuditor
( IObjFillerTool& tool );
72
74
StatusCode
fillToolWithoutAuditor
( IObjFillerTool& tool );
75
76
78
ServiceHandle<ID3PDSvc>
m_d3pdSvc
;
79
81
ToolHandleArray<IObjFillerTool>
m_tools
;
82
84
ToolHandleArray<IMetadataTool>
m_metadataTools
;
85
87
bool
m_audit
;
88
90
std::string
m_tuplePath
;
91
93
ID3PD
*
m_d3pd
;
94
96
bool
m_booked
;
97
99
StatusCode (
D3PD::MakerAlg
::*
m_fillFunction
)( IObjFillerTool& );
100
};
101
102
103
}
// namespace D3PD
104
105
106
#endif
//not D3PDMAKERCORECOMPS_MAKERALG_H
FilteredAlgorithm.h
ID3PDSvc.h
Abstract interface for service to create D3PD trees.
ID3PD.h
Abstract interface for a D3PD tree.
IMetadataTool.h
Write metadata to a D3PD.
IObjFillerTool.h
Abstract interface for tool to fill an object in the D3PD.
D3PD::ID3PD
Define an abstract interface for building a D3PD tree.
Definition
ID3PD.h:37
D3PD::MakerAlg
Algorithm to create a D3PD tree.
Definition
MakerAlg.h:46
D3PD::MakerAlg::m_d3pd
ID3PD * m_d3pd
The created tuple. Note: we don't take ownership.
Definition
MakerAlg.h:93
D3PD::MakerAlg::execute
virtual StatusCode execute(const EventContext &ctx)
Standard Gaudi execute method.
Definition
MakerAlg.cxx:108
D3PD::MakerAlg::m_fillFunction
StatusCode(D3PD::MakerAlg::* m_fillFunction)(IObjFillerTool &)
Pointer to the fill function to be used.
Definition
MakerAlg.h:99
D3PD::MakerAlg::fillToolWithoutAuditor
StatusCode fillToolWithoutAuditor(IObjFillerTool &tool)
Cakk fill on a tool without an auditor.
Definition
MakerAlg.cxx:167
D3PD::MakerAlg::initialize
virtual StatusCode initialize()
Standard Gaudi initialize method.
Definition
MakerAlg.cxx:54
D3PD::MakerAlg::fillToolWithAuditor
StatusCode fillToolWithAuditor(IObjFillerTool &tool)
Call fill() on a tool with an auditor.
Definition
MakerAlg.cxx:152
D3PD::MakerAlg::m_d3pdSvc
ServiceHandle< ID3PDSvc > m_d3pdSvc
Property: The D3PD creation service.
Definition
MakerAlg.h:78
D3PD::MakerAlg::m_audit
bool m_audit
Property: Audit the tools with PerfMon or not?
Definition
MakerAlg.h:87
D3PD::MakerAlg::MakerAlg
MakerAlg(const std::string &name, ISvcLocator *svcloc)
Standard Gaudi algorithm constructor.
Definition
MakerAlg.cxx:26
D3PD::MakerAlg::finalize
virtual StatusCode finalize()
Standard Gaudi finalize method.
Definition
MakerAlg.cxx:94
D3PD::MakerAlg::m_booked
bool m_booked
Flag that we've called book().
Definition
MakerAlg.h:96
D3PD::MakerAlg::m_tools
ToolHandleArray< IObjFillerTool > m_tools
Property: List of object filler tools to run.
Definition
MakerAlg.h:81
D3PD::MakerAlg::m_tuplePath
std::string m_tuplePath
Property: The tuple name.
Definition
MakerAlg.h:90
D3PD::MakerAlg::m_metadataTools
ToolHandleArray< IMetadataTool > m_metadataTools
Property: List of metadata tools to run.
Definition
MakerAlg.h:84
FilteredAlgorithm
Base class for stream algorithms using DecisionSvc.
Definition
FilteredAlgorithm.h:20
ServiceHandle
Definition
ClusterMakerTool.h:36
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
Generated on
for ATLAS Offline Software by
1.17.0