CMS 3D CMS Logo

Public Member Functions | Protected Attributes

PixelPopConSourceHandler< T > Class Template Reference

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

Inheritance diagram for PixelPopConSourceHandler< T >:
popcon::PopConSourceHandler< T >

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.

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

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.

                               {
    // look at _connectString to see which method to call
    if (_connectString.find("oracle") == 0)
      getNewObjects_coral();
    else if (_connectString.find("file") == 0)
      getNewObjects_file();
    else {
      std::cout << "  PixelPopConSourceHandler::getNewObjects() - unknown connect string:" << _connectString << std::endl;
      std::cout << "    connect string must begin with \"oracle\" or \"file\"" << std::endl;
    }
    
  } // virtual void getNewObjects()
template<class T>
virtual void PixelPopConSourceHandler< T >::getNewObjects_coral ( ) [inline, virtual]
template<class T>
virtual void PixelPopConSourceHandler< T >::getNewObjects_file ( ) [inline, virtual]
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.

{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]
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.