CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PixelPopConSourceHandler.h
Go to the documentation of this file.
1 #ifndef PIXELPOPCONSOURCEHANDLER_H
2 #define PIXELPOPCONSOURCEHANDLER_H
3 
4 // Package: CondTools/SiPixel
5 // Class: PixelPopConSourceHandler
13 //
14 // Original Author: Michael Eads
15 // Created: 19 Apr 2008
16 //
17 //
18 
20 #include <string>
21 #include <iostream>
23 
24 template <class T>
26 
27  public:
28  //PixelPopConSourceHandler(edm::ParameterSet const &) {;}
29 
30  virtual void getNewObjects() {
31  // look at _connectString to see which method to call
32  if (_connectString.find("oracle") == 0)
34  else if (_connectString.find("file") == 0)
36  else {
37  std::cout << " PixelPopConSourceHandler::getNewObjects() - unknown connect string:" << _connectString << std::endl;
38  std::cout << " connect string must begin with \"oracle\" or \"file\"" << std::endl;
39  }
40 
41  } // virtual void getNewObjects()
42 
43  virtual void getNewObjects_coral() {;}
44  virtual void getNewObjects_file() {;}
45  virtual std::string id() const {return std::string("PixelPopConSourceHandler");}
46 
47  protected:
48  std::string _connectString;
49  std::string _schemaName;
50  std::string _viewName;
51  std::string _configKeyName;
53  unsigned int _sinceIOV;
54 
55 };
56 
57 
58 
59 
60 
61 
62 
63 
64 #endif
virtual std::string id() const
tuple cout
Definition: gather_cfg.py:121