ATLAS Offline Software
MetaNames.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 //
9 // includes
10 //
11 
13 
14 #include <RootCoreUtils/Assert.h>
15 
16 //
17 // method implementations
18 //
19 
20 namespace SH
21 {
22  const std::string& MetaNames ::
23  openRetries ()
24  {
25  static const std::string result ("nc_open_retries");
26  return result;
27  }
28 
29 
30 
31  unsigned MetaNames ::
33  {
34  return 0;
35  }
36 
37 
38 
39  const std::string& MetaNames ::
41  {
42  static const std::string result ("nc_open_retries_wait");
43  return result;
44  }
45 
46 
47 
48  double MetaNames ::
50  {
51  return 300;
52  }
53 
54 
55 
56  const std::string& MetaNames ::
57  sampleName ()
58  {
59  static const std::string result ("sample_name");
60  return result;
61  }
62 }
get_generator_info.result
result
Definition: get_generator_info.py:21
SH::MetaNames::openRetries_default
static unsigned openRetries_default()
the default value of openRetries
Definition: MetaNames.cxx:32
SH::MetaNames::openRetriesWait_default
static double openRetriesWait_default()
the default value of openRetriesWait
Definition: MetaNames.cxx:49
Assert.h
MetaNames.h
SH::MetaNames::sampleName
static const std::string & sampleName()
the name of the sample being processed
Definition: MetaNames.cxx:57
SH::MetaNames::openRetriesWait
static const std::string & openRetriesWait()
the amount of time (in seconds) to wait when doing retries
Definition: MetaNames.cxx:40
SH::MetaNames::openRetries
static const std::string & openRetries()
the number of retries for opening a file
Definition: MetaNames.cxx:23
SH
This module provides a lot of global definitions, forward declarations and includes that are used by ...
Definition: PrunDriver.h:15