ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
EventBookkeeperTools
EventBookkeeperTools
BookkeeperDumperTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef EVENT_BOOKKEEPER_TOOLS__BOOKKEEPER_DUMPER_TOOL_H
6
#define EVENT_BOOKKEEPER_TOOLS__BOOKKEEPER_DUMPER_TOOL_H
7
12
18
19
#include <
AsgTools/AsgMetadataTool.h
>
20
#include <
AsgTools/PropertyWrapper.h
>
21
#ifndef XAOD_STANDALONE
22
#include <
AthenaKernel/IMetaDataTool.h
>
23
#endif
24
25
class
BookkeeperDumperTool
:
public
asg::AsgMetadataTool
26
#ifndef XAOD_STANDALONE
27
,
public
virtual
IMetaDataTool
28
#endif
29
{
30
#ifndef XAOD_STANDALONE
32
ASG_TOOL_CLASS
(
BookkeeperDumperTool
,
IMetaDataTool
)
33
#endif
34
35
public
:
36
BookkeeperDumperTool
(
const
std::string &name =
"BookkeeperDumperTool"
);
37
38
virtual
StatusCode
initialize
()
final
;
39
40
virtual
StatusCode
beginInputFile
()
final
;
41
virtual
StatusCode
endInputFile
() final {
return
StatusCode::SUCCESS; }
42
virtual
StatusCode
metaDataStop
() final {
return
StatusCode::SUCCESS; }
43
44
#ifndef XAOD_STANDALONE
45
virtual
StatusCode
beginInputFile
(
const
SG::SourceID
&)
final
{
return
StatusCode::SUCCESS; }
46
virtual
StatusCode
endInputFile
(
const
SG::SourceID
&)
final
{
return
StatusCode::SUCCESS; }
47
#endif
48
49
Gaudi::Property<bool>
m_allVariations
{
this
,
"AllVariations"
,
false
,
"Dump all variations"
};
50
Gaudi::Property<bool>
m_standaloneMode
{
this
,
"StandaloneMode"
,
false
,
"Dump on initialize when running standalone"
};
51
};
52
53
#endif
AsgMetadataTool.h
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
IMetaDataTool.h
This file contains the class definition for the IMetaDataTool class.
PropertyWrapper.h
BookkeeperDumperTool::endInputFile
virtual StatusCode endInputFile() final
Function called when the currently open input file got completely processed.
Definition
BookkeeperDumperTool.h:41
BookkeeperDumperTool::beginInputFile
virtual StatusCode beginInputFile(const SG::SourceID &) final
Function called when a new input file is opened.
Definition
BookkeeperDumperTool.h:45
BookkeeperDumperTool::metaDataStop
virtual StatusCode metaDataStop() final
Function called when the tool should write out its metadata.
Definition
BookkeeperDumperTool.h:42
BookkeeperDumperTool::m_allVariations
Gaudi::Property< bool > m_allVariations
Definition
BookkeeperDumperTool.h:49
BookkeeperDumperTool::initialize
virtual StatusCode initialize() final
Dummy implementation of the initialisation function.
Definition
BookkeeperDumperTool.cxx:24
BookkeeperDumperTool::m_standaloneMode
Gaudi::Property< bool > m_standaloneMode
Definition
BookkeeperDumperTool.h:50
BookkeeperDumperTool::BookkeeperDumperTool
BookkeeperDumperTool(const std::string &name="BookkeeperDumperTool")
Declare the correct constructor for Athena.
Definition
BookkeeperDumperTool.cxx:15
BookkeeperDumperTool::beginInputFile
virtual StatusCode beginInputFile() final
Function called when a new input file is opened.
Definition
BookkeeperDumperTool.cxx:34
BookkeeperDumperTool::endInputFile
virtual StatusCode endInputFile(const SG::SourceID &) final
Function called when the currently open input file got completely processed.
Definition
BookkeeperDumperTool.h:46
IMetaDataTool
This class provides the interface for MetaDataTools.
Definition
IMetaDataTool.h:20
asg::AsgMetadataTool
Base class for dual-use tools that provide file metadata access.
Definition
AsgMetadataTool.h:48
SG::SourceID
std::string SourceID
Definition
AthenaKernel/AthenaKernel/SourceID.h:25
Generated on
for ATLAS Offline Software by
1.17.0