CMS 3D CMS Logo

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

void getNewObjects () override
 
virtual void getNewObjects_coral ()
 
virtual void getNewObjects_file ()
 
std::string id () const override
 
- Public Member Functions inherited from popcon::PopConSourceHandler< T >
void convertFromOld ()
 
SummarydummySummary (typename OldContainer::value_type const &) const
 
void initialize (const cond::persistency::Session &dbSession, cond::TagInfo_t const &tagInfo, cond::LogDBEntry_t const &logDBEntry)
 
Ref lastPayload () const
 
cond::LogDBEntry_t const & logDBEntry () const
 
std::pair< Container const *, std::string const > operator() (const cond::persistency::Session &session, cond::TagInfo_t const &tagInfo, cond::LogDBEntry_t const &logDBEntry) const
 
 PopConSourceHandler ()
 
Container const & returnData ()
 
void sort ()
 
cond::TagInfo_t 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< Tself
 
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)
 
cond::persistency::SessiondbSession () const
 

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>
void PixelPopConSourceHandler< T >::getNewObjects ( )
inlineoverridevirtual

Implements popcon::PopConSourceHandler< T >.

Definition at line 29 of file PixelPopConSourceHandler.h.

29  {
30  // look at _connectString to see which method to call
31  if (_connectString.find("oracle") == 0)
33  else if (_connectString.find("file") == 0)
35  else {
36  std::cout << " PixelPopConSourceHandler::getNewObjects() - unknown connect string:" << _connectString
37  << std::endl;
38  std::cout << " connect string must begin with \"oracle\" or \"file\"" << std::endl;
39  }
40 
41  } // virtual void getNewObjects()
template<class T>
virtual void PixelPopConSourceHandler< T >::getNewObjects_coral ( )
inlinevirtual
template<class T>
virtual void PixelPopConSourceHandler< T >::getNewObjects_file ( )
inlinevirtual
template<class T>
std::string PixelPopConSourceHandler< T >::id ( ) const
inlineoverridevirtual

Implements popcon::PopConSourceHandler< T >.

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.