Public Member Functions | Public Attributes | List of all members
art::FileCatalogMetadata::Config Struct Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/Services/System/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::stringapplicationFamily
 
fhicl::OptionalAtom< std::stringapplicationVersion
 
fhicl::OptionalAtom< std::stringgroup {fhicl::Name("group")}
 
fhicl::OptionalAtom< std::stringprocessID {fhicl::Name("processID")}
 
fhicl::Sequence< std::stringmetadataFromInput
 
fhicl::Atom< std::stringfileType
 
fhicl::OptionalAtom< std::stringrunType
 

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, and cet::search_all().

63  {
65  }
const XML_Char * name
Definition: expat.h:151
fhicl::Sequence< std::string > metadataFromInput
bool search_all(FwdCont const &, Datum const &)

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: