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::EcalLaserHandler Class Reference

#include <EcalLaserHandler.h>

Inheritance diagram for popcon::EcalLaserHandler:
popcon::PopConSourceHandler< EcalLaserAPDPNRatios >

Public Member Functions

bool checkAPDPN (const EcalLaserAPDPNRatios::EcalLaserAPDPNpair &old, const EcalLaserAPDPNRatios::EcalLaserAPDPNpair &current, int hashedIndex)
 
bool checkAPDPNs (const EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap &laserMap, const EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap &apdpns_popcon)
 
double diff (float x, float old_x)
 
void dumpBarrelPayload (EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap const &laserMap)
 
void dumpEndcapPayload (EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap const &laserMap)
 
 EcalLaserHandler (edm::ParameterSet const &)
 
void getNewObjects ()
 
std::string id () const
 
void notifyProblems (const EcalLaserAPDPNRatios::EcalLaserAPDPNpair &old, const EcalLaserAPDPNRatios::EcalLaserAPDPNpair &current, int hashedIndex, const std::string &reason)
 
 ~EcalLaserHandler ()
 
- Public Member Functions inherited from popcon::PopConSourceHandler< EcalLaserAPDPNRatios >
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
 
bool m_fake
 
std::string m_maxtime
 
std::string m_name
 
std::string m_pass
 
unsigned long m_sequences
 
std::string m_sid
 
std::string m_user
 
const EcalLaserAPDPNRatiosmyapdpns
 

Additional Inherited Members

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

Detailed Description

Definition at line 55 of file EcalLaserHandler.h.

Constructor & Destructor Documentation

popcon::EcalLaserHandler::~EcalLaserHandler ( )

Definition at line 37 of file EcalLaserHandler.cc.

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

Definition at line 13 of file EcalLaserHandler.cc.

Member Function Documentation

bool popcon::EcalLaserHandler::checkAPDPN ( const EcalLaserAPDPNRatios::EcalLaserAPDPNpair old,
const EcalLaserAPDPNRatios::EcalLaserAPDPNpair current,
int  hashedIndex 
)

Definition at line 63 of file EcalLaserHandler.cc.

bool popcon::EcalLaserHandler::checkAPDPNs ( const EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap laserMap,
const EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap apdpns_popcon 
)

Definition at line 82 of file EcalLaserHandler.cc.

double popcon::EcalLaserHandler::diff ( float  x,
float  old_x 
)

Definition at line 42 of file EcalLaserHandler.cc.

void popcon::EcalLaserHandler::dumpBarrelPayload ( EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap const &  laserMap)

Definition at line 98 of file EcalLaserHandler.cc.

void popcon::EcalLaserHandler::dumpEndcapPayload ( EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap const &  laserMap)

Definition at line 126 of file EcalLaserHandler.cc.

void popcon::EcalLaserHandler::getNewObjects ( )
virtual
std::string popcon::EcalLaserHandler::id ( ) const
inlinevirtual

Implements popcon::PopConSourceHandler< EcalLaserAPDPNRatios >.

Definition at line 65 of file EcalLaserHandler.h.

References m_name.

65 { return m_name;}
void popcon::EcalLaserHandler::notifyProblems ( const EcalLaserAPDPNRatios::EcalLaserAPDPNpair old,
const EcalLaserAPDPNRatios::EcalLaserAPDPNpair current,
int  hashedIndex,
const std::string &  reason 
)

Definition at line 46 of file EcalLaserHandler.cc.

Member Data Documentation

EcalCondDBInterface* popcon::EcalLaserHandler::econn

Definition at line 64 of file EcalLaserHandler.h.

bool popcon::EcalLaserHandler::m_debug
private

Definition at line 86 of file EcalLaserHandler.h.

bool popcon::EcalLaserHandler::m_fake
private

Definition at line 87 of file EcalLaserHandler.h.

std::string popcon::EcalLaserHandler::m_maxtime
private

Definition at line 85 of file EcalLaserHandler.h.

std::string popcon::EcalLaserHandler::m_name
private

Definition at line 84 of file EcalLaserHandler.h.

Referenced by id().

std::string popcon::EcalLaserHandler::m_pass
private

Definition at line 83 of file EcalLaserHandler.h.

unsigned long popcon::EcalLaserHandler::m_sequences
private

Definition at line 80 of file EcalLaserHandler.h.

std::string popcon::EcalLaserHandler::m_sid
private

Definition at line 81 of file EcalLaserHandler.h.

std::string popcon::EcalLaserHandler::m_user
private

Definition at line 82 of file EcalLaserHandler.h.

const EcalLaserAPDPNRatios* popcon::EcalLaserHandler::myapdpns
private

Definition at line 79 of file EcalLaserHandler.h.