CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Private Attributes
popcon::EcalSRPHandler Class Reference

#include <EcalSRPHandler.h>

Inheritance diagram for popcon::EcalSRPHandler:
popcon::PopConSourceHandler< EcalSRSettings >

Public Member Functions

void ChangePayload (EcalSRSettings &sref, EcalSRSettings &sr)
 
 EcalSRPHandler (edm::ParameterSet const &)
 
void getNewObjects ()
 
std::string id () const
 
void importDccConfigFile (EcalSRSettings &sr, const std::string &filename, bool debug=false)
 
void PrintPayload (EcalSRSettings &sr, std::ofstream &fout)
 
 ~EcalSRPHandler ()
 
- Public Member Functions inherited from popcon::PopConSourceHandler< EcalSRSettings >
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 ()
 

Public Attributes

EcalCondDBInterfaceeconn
 

Private Attributes

bool m_debug
 
unsigned long m_firstRun
 
std::string m_gentag
 
std::string m_i_tag
 
int m_i_version
 
unsigned long m_lastRun
 
std::string m_location
 
std::string m_name
 
std::string m_pass
 
std::string m_runtype
 
std::string m_sid
 
std::string m_user
 

Additional Inherited Members

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

Detailed Description

Definition at line 43 of file EcalSRPHandler.h.

Constructor & Destructor Documentation

popcon::EcalSRPHandler::EcalSRPHandler ( edm::ParameterSet const &  ps)

Definition at line 33 of file EcalSRPHandler.cc.

popcon::EcalSRPHandler::~EcalSRPHandler ( )

Definition at line 50 of file EcalSRPHandler.cc.

Member Function Documentation

void popcon::EcalSRPHandler::ChangePayload ( EcalSRSettings sref,
EcalSRSettings sr 
)

Definition at line 969 of file EcalSRPHandler.cc.

void popcon::EcalSRPHandler::getNewObjects ( )
virtual

Implements popcon::PopConSourceHandler< EcalSRSettings >.

Definition at line 52 of file EcalSRPHandler.cc.

std::string popcon::EcalSRPHandler::id ( ) const
inlinevirtual

Implements popcon::PopConSourceHandler< EcalSRSettings >.

Definition at line 50 of file EcalSRPHandler.h.

References m_name.

50 { return m_name;}
void popcon::EcalSRPHandler::importDccConfigFile ( EcalSRSettings sr,
const std::string &  filename,
bool  debug = false 
)

Definition at line 752 of file EcalSRPHandler.cc.

void popcon::EcalSRPHandler::PrintPayload ( EcalSRSettings sr,
std::ofstream &  fout 
)

Definition at line 832 of file EcalSRPHandler.cc.

Member Data Documentation

EcalCondDBInterface* popcon::EcalSRPHandler::econn

Definition at line 51 of file EcalSRPHandler.h.

bool popcon::EcalSRPHandler::m_debug
private

Definition at line 67 of file EcalSRPHandler.h.

unsigned long popcon::EcalSRPHandler::m_firstRun
private

Definition at line 57 of file EcalSRPHandler.h.

std::string popcon::EcalSRPHandler::m_gentag
private

Definition at line 65 of file EcalSRPHandler.h.

std::string popcon::EcalSRPHandler::m_i_tag
private

Definition at line 66 of file EcalSRPHandler.h.

int popcon::EcalSRPHandler::m_i_version
private

Definition at line 68 of file EcalSRPHandler.h.

unsigned long popcon::EcalSRPHandler::m_lastRun
private

Definition at line 58 of file EcalSRPHandler.h.

std::string popcon::EcalSRPHandler::m_location
private

Definition at line 63 of file EcalSRPHandler.h.

std::string popcon::EcalSRPHandler::m_name
private

Definition at line 62 of file EcalSRPHandler.h.

Referenced by id().

std::string popcon::EcalSRPHandler::m_pass
private

Definition at line 61 of file EcalSRPHandler.h.

std::string popcon::EcalSRPHandler::m_runtype
private

Definition at line 64 of file EcalSRPHandler.h.

std::string popcon::EcalSRPHandler::m_sid
private

Definition at line 59 of file EcalSRPHandler.h.

std::string popcon::EcalSRPHandler::m_user
private

Definition at line 60 of file EcalSRPHandler.h.