#include <EcalTPGWeightIdMapHandler.h>
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::vector< Triplet > | Container |
typedef std::vector< std::pair< EcalTPGWeightIdMap *, cond::Time_t > > | OldContainer |
typedef PopConSourceHandler< EcalTPGWeightIdMap > | self |
typedef cond::Summary | Summary |
typedef cond::Time_t | Time_t |
typedef EcalTPGWeightIdMap | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< EcalTPGWeightIdMap > | |
int | add (value_type *payload, Summary *summary, Time_t time) |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< EcalTPGWeightIdMap > | |
OldContainer | m_to_transfer |
std::string | m_userTextLog |
Definition at line 47 of file EcalTPGWeightIdMapHandler.h.
popcon::EcalTPGWeightIdMapHandler::EcalTPGWeightIdMapHandler | ( | edm::ParameterSet const & | ) |
Definition at line 24 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 44 of file EcalTPGWeightIdMapHandler.cc.
|
overridevirtual |
Implements popcon::PopConSourceHandler< EcalTPGWeightIdMap >.
Definition at line 48 of file EcalTPGWeightIdMapHandler.cc.
References writedatasetfile::dataset, MillePedeFileConverter_cfg::e, econn, cppFunctionSkipper::exception, Exception, EcalCondDBInterface::fetchDataSet(), EcalCondDBInterface::fetchGlobalRunListByLocation(), RunTPGConfigDat::getConfigTag(), RunList::getRuns(), RunTPGConfigDat::getVersion(), FEConfigWeightGroupDat::getWeight0(), FEConfigWeightGroupDat::getWeight1(), FEConfigWeightGroupDat::getWeight2(), FEConfigWeightGroupDat::getWeight3(), FEConfigWeightGroupDat::getWeight4(), FEConfigWeightGroupDat::getWeightGroupId(), FEConfigMainInfo::getWeiId(), cond::TagInfo_t::lastInterval, popcon::PopConSourceHandler< EcalTPGWeightIdMap >::lastPayload(), m_file_type, m_firstRun, m_gentag, m_i_run_number, m_i_tag, m_i_version, m_i_weightIdMap, m_lastRun, m_location, m_pass, m_runtype, m_sid, popcon::PopConSourceHandler< EcalTPGWeightIdMap >::m_to_transfer, m_user, cond::TagInfo_t::name, AlCaHLTBitMon_ParallelJobs::p, readFromFile(), readtxtFile(), readxmlFile(), IODConfig::setConfigTag(), RunTag::setGeneralTag(), FEConfigWeightInfo::setId(), LocationDef::setLocation(), RunTag::setLocationDef(), RunTypeDef::setRunType(), RunTag::setRunTypeDef(), EcalTPGWeightIdMap::setValue(), EcalTPGWeights::setValues(), FEConfigMainInfo::setVersion(), cond::TagInfo_t::size, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, popcon::PopConSourceHandler< EcalTPGWeightIdMap >::tagInfo(), w, and writeFile().
|
inlineoverridevirtual |
Implements popcon::PopConSourceHandler< EcalTPGWeightIdMap >.
Definition at line 54 of file EcalTPGWeightIdMapHandler.h.
References analyzePatCleaning_cfg::inputFile.
void popcon::EcalTPGWeightIdMapHandler::readFromFile | ( | const char * | inputFile | ) |
Definition at line 349 of file EcalTPGWeightIdMapHandler.cc.
References analyzePatCleaning_cfg::inputFile, mps_splice::line, m_i_run_number, m_i_tag, m_i_version, m_i_weightIdMap, str, and to_string().
Referenced by getNewObjects().
void popcon::EcalTPGWeightIdMapHandler::readtxtFile | ( | ) |
Definition at line 260 of file EcalTPGWeightIdMapHandler.cc.
References MillePedeFileConverter_cfg::e, cppFunctionSkipper::exception, cmsRelvalreport::exit, mps_splice::line, m_file_name, m_firstRun, popcon::PopConSourceHandler< EcalTPGWeightIdMap >::m_to_transfer, EcalTPGWeightIdMap::setValue(), EcalTPGWeights::setValues(), AlCaHLTBitMon_QueryRunRegistry::string, and w.
Referenced by getNewObjects().
void popcon::EcalTPGWeightIdMapHandler::readxmlFile | ( | ) |
Definition at line 294 of file EcalTPGWeightIdMapHandler.cc.
References MillePedeFileConverter_cfg::e, cppFunctionSkipper::exception, cmsRelvalreport::exit, runEdmFileComparison::found, mps_fire::i, m_file_name, m_firstRun, popcon::PopConSourceHandler< EcalTPGWeightIdMap >::m_to_transfer, SimDataFormats::CaloAnalysis::sc, EcalTPGWeightIdMap::setValue(), EcalTPGWeights::setValues(), AlCaHLTBitMon_QueryRunRegistry::string, and w.
Referenced by getNewObjects().
|
inlineprivate |
Definition at line 65 of file EcalTPGWeightIdMapHandler.h.
References relativeConstraints::value.
Referenced by readFromFile().
void popcon::EcalTPGWeightIdMapHandler::writeFile | ( | const char * | inputFile | ) |
Definition at line 389 of file EcalTPGWeightIdMapHandler.cc.
References m_i_run_number, m_i_tag, m_i_version, and m_i_weightIdMap.
Referenced by getNewObjects(), and Vispa.Main.TabController.TabController::save().
EcalCondDBInterface* popcon::EcalTPGWeightIdMapHandler::econn |
Definition at line 62 of file EcalTPGWeightIdMapHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 87 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler(), readtxtFile(), and readxmlFile().
|
private |
Definition at line 86 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler(), and getNewObjects().
|
private |
Definition at line 73 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler(), getNewObjects(), readtxtFile(), and readxmlFile().
|
private |
Definition at line 77 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler(), and getNewObjects().
|
private |
Definition at line 89 of file EcalTPGWeightIdMapHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 85 of file EcalTPGWeightIdMapHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 88 of file EcalTPGWeightIdMapHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 90 of file EcalTPGWeightIdMapHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 74 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler(), and getNewObjects().
|
private |
Definition at line 76 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler(), and getNewObjects().
|
private |
Definition at line 81 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler().
|
private |
Definition at line 82 of file EcalTPGWeightIdMapHandler.h.
|
private |
Definition at line 80 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler(), and getNewObjects().
|
private |
Definition at line 83 of file EcalTPGWeightIdMapHandler.h.
|
private |
Definition at line 84 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler(), and getNewObjects().
|
private |
Definition at line 78 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler(), and getNewObjects().
|
private |
Definition at line 79 of file EcalTPGWeightIdMapHandler.h.
Referenced by EcalTPGWeightIdMapHandler(), and getNewObjects().
|
private |
Definition at line 71 of file EcalTPGWeightIdMapHandler.h.