#include <EcalTPGWeightGroupHandler.h>
Public Member Functions | |
EcalTPGWeightGroupHandler (edm::ParameterSet const &) | |
void | getNewObjects () override |
std::string | id () const override |
std::map< std::string, int > | makeStripId () |
void | readFromFile (const char *inputFile) |
void | readtxtFile () |
void | readxmlFile () |
void | writeFile (const char *inputFile) |
~EcalTPGWeightGroupHandler () override | |
Public Member Functions inherited from popcon::PopConSourceHandler< EcalTPGWeightGroup > | |
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 () |
Public Attributes | |
EcalCondDBInterface * | econn |
Private Member Functions | |
std::string | to_string (char value[]) |
Private Attributes | |
std::map< std::string, int > | correspId |
const EcalElectronicsMapping * | ecalMapping_ |
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_weightGroup |
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 |
Additional Inherited Members | |
Public Types inherited from popcon::PopConSourceHandler< EcalTPGWeightGroup > | |
typedef std::vector< Triplet > | Container |
typedef std::vector< std::pair< EcalTPGWeightGroup *, cond::Time_t > > | OldContainer |
typedef PopConSourceHandler< EcalTPGWeightGroup > | self |
typedef cond::Summary | Summary |
typedef cond::Time_t | Time_t |
typedef EcalTPGWeightGroup | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< EcalTPGWeightGroup > | |
int | add (value_type *payload, Summary *summary, Time_t time) |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< EcalTPGWeightGroup > | |
OldContainer | m_to_transfer |
std::string | m_userTextLog |
Definition at line 46 of file EcalTPGWeightGroupHandler.h.
popcon::EcalTPGWeightGroupHandler::EcalTPGWeightGroupHandler | ( | edm::ParameterSet const & | ) |
Definition at line 30 of file EcalTPGWeightGroupHandler.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 48 of file EcalTPGWeightGroupHandler.cc.
|
overridevirtual |
Implements popcon::PopConSourceHandler< EcalTPGWeightGroup >.
Definition at line 50 of file EcalTPGWeightGroupHandler.cc.
References writedatasetfile::dataset, MillePedeFileConverter_cfg::e, econn, cppFunctionSkipper::exception, Exception, EcalCondDBInterface::fetchConfigSet(), EcalCondDBInterface::fetchDataSet(), EcalCondDBInterface::fetchGlobalRunListByLocation(), RunTPGConfigDat::getConfigTag(), EcalCondDBInterface::getEcalLogicIDSetOrdered(), EcalLogicID::getID1(), EcalLogicID::getID2(), EcalLogicID::getID3(), EcalLogicID::getName(), RunList::getRuns(), RunTPGConfigDat::getVersion(), FEConfigMainInfo::getWeiId(), globals_cff::id1, globals_cff::id2, cond::TagInfo_t::lastInterval, m_file_type, m_firstRun, m_gentag, m_i_run_number, m_i_tag, m_i_version, m_i_weightGroup, m_lastRun, m_location, m_pass, m_runtype, m_sid, popcon::PopConSourceHandler< EcalTPGWeightGroup >::m_to_transfer, m_user, genParticles_cff::map, cond::TagInfo_t::name, EgHLTOffHistBins_cfi::nr, AlCaHLTBitMon_ParallelJobs::p, readFromFile(), readtxtFile(), readxmlFile(), IODConfig::setConfigTag(), RunTag::setGeneralTag(), FEConfigWeightInfo::setId(), LocationDef::setLocation(), RunTag::setLocationDef(), RunTypeDef::setRunType(), RunTag::setRunTypeDef(), EcalTPGGroups::setValue(), FEConfigMainInfo::setVersion(), cond::TagInfo_t::size, findQualityFiles::size, str, AlCaHLTBitMon_QueryRunRegistry::string, digitizers_cfi::strip, popcon::PopConSourceHandler< EcalTPGWeightGroup >::tagInfo(), groupFilesInBlocks::tt, and writeFile().
|
inlineoverridevirtual |
Implements popcon::PopConSourceHandler< EcalTPGWeightGroup >.
Definition at line 55 of file EcalTPGWeightGroupHandler.h.
References dtResolutionTest_cfi::inputFile.
std::map<std::string, int> popcon::EcalTPGWeightGroupHandler::makeStripId | ( | ) |
void popcon::EcalTPGWeightGroupHandler::readFromFile | ( | const char * | inputFile | ) |
Definition at line 391 of file EcalTPGWeightGroupHandler.cc.
References dtResolutionTest_cfi::inputFile, mps_splice::line, m_i_run_number, m_i_tag, m_i_version, m_i_weightGroup, str, and to_string().
Referenced by getNewObjects().
void popcon::EcalTPGWeightGroupHandler::readtxtFile | ( | ) |
Definition at line 303 of file EcalTPGWeightGroupHandler.cc.
References MillePedeFileConverter_cfg::e, cppFunctionSkipper::exception, beamvalidation::exit(), kEBStrips, kEEStrips, m_file_name, m_firstRun, popcon::PopConSourceHandler< EcalTPGWeightGroup >::m_to_transfer, EcalTPGGroups::setValue(), and digitizers_cfi::strip.
Referenced by getNewObjects().
void popcon::EcalTPGWeightGroupHandler::readxmlFile | ( | ) |
Definition at line 330 of file EcalTPGWeightGroupHandler.cc.
References MillePedeFileConverter_cfg::e, cppFunctionSkipper::exception, beamvalidation::exit(), newFWLiteAna::found, mps_fire::i, kEBStrips, kEEStrips, m_file_name, m_firstRun, popcon::PopConSourceHandler< EcalTPGWeightGroup >::m_to_transfer, EcalTPGGroups::setValue(), AlCaHLTBitMon_QueryRunRegistry::string, and digitizers_cfi::strip.
Referenced by getNewObjects().
|
inlineprivate |
Definition at line 66 of file EcalTPGWeightGroupHandler.h.
References relativeConstraints::value.
Referenced by readFromFile().
void popcon::EcalTPGWeightGroupHandler::writeFile | ( | const char * | inputFile | ) |
Definition at line 429 of file EcalTPGWeightGroupHandler.cc.
References m_i_run_number, m_i_tag, m_i_version, and m_i_weightGroup.
Referenced by getNewObjects(), and Vispa.Main.TabController.TabController::save().
|
private |
Definition at line 75 of file EcalTPGWeightGroupHandler.h.
|
private |
Definition at line 77 of file EcalTPGWeightGroupHandler.h.
EcalCondDBInterface* popcon::EcalTPGWeightGroupHandler::econn |
Definition at line 63 of file EcalTPGWeightGroupHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 89 of file EcalTPGWeightGroupHandler.h.
Referenced by EcalTPGWeightGroupHandler(), readtxtFile(), and readxmlFile().
|
private |
Definition at line 88 of file EcalTPGWeightGroupHandler.h.
Referenced by EcalTPGWeightGroupHandler(), and getNewObjects().
|
private |
Definition at line 72 of file EcalTPGWeightGroupHandler.h.
Referenced by EcalTPGWeightGroupHandler(), getNewObjects(), readtxtFile(), and readxmlFile().
|
private |
Definition at line 79 of file EcalTPGWeightGroupHandler.h.
Referenced by EcalTPGWeightGroupHandler(), and getNewObjects().
|
private |
Definition at line 91 of file EcalTPGWeightGroupHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 87 of file EcalTPGWeightGroupHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 90 of file EcalTPGWeightGroupHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 92 of file EcalTPGWeightGroupHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 73 of file EcalTPGWeightGroupHandler.h.
Referenced by EcalTPGWeightGroupHandler(), and getNewObjects().
|
private |
Definition at line 78 of file EcalTPGWeightGroupHandler.h.
Referenced by EcalTPGWeightGroupHandler(), and getNewObjects().
|
private |
Definition at line 83 of file EcalTPGWeightGroupHandler.h.
Referenced by EcalTPGWeightGroupHandler().
|
private |
Definition at line 84 of file EcalTPGWeightGroupHandler.h.
|
private |
Definition at line 82 of file EcalTPGWeightGroupHandler.h.
Referenced by EcalTPGWeightGroupHandler(), and getNewObjects().
|
private |
Definition at line 85 of file EcalTPGWeightGroupHandler.h.
|
private |
Definition at line 86 of file EcalTPGWeightGroupHandler.h.
Referenced by EcalTPGWeightGroupHandler(), and getNewObjects().
|
private |
Definition at line 80 of file EcalTPGWeightGroupHandler.h.
Referenced by EcalTPGWeightGroupHandler(), and getNewObjects().
|
private |
Definition at line 81 of file EcalTPGWeightGroupHandler.h.
Referenced by EcalTPGWeightGroupHandler(), and getNewObjects().