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

#include <EcalDCSHandler.h>

Inheritance diagram for popcon::EcalDCSHandler:
popcon::PopConSourceHandler< EcalDCSTowerStatus >

Public Member Functions

int detIDToLogicID (int, int, int)
 
 EcalDCSHandler (edm::ParameterSet const &)
 
void getNewObjects ()
 
int * HVEELogicIDToDetID (int, int) const
 
int * HVLogicIDToDetID (int, int) const
 
std::string id () const
 
bool insertHVDataSetToOffline (const std::map< EcalLogicID, RunDCSHVDat > *dataset, EcalDCSTowerStatus *dcs_temp) const
 
bool insertLVDataSetToOffline (const std::map< EcalLogicID, RunDCSLVDat > *dataset, EcalDCSTowerStatus *dcs_temp, const std::vector< EcalLogicID > &) const
 
int * LVLogicIDToDetID (int, int) const
 
uint16_t OffDBStatus (uint16_t dbStatus, int pos)
 
void printHVDataSet (const std::map< EcalLogicID, RunDCSHVDat > *dataset, int) const
 
void printLVDataSet (const std::map< EcalLogicID, RunDCSLVDat > *dataset, int) const
 
uint16_t updateHV (RunDCSHVDat *hv, uint16_t dbStatus, int modo=0) const
 
uint16_t updateLV (RunDCSLVDat *lv, uint16_t dbStatus) const
 
 ~EcalDCSHandler ()
 
- Public Member Functions inherited from popcon::PopConSourceHandler< EcalDCSTowerStatus >
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

unsigned long m_firstRun
 
unsigned long m_lastRun
 
std::string m_name
 
std::string m_pass
 
std::string m_sid
 
std::string m_user
 

Additional Inherited Members

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

Detailed Description

Definition at line 52 of file EcalDCSHandler.h.

Constructor & Destructor Documentation

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

Definition at line 11 of file EcalDCSHandler.cc.

popcon::EcalDCSHandler::~EcalDCSHandler ( )

Definition at line 26 of file EcalDCSHandler.cc.

Member Function Documentation

int popcon::EcalDCSHandler::detIDToLogicID ( int  iz,
int  i,
int  j 
)

Definition at line 324 of file EcalDCSHandler.cc.

void popcon::EcalDCSHandler::getNewObjects ( )
virtual
int * popcon::EcalDCSHandler::HVEELogicIDToDetID ( int  dee,
int  chan 
) const

Definition at line 355 of file EcalDCSHandler.cc.

int * popcon::EcalDCSHandler::HVLogicIDToDetID ( int  sm,
int  chan 
) const

Definition at line 400 of file EcalDCSHandler.cc.

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

Implements popcon::PopConSourceHandler< EcalDCSTowerStatus >.

Definition at line 66 of file EcalDCSHandler.h.

References m_name.

66 { return m_name;}
bool popcon::EcalDCSHandler::insertHVDataSetToOffline ( const std::map< EcalLogicID, RunDCSHVDat > *  dataset,
EcalDCSTowerStatus dcs_temp 
) const

Definition at line 162 of file EcalDCSHandler.cc.

bool popcon::EcalDCSHandler::insertLVDataSetToOffline ( const std::map< EcalLogicID, RunDCSLVDat > *  dataset,
EcalDCSTowerStatus dcs_temp,
const std::vector< EcalLogicID > &  my_EELVchan 
) const

Definition at line 504 of file EcalDCSHandler.cc.

int * popcon::EcalDCSHandler::LVLogicIDToDetID ( int  sm,
int  chan 
) const

Definition at line 444 of file EcalDCSHandler.cc.

uint16_t popcon::EcalDCSHandler::OffDBStatus ( uint16_t  dbStatus,
int  pos 
)

Definition at line 86 of file EcalDCSHandler.cc.

void popcon::EcalDCSHandler::printHVDataSet ( const std::map< EcalLogicID, RunDCSHVDat > *  dataset,
int  limit = 0 
) const

Definition at line 30 of file EcalDCSHandler.cc.

void popcon::EcalDCSHandler::printLVDataSet ( const std::map< EcalLogicID, RunDCSLVDat > *  dataset,
int  limit = 0 
) const

Definition at line 58 of file EcalDCSHandler.cc.

uint16_t popcon::EcalDCSHandler::updateHV ( RunDCSHVDat hv,
uint16_t  dbStatus,
int  modo = 0 
) const

Definition at line 92 of file EcalDCSHandler.cc.

uint16_t popcon::EcalDCSHandler::updateLV ( RunDCSLVDat lv,
uint16_t  dbStatus 
) const

Definition at line 132 of file EcalDCSHandler.cc.

Member Data Documentation

EcalCondDBInterface* popcon::EcalDCSHandler::econn

Definition at line 67 of file EcalDCSHandler.h.

unsigned long popcon::EcalDCSHandler::m_firstRun
private

Definition at line 78 of file EcalDCSHandler.h.

unsigned long popcon::EcalDCSHandler::m_lastRun
private

Definition at line 79 of file EcalDCSHandler.h.

std::string popcon::EcalDCSHandler::m_name
private

Definition at line 84 of file EcalDCSHandler.h.

Referenced by id().

std::string popcon::EcalDCSHandler::m_pass
private

Definition at line 83 of file EcalDCSHandler.h.

std::string popcon::EcalDCSHandler::m_sid
private

Definition at line 81 of file EcalDCSHandler.h.

std::string popcon::EcalDCSHandler::m_user
private

Definition at line 82 of file EcalDCSHandler.h.