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