Public Member Functions | Private Member Functions | List of all members
arttest::TestMetadata Class Reference
Inheritance diagram for arttest::TestMetadata:
art::FileCatalogMetadataPlugin

Public Member Functions

 TestMetadata (fhicl::ParameterSet const &pset)
 
- Public Member Functions inherited from art::FileCatalogMetadataPlugin
virtual ~FileCatalogMetadataPlugin ()=default
 
 FileCatalogMetadataPlugin (fhicl::ParameterSet const &pset)
 
void doBeginJob ()
 
void doEndJob ()
 
void doBeginRun (Run const &r)
 
void doEndRun (Run const &r)
 
void doBeginSubRun (SubRun const &sr)
 
void doEndSubRun (SubRun const &sr)
 
void doCollectMetadata (Event const &e)
 
collection_type doProduceMetadata ()
 

Private Member Functions

void beginJob () override
 
void endJob () override
 
void collectMetadata (art::Event const &e) override
 
void beginRun (art::Run const &r) override
 
void endRun (art::Run const &r) override
 
void beginSubRun (art::SubRun const &sr) override
 
void endSubRun (art::SubRun const &sr) override
 
collection_type produceMetadata () override
 

Additional Inherited Members

- Public Types inherited from art::FileCatalogMetadataPlugin
typedef FileCatalogMetadata::collection_type collection_type
 

Detailed Description

Definition at line 14 of file TestMetadata_plugin.cc.

Constructor & Destructor Documentation

arttest::TestMetadata::TestMetadata ( fhicl::ParameterSet const &  pset)

Definition at line 29 of file TestMetadata_plugin.cc.

31 {}
FileCatalogMetadataPlugin(fhicl::ParameterSet const &pset)

Member Function Documentation

void arttest::TestMetadata::beginJob ( )
overrideprivatevirtual

Reimplemented from art::FileCatalogMetadataPlugin.

Definition at line 34 of file TestMetadata_plugin.cc.

35 {
36  std::cout << "TestMetadataPlugin::beginJob()" << std::endl;
37 }
void arttest::TestMetadata::beginRun ( art::Run const &  r)
overrideprivatevirtual

Reimplemented from art::FileCatalogMetadataPlugin.

Definition at line 52 of file TestMetadata_plugin.cc.

53 {
54  std::cout << "TestMetadataPlugin::beginRun()" << std::endl;
55 }
void arttest::TestMetadata::beginSubRun ( art::SubRun const &  sr)
overrideprivatevirtual

Reimplemented from art::FileCatalogMetadataPlugin.

Definition at line 64 of file TestMetadata_plugin.cc.

65 {
66  std::cout << "TestMetadataPlugin::beginSubRun()" << std::endl;
67 }
void arttest::TestMetadata::collectMetadata ( art::Event const &  e)
overrideprivatevirtual

Reimplemented from art::FileCatalogMetadataPlugin.

Definition at line 46 of file TestMetadata_plugin.cc.

47 {
48  std::cout << "TestMetadataPlugin::collectMetadata()" << std::endl;
49 }
void arttest::TestMetadata::endJob ( )
overrideprivatevirtual

Reimplemented from art::FileCatalogMetadataPlugin.

Definition at line 40 of file TestMetadata_plugin.cc.

41 {
42  std::cout << "TestMetadataPlugin::endJob()" << std::endl;
43 }
void arttest::TestMetadata::endRun ( art::Run const &  r)
overrideprivatevirtual

Reimplemented from art::FileCatalogMetadataPlugin.

Definition at line 58 of file TestMetadata_plugin.cc.

59 {
60  std::cout << "TestMetadataPlugin::endRun()" << std::endl;
61 }
void arttest::TestMetadata::endSubRun ( art::SubRun const &  sr)
overrideprivatevirtual

Reimplemented from art::FileCatalogMetadataPlugin.

Definition at line 70 of file TestMetadata_plugin.cc.

71 {
72  std::cout << "TestMetadataPlugin::endSubRun()" << std::endl;
73 }
auto arttest::TestMetadata::produceMetadata ( )
overrideprivatevirtual

Implements art::FileCatalogMetadataPlugin.

Definition at line 76 of file TestMetadata_plugin.cc.

77 {
78  collection_type result{{"key1", "\"value1\""}, {"key2", "\"value2\""}};
79  std::cout << "TestMetadataPlugin::produceMetadata()" << std::endl;
80  return result;
81 }
FileCatalogMetadata::collection_type collection_type

The documentation for this class was generated from the following file: