ATLAS Offline Software
Loading...
Searching...
No Matches
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
21#ifndef XAOD_STANDALONE
23#endif
24
26#ifndef XAOD_STANDALONE
27 , public virtual IMetaDataTool
28#endif
29{
30#ifndef XAOD_STANDALONE
33#endif
34
35public:
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
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
This file contains the class definition for the IMetaDataTool class.
virtual StatusCode endInputFile() final
Function called when the currently open input file got completely processed.
virtual StatusCode beginInputFile(const SG::SourceID &) final
Function called when a new input file is opened.
virtual StatusCode metaDataStop() final
Function called when the tool should write out its metadata.
Gaudi::Property< bool > m_allVariations
virtual StatusCode initialize() final
Dummy implementation of the initialisation function.
Gaudi::Property< bool > m_standaloneMode
BookkeeperDumperTool(const std::string &name="BookkeeperDumperTool")
Declare the correct constructor for Athena.
virtual StatusCode beginInputFile() final
Function called when a new input file is opened.
virtual StatusCode endInputFile(const SG::SourceID &) final
Function called when the currently open input file got completely processed.
This class provides the interface for MetaDataTools.
Base class for dual-use tools that provide file metadata access.