CMS 3D CMS Logo

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  void getNewObjects() override {
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  std::string id() const override {return std::string("PixelPopConSourceHandler");}
46 
47  protected:
53  unsigned int _sinceIOV;
54 
55 };
56 
57 
58 
59 
60 
61 
62 
63 
64 #endif
std::string id() const override