#include <RPCEMapSourceHandler.h>
Classes | |
struct | FEBStruct |
Public Member Functions | |
int | Compare2EMaps (const Ref &map1, RPCEMap *map2) |
void | ConnectOnlineDB (std::string connect, std::string authPath) |
void | DisconnectOnlineDB () |
void | getNewObjects () override |
std::string | id () const override |
void | readEMap1 () |
RPCEMapSourceHandler (const edm::ParameterSet &ps) | |
~RPCEMapSourceHandler () override | |
Public Member Functions inherited from popcon::PopConSourceHandler< RPCEMap > | |
void | convertFromOld () |
Summary * | dummySummary (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 () |
Private Member Functions | |
std::string | IntToString (int num) |
Private Attributes | |
RPCEMap * | eMap |
std::string | m_authpath |
std::string | m_connect |
int | m_dummy |
std::string | m_name |
int | m_validate |
cond::persistency::Session | session |
Additional Inherited Members | |
Public Types inherited from popcon::PopConSourceHandler< RPCEMap > | |
typedef std::vector< Triplet > | Container |
typedef std::vector< std::pair< RPCEMap *, cond::Time_t > > | OldContainer |
typedef PopConSourceHandler< RPCEMap > | self |
typedef cond::Summary | Summary |
typedef cond::Time_t | Time_t |
typedef RPCEMap | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< RPCEMap > | |
int | add (value_type *payload, Summary *summary, Time_t time) |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< RPCEMap > | |
OldContainer | m_to_transfer |
std::string | m_userTextLog |
Definition at line 44 of file RPCEMapSourceHandler.h.
popcon::RPCEMapSourceHandler::RPCEMapSourceHandler | ( | const edm::ParameterSet & | ps | ) |
Definition at line 7 of file RPCEMapSourceHandler.cc.
|
override |
Definition at line 16 of file RPCEMapSourceHandler.cc.
int popcon::RPCEMapSourceHandler::Compare2EMaps | ( | const Ref & | map1, |
RPCEMap * | map2 | ||
) |
Definition at line 378 of file RPCEMapSourceHandler.cc.
References RPCEMap::convert(), RPCReadOutMapping::dccList(), RPCReadOutMapping::dccNumberRange(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getNewObjects(), and id().
void popcon::RPCEMapSourceHandler::ConnectOnlineDB | ( | std::string | connect, |
std::string | authPath | ||
) |
Definition at line 66 of file RPCEMapSourceHandler.cc.
References cond::persistency::ConnectionPool::configure(), gather_cfg::cout, cond::persistency::ConnectionPool::createSession(), session, and cond::persistency::ConnectionPool::setAuthenticationPath().
Referenced by getNewObjects(), and id().
void popcon::RPCEMapSourceHandler::DisconnectOnlineDB | ( | ) |
Definition at line 76 of file RPCEMapSourceHandler.cc.
References cond::persistency::Session::close(), and session.
Referenced by getNewObjects(), and id().
|
overridevirtual |
Implements popcon::PopConSourceHandler< RPCEMap >.
Definition at line 20 of file RPCEMapSourceHandler.cc.
References edmScanValgrind::buffer, Compare2EMaps(), ConnectOnlineDB(), gather_cfg::cout, cond::service::PoolDBOutputService::currentTime(), DisconnectOnlineDB(), eMap, cond::TagInfo_t::lastInterval, popcon::PopConSourceHandler< RPCEMap >::lastPayload(), m_authpath, m_connect, m_dummy, popcon::PopConSourceHandler< RPCEMap >::m_to_transfer, m_validate, cond::TagInfo_t::name, jets_cff::payload, plotBeamSpotDB::ptm, readEMap1(), cond::TagInfo_t::size, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, popcon::PopConSourceHandler< RPCEMap >::tagInfo(), and protons_cff::time.
|
inlineoverridevirtual |
Implements popcon::PopConSourceHandler< RPCEMap >.
Definition at line 51 of file RPCEMapSourceHandler.h.
References expressLumiProducer_cff::authPath, Compare2EMaps(), DBConfiguration_cff::connect, ConnectOnlineDB(), DisconnectOnlineDB(), m_name, readEMap1(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineprivate |
void popcon::RPCEMapSourceHandler::readEMap1 | ( | ) |
Definition at line 81 of file RPCEMapSourceHandler.cc.
References patPFMETCorrections_cff::algo, popcon::RPCEMapSourceHandler::FEBStruct::chamberId, popcon::RPCEMapSourceHandler::FEBStruct::cmsEtaPart, popcon::RPCEMapSourceHandler::FEBStruct::connectorId, gather_cfg::cout, eMap, popcon::RPCEMapSourceHandler::FEBStruct::febId, plotBeamSpotDB::first, mps_fire::i, IntToString(), popcon::RPCEMapSourceHandler::FEBStruct::lbInputNum, popcon::RPCEMapSourceHandler::FEBStruct::localEtaPart, RPCEMap::lbItem::nFebs, RPCEMap::linkItem::nLBs, RPCEMap::tbItem::nLinks, cond::persistency::Session::nominalSchema(), RPCEMap::dccItem::nTBs, popcon::RPCEMapSourceHandler::FEBStruct::posInCmsEtaPart, popcon::RPCEMapSourceHandler::FEBStruct::posInLocalEtaPart, dataDML::schema, session, cond::persistency::Transaction::start(), AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, RPCEMap::febItem::theAlgo, RPCEMap::febItem::theChamber, RPCEMap::lbItem::theCode, RPCEMap::theDccs, RPCEMap::theFebs, RPCEMap::dccItem::theId, RPCEMap::theLBs, RPCEMap::febItem::theLinkBoardInputNum, RPCEMap::lbItem::theLinkBoardNumInLink, RPCEMap::theLinks, RPCEMap::lbItem::theMaster, RPCEMap::tbItem::theNum, RPCEMap::febItem::thePartition, RPCEMap::theTBs, RPCEMap::linkItem::theTriggerBoardInputNumber, cond::persistency::Session::transaction(), and makeMuonMisalignmentScenario::wheel.
Referenced by getNewObjects(), and id().
|
private |
Definition at line 58 of file RPCEMapSourceHandler.h.
Referenced by getNewObjects(), and readEMap1().
|
private |
Definition at line 64 of file RPCEMapSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 63 of file RPCEMapSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 61 of file RPCEMapSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 60 of file RPCEMapSourceHandler.h.
Referenced by id().
|
private |
Definition at line 62 of file RPCEMapSourceHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 59 of file RPCEMapSourceHandler.h.
Referenced by ConnectOnlineDB(), DisconnectOnlineDB(), and readEMap1().