#include <EcalTPGLinConstHandler.h>
Public Member Functions | |
EcalTPGLinConstHandler (edm::ParameterSet const &) | |
void | getNewObjects () |
std::string | id () const |
void | readFromFile (const char *inputFile) |
void | writeFile (const char *inputFile) |
~EcalTPGLinConstHandler () | |
Public Member Functions inherited from popcon::PopConSourceHandler< EcalTPGLinearizationConst > | |
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 | |
unsigned int | m_firstRun |
std::string | m_gentag |
int | m_i_lin |
unsigned int | m_i_run_number |
std::string | m_i_tag |
int | m_i_version |
unsigned int | m_lastRun |
const EcalTPGLinearizationConst * | m_linearizationConst |
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< EcalTPGLinearizationConst > | |
typedef std::vector< Triplet > | Container |
typedef std::vector< std::pair< EcalTPGLinearizationConst *, cond::Time_t > > | OldContainer |
typedef PopConSourceHandler< EcalTPGLinearizationConst > | self |
typedef cond::Summary | Summary |
typedef cond::Time_t | Time_t |
typedef EcalTPGLinearizationConst | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< EcalTPGLinearizationConst > | |
int | add (value_type *payload, Summary *summary, Time_t time) |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< EcalTPGLinearizationConst > | |
OldContainer | m_to_transfer |
std::string | m_userTextLog |
Definition at line 49 of file EcalTPGLinConstHandler.h.
popcon::EcalTPGLinConstHandler::EcalTPGLinConstHandler | ( | edm::ParameterSet const & | ) |
Definition at line 24 of file EcalTPGLinConstHandler.cc.
References edm::ParameterSet::getParameter(), m_firstRun, m_gentag, m_lastRun, m_location, m_locationsource, m_pass, m_runtype, m_sid, m_user, and AlCaHLTBitMon_QueryRunRegistry::string.
popcon::EcalTPGLinConstHandler::~EcalTPGLinConstHandler | ( | ) |
Definition at line 41 of file EcalTPGLinConstHandler.cc.
|
virtual |
Implements popcon::PopConSourceHandler< EcalTPGLinearizationConst >.
Definition at line 46 of file EcalTPGLinConstHandler.cc.
References gather_cfg::cout, createfilelist::dataset, MillePedeFileConverter_cfg::e, econn, cppFunctionSkipper::exception, Exception, EcalCondDBInterface::fetchDataSet(), EcalCondDBInterface::fetchGlobalRunListByLocation(), RunTPGConfigDat::getConfigTag(), EcalLogicID::getID1(), EcalLogicID::getID2(), EcalLogicID::getID3(), FEConfigMainInfo::getLinId(), FEConfigLinDat::getMultX1(), FEConfigLinDat::getMultX12(), FEConfigLinDat::getMultX6(), EcalLogicID::getName(), RunList::getRuns(), FEConfigLinDat::getShift1(), FEConfigLinDat::getShift12(), FEConfigLinDat::getShift6(), RunTPGConfigDat::getVersion(), EcalCondObjectContainer< T >::insert(), cond::TagInfo_t::lastInterval, m_firstRun, m_gentag, m_i_lin, m_i_run_number, m_i_tag, m_i_version, m_lastRun, m_location, m_pass, m_runtype, m_sid, popcon::PopConSourceHandler< EcalTPGLinearizationConst >::m_to_transfer, m_user, EcalTPGLinearizationConstant::mult_x1, EcalTPGLinearizationConstant::mult_x12, EcalTPGLinearizationConstant::mult_x6, cond::TagInfo_t::name, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), readFromFile(), IODConfig::setConfigTag(), RunTag::setGeneralTag(), FEConfigLinInfo::setId(), LocationDef::setLocation(), RunTag::setLocationDef(), RunTypeDef::setRunType(), RunTag::setRunTypeDef(), FEConfigMainInfo::setVersion(), EcalTPGLinearizationConstant::shift_x1, EcalTPGLinearizationConstant::shift_x12, EcalTPGLinearizationConstant::shift_x6, cond::TagInfo_t::size, findQualityFiles::size, EBDetId::SMCRYSTALMODE, AlCaHLTBitMon_QueryRunRegistry::string, popcon::PopConSourceHandler< EcalTPGLinearizationConst >::tagInfo(), writeFile(), x(), and EEDetId::XYMODE.
|
inlinevirtual |
Implements popcon::PopConSourceHandler< EcalTPGLinearizationConst >.
Definition at line 58 of file EcalTPGLinConstHandler.h.
References analyzePatCleaning_cfg::inputFile.
void popcon::EcalTPGLinConstHandler::readFromFile | ( | const char * | inputFile | ) |
Definition at line 283 of file EcalTPGLinConstHandler.cc.
References analyzePatCleaning_cfg::inputFile, geometryCSVtoXML::line, m_i_lin, m_i_run_number, m_i_tag, m_i_version, harvestTrackValidationPlots::str, and to_string().
Referenced by getNewObjects().
|
inlineprivate |
Definition at line 67 of file EcalTPGLinConstHandler.h.
References relativeConstraints::value.
Referenced by readFromFile().
void popcon::EcalTPGLinConstHandler::writeFile | ( | const char * | inputFile | ) |
Definition at line 323 of file EcalTPGLinConstHandler.cc.
References m_i_lin, m_i_run_number, m_i_tag, and m_i_version.
Referenced by getNewObjects(), and Vispa.Main.TabController.TabController::save().
EcalCondDBInterface* popcon::EcalTPGLinConstHandler::econn |
Definition at line 64 of file EcalTPGLinConstHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 75 of file EcalTPGLinConstHandler.h.
Referenced by EcalTPGLinConstHandler(), and getNewObjects().
|
private |
Definition at line 79 of file EcalTPGLinConstHandler.h.
Referenced by EcalTPGLinConstHandler(), and getNewObjects().
|
private |
Definition at line 90 of file EcalTPGLinConstHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 89 of file EcalTPGLinConstHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 87 of file EcalTPGLinConstHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 88 of file EcalTPGLinConstHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 76 of file EcalTPGLinConstHandler.h.
Referenced by EcalTPGLinConstHandler(), and getNewObjects().
|
private |
Definition at line 73 of file EcalTPGLinConstHandler.h.
|
private |
Definition at line 78 of file EcalTPGLinConstHandler.h.
Referenced by EcalTPGLinConstHandler(), and getNewObjects().
|
private |
Definition at line 83 of file EcalTPGLinConstHandler.h.
Referenced by EcalTPGLinConstHandler().
|
private |
Definition at line 84 of file EcalTPGLinConstHandler.h.
|
private |
Definition at line 82 of file EcalTPGLinConstHandler.h.
Referenced by EcalTPGLinConstHandler(), and getNewObjects().
|
private |
Definition at line 85 of file EcalTPGLinConstHandler.h.
|
private |
Definition at line 86 of file EcalTPGLinConstHandler.h.
Referenced by EcalTPGLinConstHandler(), and getNewObjects().
|
private |
Definition at line 80 of file EcalTPGLinConstHandler.h.
Referenced by EcalTPGLinConstHandler(), and getNewObjects().
|
private |
Definition at line 81 of file EcalTPGLinConstHandler.h.
Referenced by EcalTPGLinConstHandler(), and getNewObjects().