Write xAOD::FileMetaData early to support event service
In the previous design, the FileMetaDataCreatorTool wrote the FileMetaData object to the MetaDataStore (via the MetaDataSvc) in preFinalize. But in event service a given range of events may be written to file before then. This causes a failure. To support event stream the tool now writes the output FileMetaData object as early as possible.
Edited by Frank Berghaus