#include <EcalTPGWeightIdMapHandler.h>
Public Member Functions | |
EcalTPGWeightIdMapHandler (edm::ParameterSet const &) | |
void | getNewObjects () override |
std::string | id () const override |
void | readFromFile (const char *inputFile) |
void | readtxtFile () |
void | readxmlFile () |
void | writeFile (const char *inputFile) |
~EcalTPGWeightIdMapHandler () override | |
Public Member Functions inherited from popcon::PopConSourceHandler< EcalTPGWeightIdMap > | |
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 | |
std::string | m_file_name |
std::string | m_file_type |
unsigned int | m_firstRun |
std::string | m_gentag |
unsigned int | m_i_run_number |
std::string | m_i_tag |
int | m_i_version |
int | m_i_weightIdMap |
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 EcalTPGWeightIdMap * | myweightIdMap |
Additional Inherited Members | |
Public Types inherited from popcon::PopConSourceHandler< EcalTPGWeightIdMap > | |
typedef std::map< Time_t, std::shared_ptr < EcalTPGWeightIdMap > > | Container |
typedef std::unique_ptr < EcalTPGWeightIdMap > | Ref |
typedef PopConSourceHandler < EcalTPGWeightIdMap > | self |
typedef cond::Time_t | Time_t |
typedef EcalTPGWeightIdMap | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< EcalTPGWeightIdMap > | |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< EcalTPGWeightIdMap > | |
Container | m_iovs |
std::vector< std::pair < EcalTPGWeightIdMap *, Time_t > > | m_to_transfer |
std::string | m_userTextLog |
Definition at line 44 of file EcalTPGWeightIdMapHandler.h.
popcon::EcalTPGWeightIdMapHandler::EcalTPGWeightIdMapHandler | ( | edm::ParameterSet const & | ps | ) |
Definition at line 22 of file EcalTPGWeightIdMapHandler.cc.
References edm::ParameterSet::getParameter(), m_file_name, m_file_type, 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 EcalTPGWeightIdMapHandler.cc.
|
overridevirtual |
Implements popcon::PopConSourceHandler< EcalTPGWeightIdMap >.
Definition at line 42 of file EcalTPGWeightIdMapHandler.cc.
References dat, writedatasetfile::dataset, alignCSCRings::e, test_db_connect::econn, cppFunctionSkipper::exception, Exception, RunTPGConfigDat::getConfigTag(), RunList::getRuns(), RunTPGConfigDat::getVersion(), FEConfigWeightGroupDat::getWeight0(), FEConfigWeightGroupDat::getWeight1(), FEConfigWeightGroupDat::getWeight2(), FEConfigWeightGroupDat::getWeight3(), FEConfigWeightGroupDat::getWeight4(), FEConfigWeightGroupDat::getWeightGroupId(), FEConfigMainInfo::getWeiId(), test_db_connect::my_locdef, test_db_connect::my_rundef, AlCaHLTBitMon_ParallelJobs::p, l1tpf_impl::readFromFile(), IODConfig::setConfigTag(), RunTag::setGeneralTag(), FEConfigWeightInfo::setId(), LocationDef::setLocation(), RunTag::setLocationDef(), RunTypeDef::setRunType(), RunTag::setRunTypeDef(), EcalTPGWeightIdMap::setValue(), EcalTPGWeights::setValues(), FEConfigMainInfo::setVersion(), findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, dumpRecoGeometry_cfg::tagInfo, and w.
|
inlineoverridevirtual |
Implements popcon::PopConSourceHandler< EcalTPGWeightIdMap >.
Definition at line 51 of file EcalTPGWeightIdMapHandler.h.
References m_name.
void popcon::EcalTPGWeightIdMapHandler::readFromFile | ( | const char * | inputFile | ) |
Definition at line 331 of file EcalTPGWeightIdMapHandler.cc.
References writeEcalDQMStatus::inputFile, geometryCSVtoXML::line, and str.
void popcon::EcalTPGWeightIdMapHandler::readtxtFile | ( | ) |
Definition at line 238 of file EcalTPGWeightIdMapHandler.cc.
References alignCSCRings::e, cppFunctionSkipper::exception, beamvalidation::exit(), geometryCSVtoXML::line, EcalTPGWeightIdMap::setValue(), EcalTPGWeights::setValues(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and w.
void popcon::EcalTPGWeightIdMapHandler::readxmlFile | ( | ) |
Definition at line 272 of file EcalTPGWeightIdMapHandler.cc.
References alignCSCRings::e, cppFunctionSkipper::exception, beamvalidation::exit(), newFWLiteAna::found, mps_fire::i, EcalTPGWeightIdMap::setValue(), EcalTPGWeights::setValues(), AlCaHLTBitMon_QueryRunRegistry::string, and w.
|
inlineprivate |
void popcon::EcalTPGWeightIdMapHandler::writeFile | ( | const char * | inputFile | ) |
Definition at line 369 of file EcalTPGWeightIdMapHandler.cc.
EcalCondDBInterface* popcon::EcalTPGWeightIdMapHandler::econn |
Definition at line 59 of file EcalTPGWeightIdMapHandler.h.
|
private |
Definition at line 84 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler().
|
private |
Definition at line 83 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler().
|
private |
Definition at line 70 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler().
|
private |
Definition at line 74 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler().
|
private |
Definition at line 86 of file EcalTPGWeightIdMapHandler.h.
|
private |
Definition at line 82 of file EcalTPGWeightIdMapHandler.h.
|
private |
Definition at line 85 of file EcalTPGWeightIdMapHandler.h.
|
private |
Definition at line 87 of file EcalTPGWeightIdMapHandler.h.
|
private |
Definition at line 71 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler().
|
private |
Definition at line 73 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler().
|
private |
Definition at line 78 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler().
|
private |
Definition at line 79 of file EcalTPGWeightIdMapHandler.h.
Referenced by id().
|
private |
Definition at line 77 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler().
|
private |
Definition at line 80 of file EcalTPGWeightIdMapHandler.h.
|
private |
Definition at line 81 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler().
|
private |
Definition at line 75 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler().
|
private |
Definition at line 76 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler().
|
private |
Definition at line 68 of file EcalTPGWeightIdMapHandler.h.