LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
art::FileCatalogMetadata::Config Struct Reference

#include "FileCatalogMetadata.h"

Public Member Functions

bool inMetadataList (std::string const &name) const
 

Public Attributes

fhicl::Atom< bool > checkSyntax {fhicl::Name("checkSyntax"), false}
 
fhicl::OptionalAtom< std::string > applicationFamily
 
fhicl::OptionalAtom< std::string > applicationVersion
 
fhicl::OptionalAtom< std::string > group {fhicl::Name("group")}
 
fhicl::OptionalAtom< std::string > processID {fhicl::Name("processID")}
 
fhicl::Sequence< std::string > metadataFromInput
 
fhicl::Atom< std::string > fileType
 
fhicl::OptionalAtom< std::string > runType
 

Detailed Description

Definition at line 26 of file FileCatalogMetadata.h.

Member Function Documentation

bool art::FileCatalogMetadata::Config::inMetadataList ( std::string const &  name) const
inline

Definition at line 44 of file FileCatalogMetadata.h.

References metadataFromInput.

45  {
46  return cet::search_all(metadataFromInput(), name);
47  }
fhicl::Sequence< std::string > metadataFromInput

Member Data Documentation

fhicl::OptionalAtom<std::string> art::FileCatalogMetadata::Config::applicationFamily
Initial value:
{
fhicl::Name("applicationFamily")}

Definition at line 28 of file FileCatalogMetadata.h.

fhicl::OptionalAtom<std::string> art::FileCatalogMetadata::Config::applicationVersion
Initial value:
{
fhicl::Name("applicationVersion")}

Definition at line 30 of file FileCatalogMetadata.h.

fhicl::Atom<bool> art::FileCatalogMetadata::Config::checkSyntax {fhicl::Name("checkSyntax"), false}

Definition at line 27 of file FileCatalogMetadata.h.

fhicl::Atom<std::string> art::FileCatalogMetadata::Config::fileType
Initial value:
{
fhicl::Name("fileType"),
fhicl::Comment("Can specify 'fileType' only if it is not specified\n"
"in the 'metadataFromInput' list."),
[this] { return !inMetadataList("fileType"); },
"unknown"}

Definition at line 49 of file FileCatalogMetadata.h.

fhicl::OptionalAtom<std::string> art::FileCatalogMetadata::Config::group {fhicl::Name("group")}

Definition at line 32 of file FileCatalogMetadata.h.

fhicl::Sequence<std::string> art::FileCatalogMetadata::Config::metadataFromInput
Initial value:
{
fhicl::Name("metadataFromInput"),
"This list specifies the metadata that is inherited\n"
"from the input file. Currently only the run type and\n"
"file type metadata can be inherited. The default list is empty."),
std::vector<std::string>{}}

Definition at line 35 of file FileCatalogMetadata.h.

Referenced by inMetadataList().

fhicl::OptionalAtom<std::string> art::FileCatalogMetadata::Config::processID {fhicl::Name("processID")}

Definition at line 33 of file FileCatalogMetadata.h.

fhicl::OptionalAtom<std::string> art::FileCatalogMetadata::Config::runType
Initial value:
{
fhicl::Name("runType"),
fhicl::Comment("Can specify 'runType' only if it is not specified\n"
"in the 'metadataFromInput' list."),
[this] { return !inMetadataList("runType"); }}

Definition at line 56 of file FileCatalogMetadata.h.


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