CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TFileAdaptor.h
Go to the documentation of this file.
1 #ifndef IOPool_TFileAdaptor_TFileAdaptor_h
2 #define IOPool_TFileAdaptor_TFileAdaptor_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
7 
8 class TPluginManager;
9 
10 namespace edm {
11  class ActivityRegistry;
13  class ParameterSet;
14 }
15 
16 // Driver for configuring ROOT plug-in manager to use TStorageFactoryFile.
17 class TFileAdaptor {
18 public:
20 
21  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
22 
23  friend class TFileAdaptorUI;
24 private:
25  // Write current Storage statistics on a ostream
26  void termination(void) const;
27 
28  //Called by TFileAdaptorUI
29  void stats(std::ostream &o) const;
30 
31  void statsXML(std::map<std::string, std::string> &data) const;
32 
33  static void addType(TPluginManager* mgr, char const* type, int altType=0);
34  bool native(char const* proto) const;
35 
36  bool enabled_;
37  bool doStats_;
42  double minFree_;
43  unsigned int timeout_;
44  unsigned int debugLevel_;
45  std::vector<std::string> native_;
46 
47 };
48 
49 namespace edm {
50  namespace service {
51  inline
53  return true;
54  }
55  }
56 }
57 #endif
type
Definition: HCALResponse.h:21
unsigned int timeout_
Definition: TFileAdaptor.h:43
bool native(char const *proto) const
Definition: TFileAdaptor.cc:76
std::string cacheHint_
Definition: TFileAdaptor.h:39
bool isProcessWideService(TFileService const *)
Definition: TFileService.h:99
std::string readHint_
Definition: TFileAdaptor.h:40
void stats(std::ostream &o) const
double minFree_
Definition: TFileAdaptor.h:42
std::string tempDir_
Definition: TFileAdaptor.h:41
unsigned int debugLevel_
Definition: TFileAdaptor.h:44
bool enablePrefetching_
Definition: TFileAdaptor.h:38
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< std::string > native_
Definition: TFileAdaptor.h:45
static void addType(TPluginManager *mgr, char const *type, int altType=0)
Definition: TFileAdaptor.cc:40
TFileAdaptor(edm::ParameterSet const &pset, edm::ActivityRegistry &ar)
Definition: TFileAdaptor.cc:81
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void termination(void) const
void statsXML(std::map< std::string, std::string > &data) const