#include <EcalTPGBadXTHandler.h>
Public Member Functions | |
EcalTPGBadXTHandler (edm::ParameterSet const &) | |
void | getNewObjects () override |
std::string | id () const override |
EcalTPGCrystalStatus * | produceEcalTrgChannelStatus () |
void | readFromFile (const char *inputFile) |
void | writeFile (const char *inputFile) |
~EcalTPGBadXTHandler () override | |
Public Member Functions inherited from popcon::PopConSourceHandler< EcalTPGCrystalStatus > | |
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 () |
cond::TagInfo_t const & | tagInfo () const |
std::string const & | userTextLog () const |
virtual | ~PopConSourceHandler () |
Public Attributes | |
EcalCondDBInterface * | econn |
Private Member Functions | |
std::string | to_string (char value[]) |
Private Attributes | |
unsigned int | m_firstRun |
std::string | m_gentag |
int | m_i_badXT |
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 |
const EcalTPGCrystalStatus * | mycrystalStat |
Additional Inherited Members | |
Public Types inherited from popcon::PopConSourceHandler< EcalTPGCrystalStatus > | |
typedef std::map< Time_t, std::shared_ptr < EcalTPGCrystalStatus > > | Container |
typedef std::unique_ptr < EcalTPGCrystalStatus > | Ref |
typedef PopConSourceHandler < EcalTPGCrystalStatus > | self |
typedef cond::Time_t | Time_t |
typedef EcalTPGCrystalStatus | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< EcalTPGCrystalStatus > | |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< EcalTPGCrystalStatus > | |
Container | m_iovs |
std::vector< std::pair < EcalTPGCrystalStatus *, Time_t > > | m_to_transfer |
std::string | m_userTextLog |
Definition at line 45 of file EcalTPGBadXTHandler.h.
popcon::EcalTPGBadXTHandler::EcalTPGBadXTHandler | ( | edm::ParameterSet const & | ps | ) |
Definition at line 24 of file EcalTPGBadXTHandler.cc.
References edm::ParameterSet::getParameter(), m_firstRun, m_gentag, m_lastRun, m_location, m_locationsource, m_pass, m_runtype, m_sid, m_user, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 40 of file EcalTPGBadXTHandler.cc.
|
overridevirtual |
Implements popcon::PopConSourceHandler< EcalTPGCrystalStatus >.
Definition at line 42 of file EcalTPGBadXTHandler.cc.
References gather_cfg::cout, dat, writedatasetfile::dataset, alignCSCRings::e, test_db_connect::econn, cppFunctionSkipper::exception, Exception, FEConfigMainInfo::getBxtId(), RunTPGConfigDat::getConfigTag(), FEConfigBadXTDat::getFedId(), RunList::getRuns(), FEConfigBadXTDat::getStatus(), FEConfigBadXTDat::getTTId(), RunTPGConfigDat::getVersion(), FEConfigMainInfo::getVersion(), FEConfigBadXTDat::getXTId(), test_db_connect::my_locdef, test_db_connect::my_rundef, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), l1tpf_impl::readFromFile(), IODConfig::setConfigTag(), RunTag::setGeneralTag(), FEConfigBadXTInfo::setId(), LocationDef::setLocation(), RunTag::setLocationDef(), RunTypeDef::setRunType(), RunTag::setRunTypeDef(), EcalCondObjectContainer< T >::setValue(), FEConfigMainInfo::setVersion(), EBDetId::SMCRYSTALMODE, AlCaHLTBitMon_QueryRunRegistry::string, dumpRecoGeometry_cfg::tagInfo, x, y, and z.
|
inlineoverridevirtual |
Implements popcon::PopConSourceHandler< EcalTPGCrystalStatus >.
Definition at line 52 of file EcalTPGBadXTHandler.h.
References m_name.
EcalTPGCrystalStatus * popcon::EcalTPGBadXTHandler::produceEcalTrgChannelStatus | ( | ) |
Definition at line 358 of file EcalTPGBadXTHandler.cc.
References EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, EcalCondObjectContainer< T >::setValue(), EBDetId::validDetId(), and EEDetId::validDetId().
void popcon::EcalTPGBadXTHandler::readFromFile | ( | const char * | inputFile | ) |
Definition at line 307 of file EcalTPGBadXTHandler.cc.
References writeEcalDQMStatus::inputFile, geometryCSVtoXML::line, str, and cond::impl::to_string().
|
inlineprivate |
void popcon::EcalTPGBadXTHandler::writeFile | ( | const char * | inputFile | ) |
Definition at line 345 of file EcalTPGBadXTHandler.cc.
EcalCondDBInterface* popcon::EcalTPGBadXTHandler::econn |
Definition at line 58 of file EcalTPGBadXTHandler.h.
|
private |
Definition at line 69 of file EcalTPGBadXTHandler.h.
Referenced by EcalTPGBadXTHandler().
|
private |
Definition at line 73 of file EcalTPGBadXTHandler.h.
Referenced by EcalTPGBadXTHandler().
|
private |
Definition at line 84 of file EcalTPGBadXTHandler.h.
|
private |
Definition at line 83 of file EcalTPGBadXTHandler.h.
|
private |
Definition at line 81 of file EcalTPGBadXTHandler.h.
|
private |
Definition at line 82 of file EcalTPGBadXTHandler.h.
|
private |
Definition at line 70 of file EcalTPGBadXTHandler.h.
Referenced by EcalTPGBadXTHandler().
|
private |
Definition at line 72 of file EcalTPGBadXTHandler.h.
Referenced by EcalTPGBadXTHandler().
|
private |
Definition at line 77 of file EcalTPGBadXTHandler.h.
Referenced by EcalTPGBadXTHandler().
|
private |
Definition at line 78 of file EcalTPGBadXTHandler.h.
Referenced by id().
|
private |
Definition at line 76 of file EcalTPGBadXTHandler.h.
Referenced by EcalTPGBadXTHandler().
|
private |
Definition at line 79 of file EcalTPGBadXTHandler.h.
|
private |
Definition at line 80 of file EcalTPGBadXTHandler.h.
Referenced by EcalTPGBadXTHandler().
|
private |
Definition at line 74 of file EcalTPGBadXTHandler.h.
Referenced by EcalTPGBadXTHandler().
|
private |
Definition at line 75 of file EcalTPGBadXTHandler.h.
Referenced by EcalTPGBadXTHandler().
|
private |
Definition at line 67 of file EcalTPGBadXTHandler.h.