ATLAS Offline Software
|
the names of common meta-data More...
#include <MetaNames.h>
Static Public Member Functions | |
static const std::string & | openRetries () |
the number of retries for opening a file More... | |
static unsigned | openRetries_default () |
the default value of openRetries More... | |
static const std::string & | openRetriesWait () |
the amount of time (in seconds) to wait when doing retries More... | |
static double | openRetriesWait_default () |
the default value of openRetriesWait More... | |
static const std::string & | sampleName () |
the name of the sample being processed More... | |
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.
Definition at line 23 of file MetaNames.h.
|
static |
the number of retries for opening a file
Definition at line 22 of file MetaNames.cxx.
|
static |
the default value of openRetries
Definition at line 31 of file MetaNames.cxx.
|
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.
Definition at line 39 of file MetaNames.cxx.
|
static |
the default value of openRetriesWait
Definition at line 48 of file MetaNames.cxx.
|
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
Definition at line 56 of file MetaNames.cxx.