CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
PixelPopConSourceHandler< T > Class Template Reference

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

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

Public Member Functions

virtual void getNewObjects ()
 
virtual void getNewObjects_coral ()
 
virtual void getNewObjects_file ()
 
virtual std::string id () const
 
- Public Member Functions inherited from popcon::PopConSourceHandler< T >
void convertFromOld ()
 
SummarydummySummary (typename OldContainer::value_type const &) const
 
void initialize (cond::DbSession dbSession, cond::TagInfo const &tagInfo, cond::LogDBEntry const &logDBEntry)
 
Ref lastPayload () const
 
cond::LogDBEntry const & logDBEntry () const
 
std::pair< Container const
*, std::string const > 
operator() (cond::DbSession session, cond::TagInfo const &tagInfo, cond::LogDBEntry const &logDBEntry) const
 
 PopConSourceHandler ()
 
Container const & returnData ()
 
void sort ()
 
cond::TagInfo const & tagInfo () const
 
std::string const & userTextLog () const
 
virtual ~PopConSourceHandler ()
 

Protected Attributes

std::string _configKeyName
 
std::string _connectString
 
int _runNumber
 
std::string _schemaName
 
unsigned int _sinceIOV
 
std::string _viewName
 
- Protected Attributes inherited from popcon::PopConSourceHandler< T >
OldContainer m_to_transfer
 
std::string m_userTextLog
 

Additional Inherited Members

- Public Types inherited from popcon::PopConSourceHandler< T >
typedef std::vector< TripletContainer
 
typedef std::vector< std::pair
< T *, cond::Time_t > > 
OldContainer
 
typedef PopConSourceHandler< T > self
 
typedef cond::Summary Summary
 
typedef cond::Time_t Time_t
 
typedef T value_type
 
- Protected Member Functions inherited from popcon::PopConSourceHandler< T >
int add (value_type *payload, Summary *summary, Time_t time)
 

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 ( )
inlinevirtual

Implements popcon::PopConSourceHandler< T >.

Definition at line 30 of file PixelPopConSourceHandler.h.

30  {
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()
tuple cout
Definition: gather_cfg.py:41
template<class T>
virtual void PixelPopConSourceHandler< T >::getNewObjects_coral ( )
inlinevirtual
template<class T>
virtual void PixelPopConSourceHandler< T >::getNewObjects_file ( )
inlinevirtual
template<class T>
virtual std::string PixelPopConSourceHandler< T >::id ( void  ) const
inlinevirtual

Implements popcon::PopConSourceHandler< T >.

Reimplemented in PixelPopConCalibSourceHandler.

Definition at line 45 of file PixelPopConSourceHandler.h.

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