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  unsigned int debugLevel() const;
39  std::vector<std::string> const* sourceNativeProtocols() const;
40  // implicit copy constructor
41  // implicit assignment operator
42  // implicit destructor
43 
44  static void fillDescriptions(ConfigurationDescriptions& descriptions);
45 
46  private:
47  void parse (std::string const& url);
48  std::string const frontierConnect(std::string const& servlet) const;
49  std::string m_url;
50  std::string m_dataCatalog;
51  std::string m_fallbackDataCatalog;
52  std::string m_frontierConnect;
53  std::string m_rfioType;
55  std::string m_cacheTempDir;
56  std::string const* m_cacheTempDirPtr;
58  double const* m_cacheMinFreePtr;
59  std::string m_cacheHint;
60  std::string const* m_cacheHintPtr;
61  std::string m_readHint;
62  std::string const* m_readHintPtr;
63  unsigned int m_ttreeCacheSize;
64  unsigned int const* m_ttreeCacheSizePtr;
65  unsigned int m_timeout;
66  unsigned int const* m_timeoutPtr;
67  unsigned int m_debugLevel;
68  std::vector<std::string> m_nativeProtocols;
69  std::vector<std::string> const* m_nativeProtocolsPtr;
70  };
71 
72  inline
74  return true;
75  }
76  }
77 }
78 
79 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>>
80 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>>
81 
82 #endif // FRAMEWORK_SITE_LOCAL_CONFIG_H
std::string const fallbackDataCatalog(void) const
static void fillDescriptions(ConfigurationDescriptions &descriptions)
std::string const rfioType(void) const
bool isProcessWideService(TFileService const *)
Definition: TFileService.h:43
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
std::vector< std::string > m_nativeProtocols
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