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 Member Functions | Private Attributes
popcon::EcalTPGBadTTHandler Class Reference

#include <EcalTPGBadTTHandler.h>

Inheritance diagram for popcon::EcalTPGBadTTHandler:
popcon::PopConSourceHandler< EcalTPGTowerStatus >

Public Member Functions

 EcalTPGBadTTHandler (edm::ParameterSet const &)
 
void getNewObjects ()
 
std::string id () const
 
std::map< std::string, int > makeTTEEDetId ()
 
void readFromFile (const char *inputFile)
 
void writeFile (const char *inputFile)
 
 ~EcalTPGBadTTHandler ()
 
- Public Member Functions inherited from popcon::PopConSourceHandler< EcalTPGTowerStatus >
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 Member Functions

std::string to_string (char value[])
 

Private Attributes

unsigned int m_firstRun
 
std::string m_gentag
 
int m_i_badTT
 
unsigned int m_i_run_number
 
std::string m_i_tag
 
int m_i_version
 
unsigned int m_lastRun
 
std::string m_location
 
std::string m_locationsource
 
std::string m_name
 
std::string m_pass
 
unsigned int m_runnr
 
std::string m_runtype
 
std::string m_sid
 
std::string m_user
 
std::map< std::string, int > mapDetEEId
 
const EcalTPGTowerStatusmytowerStat
 

Additional Inherited Members

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

Detailed Description

Definition at line 49 of file EcalTPGBadTTHandler.h.

Constructor & Destructor Documentation

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

Definition at line 25 of file EcalTPGBadTTHandler.cc.

popcon::EcalTPGBadTTHandler::~EcalTPGBadTTHandler ( )

Definition at line 43 of file EcalTPGBadTTHandler.cc.

Member Function Documentation

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

Implements popcon::PopConSourceHandler< EcalTPGTowerStatus >.

Definition at line 60 of file EcalTPGBadTTHandler.h.

References m_name.

60 { return m_name;}
std::map<std::string, int> popcon::EcalTPGBadTTHandler::makeTTEEDetId ( )
void popcon::EcalTPGBadTTHandler::readFromFile ( const char *  inputFile)

Definition at line 331 of file EcalTPGBadTTHandler.cc.

std::string popcon::EcalTPGBadTTHandler::to_string ( char  value[])
inlineprivate

Definition at line 68 of file EcalTPGBadTTHandler.h.

References relativeConstraints::value.

68  {
69  std::ostringstream streamOut;
70  streamOut << value;
71  return streamOut.str();
72  }
void popcon::EcalTPGBadTTHandler::writeFile ( const char *  inputFile)

Definition at line 371 of file EcalTPGBadTTHandler.cc.

Member Data Documentation

EcalCondDBInterface* popcon::EcalTPGBadTTHandler::econn

Definition at line 65 of file EcalTPGBadTTHandler.h.

unsigned int popcon::EcalTPGBadTTHandler::m_firstRun
private

Definition at line 76 of file EcalTPGBadTTHandler.h.

std::string popcon::EcalTPGBadTTHandler::m_gentag
private

Definition at line 81 of file EcalTPGBadTTHandler.h.

int popcon::EcalTPGBadTTHandler::m_i_badTT
private

Definition at line 92 of file EcalTPGBadTTHandler.h.

unsigned int popcon::EcalTPGBadTTHandler::m_i_run_number
private

Definition at line 91 of file EcalTPGBadTTHandler.h.

std::string popcon::EcalTPGBadTTHandler::m_i_tag
private

Definition at line 89 of file EcalTPGBadTTHandler.h.

int popcon::EcalTPGBadTTHandler::m_i_version
private

Definition at line 90 of file EcalTPGBadTTHandler.h.

unsigned int popcon::EcalTPGBadTTHandler::m_lastRun
private

Definition at line 77 of file EcalTPGBadTTHandler.h.

std::string popcon::EcalTPGBadTTHandler::m_location
private

Definition at line 80 of file EcalTPGBadTTHandler.h.

std::string popcon::EcalTPGBadTTHandler::m_locationsource
private

Definition at line 85 of file EcalTPGBadTTHandler.h.

std::string popcon::EcalTPGBadTTHandler::m_name
private

Definition at line 86 of file EcalTPGBadTTHandler.h.

Referenced by id().

std::string popcon::EcalTPGBadTTHandler::m_pass
private

Definition at line 84 of file EcalTPGBadTTHandler.h.

unsigned int popcon::EcalTPGBadTTHandler::m_runnr
private

Definition at line 87 of file EcalTPGBadTTHandler.h.

std::string popcon::EcalTPGBadTTHandler::m_runtype
private

Definition at line 88 of file EcalTPGBadTTHandler.h.

std::string popcon::EcalTPGBadTTHandler::m_sid
private

Definition at line 82 of file EcalTPGBadTTHandler.h.

std::string popcon::EcalTPGBadTTHandler::m_user
private

Definition at line 83 of file EcalTPGBadTTHandler.h.

std::map<std::string, int> popcon::EcalTPGBadTTHandler::mapDetEEId
private

Definition at line 78 of file EcalTPGBadTTHandler.h.

const EcalTPGTowerStatus* popcon::EcalTPGBadTTHandler::mytowerStat
private

Definition at line 74 of file EcalTPGBadTTHandler.h.