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 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 ()
 
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 >
Container m_iovs
 
std::vector< std::pair< T *, Time_t > > m_to_transfer
 
std::string m_userTextLog
 

Additional Inherited Members

- Public Types inherited from popcon::PopConSourceHandler< T >
typedef std::map< Time_t, std::shared_ptr< T > > Container
 
typedef std::unique_ptr< TRef
 
typedef PopConSourceHandler< Tself
 
typedef cond::Time_t Time_t
 
typedef T value_type
 
- Protected Member Functions inherited from popcon::PopConSourceHandler< T >
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

◆ getNewObjects()

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

◆ getNewObjects_coral()

template<class T>
virtual void PixelPopConSourceHandler< T >::getNewObjects_coral ( )
inlinevirtual

◆ getNewObjects_file()

template<class T>
virtual void PixelPopConSourceHandler< T >::getNewObjects_file ( )
inlinevirtual

◆ id()

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

◆ _configKeyName

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

Definition at line 51 of file PixelPopConSourceHandler.h.

◆ _connectString

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

◆ _runNumber

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

Definition at line 52 of file PixelPopConSourceHandler.h.

◆ _schemaName

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

Definition at line 49 of file PixelPopConSourceHandler.h.

◆ _sinceIOV

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

Definition at line 53 of file PixelPopConSourceHandler.h.

◆ _viewName

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

Definition at line 50 of file PixelPopConSourceHandler.h.