$treeview $search $mathjax $extrastylesheet
artdaq_core  v3_06_01
$projectbrief
$projectbrief
$searchbox

mfplugins::ELGenFileOutput::Config Struct Reference

Parameters used to configure GenFileOutput. More...

List of all members.

Public Attributes

fhicl::TableFragment
< ELdestination::Config > 
elDestConfig
 ELDestination common configuration parameters.
fhicl::Atom< bool > append
 "append" (Default: true): Whether to append to the file or recreate it
fhicl::Atom< std::string > baseDir
 "directory" (Default: "/tmp"): The directory into which files will be saved
fhicl::Atom< std::string > sep
 "seperator" (Default: "-"): Separator to use after optional replacement parameters
fhicl::Atom< std::string > timePattern
 "timestamp_pattern" (Default: "%Y%m%d%H%M%S"): Pattern to use for t strftime replacement
fhicl::Atom< std::string > filePattern
 "pattern" (Default: "%N-%?H%t-%p.log"): Pattern to use for file naming.

Detailed Description

Parameters used to configure GenFileOutput.

Definition at line 29 of file GenFile_mfPlugin.cc.


Member Data Documentation

Initial value:
 fhicl::Atom<bool>{
            fhicl::Name{"append"}, fhicl::Comment{"Whether to append to the file or recreate it"}, true}

"append" (Default: true): Whether to append to the file or recreate it

Definition at line 34 of file GenFile_mfPlugin.cc.

Initial value:
 fhicl::Atom<std::string>{
            fhicl::Name{"directory"}, fhicl::Comment{"The directory into which files will be saved"}, "/tmp"}

"directory" (Default: "/tmp"): The directory into which files will be saved

Definition at line 37 of file GenFile_mfPlugin.cc.

Initial value:
 fhicl::Atom<std::string>{fhicl::Name{"pattern"}, fhicl::Comment{"Pattern to use for file naming.\n"
                                                                                                               " Supported parameters are:\n"
                                                                                                               " %%: Print a % sign\n"
                                                                                                               " %N: Print the executable name, as retrieved from /proc/<pid>/exe\n"
                                                                                                               " %?N: Print the executable name only if it does not already appear in the parsed format. "
                                                                                                               "Format is parsed left-to-right.\n"
                                                                                                               " These options add a seperator AFTER if they are filled and if they are not the last token in "
                                                                                                               "the file pattern, before the last '.' character.\n"
                                                                                                               " %H: Print the hostname, without any domain specifiers (i.e. work.fnal.gov will become work)\n"
                                                                                                               " %?H: Print the hostname only if it does not already appear in the parsed format.\n"
                                                                                                               " %p: Print the PID of the application configuring MessageFacility\n"
                                                                                                               " %t: Print the timestamp using the format specified by timestamp_pattern\n"
                                                                                                               " %T: Print the timestamp in ISO format"},
                                                                        "%N-%?H%t-%p.log"}

"pattern" (Default: "%N-%?H%t-%p.log"): Pattern to use for file naming.

" Supported parameters are:\n" %%: Print a % sign N: Print the executable name, as retrieved from /proc/$pid/exe %?N: Print the executable name only if it does not already appear in the parsed format. Format is parsed left-to-right. These options add a seperator AFTER if they are filled and if they are not the last token in the file pattern, before the last '.' character. H: Print the hostname, without any domain specifiers (i.e. work.fnal.gov will become work) %?H: Print the hostname only if it does not already appear in the parsed format. p: Print the PID of the application configuring MessageFacility t: Print the timestamp using the format specified by timestamp_pattern T: Print the timestamp in ISO format

Definition at line 59 of file GenFile_mfPlugin.cc.

fhicl::Atom<std::string> mfplugins::ELGenFileOutput::Config::sep
Initial value:
 fhicl::Atom<std::string>{
            fhicl::Name{"seperator"}, fhicl::Comment{"Separator to use after optional replacement parameters"}, "-"}

"seperator" (Default: "-"): Separator to use after optional replacement parameters

Definition at line 40 of file GenFile_mfPlugin.cc.

Initial value:
 fhicl::Atom<std::string>{
            fhicl::Name{"timestamp_pattern"}, fhicl::Comment{"Pattern to use for %t strftime replacement"}, "%Y%m%d%H%M%S"}

"timestamp_pattern" (Default: "%Y%m%d%H%M%S"): Pattern to use for t strftime replacement

Definition at line 43 of file GenFile_mfPlugin.cc.


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

Generated on 24 Aug 2020 for artdaq_core by  doxygen 1.6.1