CMS 3D CMS Logo

PixelPopConSourceHandler< T > Class Template Reference

Description: The PopCon source handler class to transfer pixel calibration objects from OMDS to ORCON. More...

#include <CondTools/SiPixel/src/PixelPopConSourceHandler.cc>

Inheritance diagram for PixelPopConSourceHandler< T >:

popcon::PopConSourceHandler< T > PixelPopConDCSCablingSourceHandler PixelPopConDCSInfoSourceHandler

List of all members.

Public Member Functions

virtual void getNewObjects ()
virtual void getNewObjects_coral ()
virtual void getNewObjects_file ()
virtual std::string id () const

Protected Attributes

std::string _configKeyName
std::string _connectString
int _runNumber
std::string _schemaName
unsigned int _sinceIOV
std::string _viewName


Detailed Description

template<class T>
class PixelPopConSourceHandler< T >

Description: The PopCon source handler class to transfer pixel calibration objects from OMDS to ORCON.

Description: PopCon source handler base class for all pixel popcon applications.

Implementation: <Notes on="" implementation>="">

Definition at line 25 of file PixelPopConSourceHandler.h.


Member Function Documentation

template<class T>
virtual void PixelPopConSourceHandler< T >::getNewObjects (  )  [inline, virtual]

Implements popcon::PopConSourceHandler< T >.

Definition at line 30 of file PixelPopConSourceHandler.h.

00030                                {
00031     // look at _connectString to see which method to call
00032     if (_connectString.find("oracle") == 0)
00033       getNewObjects_coral();
00034     else if (_connectString.find("file") == 0)
00035       getNewObjects_file();
00036     else {
00037       std::cout << "  PixelPopConSourceHandler::getNewObjects() - unknown connect string:" << _connectString << std::endl;
00038       std::cout << "    connect string must begin with \"oracle\" or \"file\"" << std::endl;
00039     }
00040     
00041   } // virtual void getNewObjects()

template<class T>
virtual void PixelPopConSourceHandler< T >::getNewObjects_coral (  )  [inline, virtual]

Reimplemented in PixelPopConCalibSourceHandler.

Definition at line 43 of file PixelPopConSourceHandler.h.

Referenced by PixelPopConSourceHandler< SiPixelDisabledModules >::getNewObjects().

00043 {;}

template<class T>
virtual void PixelPopConSourceHandler< T >::getNewObjects_file (  )  [inline, virtual]

Reimplemented in PixelPopConCalibSourceHandler.

Definition at line 44 of file PixelPopConSourceHandler.h.

Referenced by PixelPopConSourceHandler< SiPixelDisabledModules >::getNewObjects().

00044 {;}

template<class T>
virtual std::string PixelPopConSourceHandler< T >::id ( void   )  const [inline, virtual]

Implements popcon::PopConSourceHandler< T >.

Reimplemented in PixelPopConCalibSourceHandler.

Definition at line 45 of file PixelPopConSourceHandler.h.

00045 {return std::string("PixelPopConSourceHandler");}


Member Data Documentation

template<class T>
std::string PixelPopConSourceHandler< T >::_configKeyName [protected]

Definition at line 51 of file PixelPopConSourceHandler.h.

template<class T>
std::string PixelPopConSourceHandler< T >::_connectString [protected]

Definition at line 48 of file PixelPopConSourceHandler.h.

Referenced by PixelPopConSourceHandler< SiPixelDisabledModules >::getNewObjects().

template<class T>
int PixelPopConSourceHandler< T >::_runNumber [protected]

Definition at line 52 of file PixelPopConSourceHandler.h.

template<class T>
std::string PixelPopConSourceHandler< T >::_schemaName [protected]

Definition at line 49 of file PixelPopConSourceHandler.h.

template<class T>
unsigned int PixelPopConSourceHandler< T >::_sinceIOV [protected]

Definition at line 53 of file PixelPopConSourceHandler.h.

template<class T>
std::string PixelPopConSourceHandler< T >::_viewName [protected]

Definition at line 50 of file PixelPopConSourceHandler.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:30:03 2009 for CMSSW by  doxygen 1.5.4