SH::MetaNames Struct Reference

the names of common meta-data More...

#include <MetaNames.h>

List of all members.

Static Public Member Functions

static const std::string & openRetries ()
 the number of retries for opening a file
static unsigned openRetries_default ()
 the default value of openRetries
static const std::string & openRetriesWait ()
 the amount of time (in seconds) to wait when doing retries
static double openRetriesWait_default ()
 the default value of openRetriesWait
static const std::string & sampleName ()
 the name of the sample being processed

Detailed Description

the names of common meta-data

This is supposed to feed into the names in SH::MetaFields and EL::Job as this uses static functions which have no load order dependencies. Over time it may also replace them.


Member Function Documentation

const std::string & SH::MetaNames::openRetriesWait (  )  [static]

the amount of time (in seconds) to wait when doing retries

when an open fails this is the maximum number of seconds to wait, the actual time will be randomized. the rationale is that if the open failed because a hundred batch jobs try to open a file at the same time, then it is not very helpful if those hundred batch jobs retry all at the same time.

const std::string & SH::MetaNames::sampleName (  )  [static]

the name of the sample being processed

this gets set inside the Sample accessor methods for the name. the point here is that normally you would access the sample name via the accessors, but if all you have is the sample meta-data you can use that to extract the name


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1