LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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 44 of file FileCatalogMetadata.h.

Member Function Documentation

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

Definition at line 62 of file FileCatalogMetadata.h.

References metadataFromInput.

63  {
64  return cet::search_all(metadataFromInput(), name);
65  }
fhicl::Sequence< std::string > metadataFromInput

Member Data Documentation

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

Definition at line 46 of file FileCatalogMetadata.h.

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

Definition at line 48 of file FileCatalogMetadata.h.

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

Definition at line 45 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 67 of file FileCatalogMetadata.h.

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

Definition at line 50 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 53 of file FileCatalogMetadata.h.

Referenced by inMetadataList().

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

Definition at line 51 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 74 of file FileCatalogMetadata.h.


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