CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiteLocalConfigService.h
Go to the documentation of this file.
1 #ifndef FWCore_Services_SiteLocalConfigService_H
2 #define FWCore_Services_SiteLocalConfigService_H
3 
4 //<<<<<< INCLUDES >>>>>>
5 #include <string>
6 #include <list>
7 #include <vector>
9 //<<<<<< PUBLIC DEFINES >>>>>>
10 //<<<<<< PUBLIC CONSTANTS >>>>>>
11 //<<<<<< PUBLIC TYPES >>>>>>
12 namespace edm {
13  class ParameterSet;
14 }
15 
16 //<<<<<< PUBLIC VARIABLES >>>>>>
17 //<<<<<< PUBLIC FUNCTIONS >>>>>>
18 //<<<<<< CLASS DECLARATIONS >>>>>>
19 
20 namespace edm {
22  namespace service {
24  public:
25  explicit SiteLocalConfigService(ParameterSet const& pset);
26 
27  std::string const dataCatalog(void) const;
28  std::string const fallbackDataCatalog(void) const;
29  std::string const lookupCalibConnect(std::string const& input) const;
30  std::string const rfioType(void) const;
31 
32  std::string const* sourceCacheTempDir() const;
33  double const* sourceCacheMinFree() const;
34  std::string const* sourceCacheHint() const;
35  std::string const* sourceReadHint() const;
36  unsigned int const* sourceTTreeCacheSize() const;
37  unsigned int const* sourceTimeout() const;
38  std::vector<std::string> const* sourceNativeProtocols() const;
39  // implicit copy constructor
40  // implicit assignment operator
41  // implicit destructor
42 
43  static void fillDescriptions(ConfigurationDescriptions& descriptions);
44 
45  private:
46  void parse (std::string const& url);
47  std::string const frontierConnect(std::string const& servlet) const;
48  std::string m_url;
49  std::string m_dataCatalog;
50  std::string m_fallbackDataCatalog;
51  std::string m_frontierConnect;
52  std::string m_rfioType;
54  std::string m_cacheTempDir;
55  std::string const* m_cacheTempDirPtr;
57  double const* m_cacheMinFreePtr;
58  std::string m_cacheHint;
59  std::string const* m_cacheHintPtr;
60  std::string m_readHint;
61  std::string const* m_readHintPtr;
62  unsigned int m_ttreeCacheSize;
63  unsigned int const* m_ttreeCacheSizePtr;
64  unsigned int m_timeout;
65  unsigned int const* m_timeoutPtr;
66  std::vector<std::string> m_nativeProtocols;
67  std::vector<std::string> const* m_nativeProtocolsPtr;
68  };
69  }
70 }
71 
72 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>>
73 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>>
74 
75 #endif // FRAMEWORK_SITE_LOCAL_CONFIG_H
std::string const fallbackDataCatalog(void) const
static void fillDescriptions(ConfigurationDescriptions &descriptions)
std::string const rfioType(void) const
std::string const dataCatalog(void) const
std::vector< std::string > const * m_nativeProtocolsPtr
std::string const lookupCalibConnect(std::string const &input) const
std::string const * sourceCacheHint() const
std::string const * sourceReadHint() const
tuple pset
Definition: CrabTask.py:85
std::vector< std::string > m_nativeProtocols
tuple input
Definition: collect_tpl.py:10
SiteLocalConfigService(ParameterSet const &pset)
std::string const * sourceCacheTempDir() const
unsigned int const * sourceTimeout() const
std::string const frontierConnect(std::string const &servlet) const
std::vector< std::string > const * sourceNativeProtocols() const
unsigned int const * sourceTTreeCacheSize() const