#include <EcalTPGOddWeightGroupHandler.h>
Public Member Functions | |
EcalTPGOddWeightGroupHandler (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) |
~EcalTPGOddWeightGroupHandler () override | |
Public Member Functions inherited from popcon::PopConSourceHandler< EcalTPGOddWeightGroup > | |
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::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 |
int | m_i_oddweightGroup |
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 |
Additional Inherited Members | |
Public Types inherited from popcon::PopConSourceHandler< EcalTPGOddWeightGroup > | |
typedef std::map< Time_t, std::shared_ptr < EcalTPGOddWeightGroup > > | Container |
typedef std::unique_ptr < EcalTPGOddWeightGroup > | Ref |
typedef PopConSourceHandler < EcalTPGOddWeightGroup > | self |
typedef cond::Time_t | Time_t |
typedef EcalTPGOddWeightGroup | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< EcalTPGOddWeightGroup > | |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< EcalTPGOddWeightGroup > | |
Container | m_iovs |
std::vector< std::pair < EcalTPGOddWeightGroup *, Time_t > > | m_to_transfer |
std::string | m_userTextLog |
Definition at line 46 of file EcalTPGOddWeightGroupHandler.h.
popcon::EcalTPGOddWeightGroupHandler::EcalTPGOddWeightGroupHandler | ( | edm::ParameterSet const & | ps | ) |
Definition at line 30 of file EcalTPGOddWeightGroupHandler.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 EcalTPGOddWeightGroupHandler.cc.
|
overridevirtual |
Implements popcon::PopConSourceHandler< EcalTPGOddWeightGroup >.
Definition at line 50 of file EcalTPGOddWeightGroupHandler.cc.
References gather_cfg::cout, dat, writedatasetfile::dataset, alignCSCRings::e, test_db_connect::econn, cppFunctionSkipper::exception, Exception, RunTPGConfigDat::getConfigTag(), EcalLogicID::getID1(), EcalLogicID::getID2(), EcalLogicID::getID3(), EcalLogicID::getName(), RunList::getRuns(), RunTPGConfigDat::getVersion(), FEConfigMainInfo::getWei2Id(), 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(), EcalTPGGroups::setValue(), FEConfigMainInfo::setVersion(), findQualityFiles::size, str, AlCaHLTBitMon_QueryRunRegistry::string, digitizers_cfi::strip, dumpRecoGeometry_cfg::tagInfo, and groupFilesInBlocks::tt.
|
inlineoverridevirtual |
Implements popcon::PopConSourceHandler< EcalTPGOddWeightGroup >.
Definition at line 55 of file EcalTPGOddWeightGroupHandler.h.
References m_name.
std::map<std::string, int> popcon::EcalTPGOddWeightGroupHandler::makeStripId | ( | ) |
void popcon::EcalTPGOddWeightGroupHandler::readFromFile | ( | const char * | inputFile | ) |
Definition at line 395 of file EcalTPGOddWeightGroupHandler.cc.
References writeEcalDQMStatus::inputFile, geometryCSVtoXML::line, str, and cond::impl::to_string().
void popcon::EcalTPGOddWeightGroupHandler::readtxtFile | ( | ) |
Definition at line 306 of file EcalTPGOddWeightGroupHandler.cc.
References gather_cfg::cout, alignCSCRings::e, cppFunctionSkipper::exception, beamvalidation::exit(), kEBStrips, kEEStrips, EcalTPGGroups::setValue(), and digitizers_cfi::strip.
void popcon::EcalTPGOddWeightGroupHandler::readxmlFile | ( | ) |
Definition at line 333 of file EcalTPGOddWeightGroupHandler.cc.
References gather_cfg::cout, alignCSCRings::e, cppFunctionSkipper::exception, beamvalidation::exit(), newFWLiteAna::found, mps_fire::i, kEBStrips, kEEStrips, EcalTPGGroups::setValue(), AlCaHLTBitMon_QueryRunRegistry::string, and digitizers_cfi::strip.
|
inlineprivate |
Definition at line 66 of file EcalTPGOddWeightGroupHandler.h.
References relativeConstraints::value.
void popcon::EcalTPGOddWeightGroupHandler::writeFile | ( | const char * | inputFile | ) |
Definition at line 433 of file EcalTPGOddWeightGroupHandler.cc.
|
private |
Definition at line 75 of file EcalTPGOddWeightGroupHandler.h.
|
private |
Definition at line 77 of file EcalTPGOddWeightGroupHandler.h.
EcalCondDBInterface* popcon::EcalTPGOddWeightGroupHandler::econn |
Definition at line 63 of file EcalTPGOddWeightGroupHandler.h.
|
private |
Definition at line 89 of file EcalTPGOddWeightGroupHandler.h.
Referenced by EcalTPGOddWeightGroupHandler().
|
private |
Definition at line 88 of file EcalTPGOddWeightGroupHandler.h.
Referenced by EcalTPGOddWeightGroupHandler().
|
private |
Definition at line 72 of file EcalTPGOddWeightGroupHandler.h.
Referenced by EcalTPGOddWeightGroupHandler().
|
private |
Definition at line 79 of file EcalTPGOddWeightGroupHandler.h.
Referenced by EcalTPGOddWeightGroupHandler().
|
private |
Definition at line 92 of file EcalTPGOddWeightGroupHandler.h.
|
private |
Definition at line 91 of file EcalTPGOddWeightGroupHandler.h.
|
private |
Definition at line 87 of file EcalTPGOddWeightGroupHandler.h.
|
private |
Definition at line 90 of file EcalTPGOddWeightGroupHandler.h.
|
private |
Definition at line 73 of file EcalTPGOddWeightGroupHandler.h.
Referenced by EcalTPGOddWeightGroupHandler().
|
private |
Definition at line 78 of file EcalTPGOddWeightGroupHandler.h.
Referenced by EcalTPGOddWeightGroupHandler().
|
private |
Definition at line 83 of file EcalTPGOddWeightGroupHandler.h.
Referenced by EcalTPGOddWeightGroupHandler().
|
private |
Definition at line 84 of file EcalTPGOddWeightGroupHandler.h.
Referenced by id().
|
private |
Definition at line 82 of file EcalTPGOddWeightGroupHandler.h.
Referenced by EcalTPGOddWeightGroupHandler().
|
private |
Definition at line 85 of file EcalTPGOddWeightGroupHandler.h.
|
private |
Definition at line 86 of file EcalTPGOddWeightGroupHandler.h.
Referenced by EcalTPGOddWeightGroupHandler().
|
private |
Definition at line 80 of file EcalTPGOddWeightGroupHandler.h.
Referenced by EcalTPGOddWeightGroupHandler().
|
private |
Definition at line 81 of file EcalTPGOddWeightGroupHandler.h.
Referenced by EcalTPGOddWeightGroupHandler().