#include <FileMetaDataCreatorTool.h>
Public Member Functions | |
FileMetaDataCreatorTool (const std::string &name="FileMetaDataCreatorTool") | |
Declare the correct constructor for Athena. | |
virtual StatusCode | initialize () |
Function initialising the tool. | |
virtual StatusCode | start () |
Protected Member Functions | |
Functions called by the AsgMetadataTool base class | |
virtual StatusCode | beginInputFile () |
Function collecting the metadata from a new input file. | |
virtual StatusCode | metaDataStop () |
Function writing the collected metadata to the output. |
Tool creating or propagating xAOD::FileMetaData information
This Athena-only tool can be used to create xAOD::FileMetaData information out of the non-ROOT-readable metadata available in the input.
Or, if the input file already has xAOD::FileMetaData payload, it is taken as is, and copied to the output.
The class uses asg::AsgMetadataTool as a base class for convenience, but it's not a dual-use tool. (Hence the header is hidden from the outside world.)
xAODMaker::FileMetaDataCreatorTool::FileMetaDataCreatorTool | ( | const std::string & | name = "FileMetaDataCreatorTool" |
) |
Declare the correct constructor for Athena.
Regular AsgTool constructor