1 #ifndef art_Framework_Core_FileCatalogMetadataPlugin_h 2 #define art_Framework_Core_FileCatalogMetadataPlugin_h 38 #include "cetlib/PluginTypeDeducer.h" 39 #include "cetlib/ProvideFilePathMacro.h" 43 #define DEFINE_ART_FILECATALOGMETADATA_PLUGIN(klass) \ 44 CET_PROVIDE_FILE_PATH() \ 45 FHICL_PROVIDE_ALLOWED_CONFIGURATION(klass) \ 46 DEFINE_BASIC_PLUGIN(klass, art::FileCatalogMetadataPlugin) 49 class FileCatalogMetadataPlugin;
59 struct PluginTypeDeducer<
art::FileCatalogMetadataPlugin> {
72 void doCollectMetadata(
Event const&
e);
73 void doBeginRun(
Run const& r);
74 void doEndRun(
Run const& r);
75 void doBeginSubRun(
SubRun const& sr);
76 void doEndSubRun(
SubRun const& sr);
77 collection_type doProduceMetadata();
89 virtual collection_type produceMetadata() = 0;
138 return produceMetadata();