#include <EcalTPGBadTTHandler.h>
Public Member Functions | |
EcalTPGBadTTHandler (edm::ParameterSet const &) | |
void | getNewObjects () override |
std::string | id () const override |
std::map< std::string, int > | makeTTEEDetId () |
void | readFromFile (const char *inputFile) |
void | writeFile (const char *inputFile) |
~EcalTPGBadTTHandler () override | |
Public Member Functions inherited from popcon::PopConSourceHandler< EcalTPGTowerStatus > | |
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_badTT |
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 |
std::map< std::string, int > | mapDetEEId |
const EcalTPGTowerStatus * | mytowerStat |
Additional Inherited Members | |
Public Types inherited from popcon::PopConSourceHandler< EcalTPGTowerStatus > | |
typedef std::vector< Triplet > | Container |
typedef std::vector< std::pair< EcalTPGTowerStatus *, cond::Time_t > > | OldContainer |
typedef PopConSourceHandler< EcalTPGTowerStatus > | self |
typedef cond::Summary | Summary |
typedef cond::Time_t | Time_t |
typedef EcalTPGTowerStatus | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< EcalTPGTowerStatus > | |
int | add (value_type *payload, Summary *summary, Time_t time) |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< EcalTPGTowerStatus > | |
OldContainer | m_to_transfer |
std::string | m_userTextLog |
Definition at line 49 of file EcalTPGBadTTHandler.h.
popcon::EcalTPGBadTTHandler::EcalTPGBadTTHandler | ( | edm::ParameterSet const & | ) |
Definition at line 25 of file EcalTPGBadTTHandler.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.
|
override |
Definition at line 43 of file EcalTPGBadTTHandler.cc.
|
overridevirtual |
Implements popcon::PopConSourceHandler< EcalTPGTowerStatus >.
Definition at line 48 of file EcalTPGBadTTHandler.cc.
References gather_cfg::cout, createfilelist::dataset, MillePedeFileConverter_cfg::e, econn, cppFunctionSkipper::exception, Exception, EcalCondDBInterface::fetchConfigDataSet(), EcalCondDBInterface::fetchDataSet(), EcalCondDBInterface::fetchGlobalRunListByLocation(), FEConfigMainInfo::getBttId(), RunTPGConfigDat::getConfigTag(), EcalCondDBInterface::getEcalLogicIDSetOrdered(), RunList::getRuns(), FEConfigBadTTDat::getStatus(), FEConfigBadTTDat::getTCCId(), FEConfigBadTTDat::getTTId(), RunTPGConfigDat::getVersion(), id(), ecalpyutils::ism(), cond::TagInfo_t::lastInterval, m_firstRun, m_gentag, m_i_badTT, m_i_run_number, m_i_tag, m_i_version, m_lastRun, m_location, m_pass, m_runtype, m_sid, popcon::PopConSourceHandler< EcalTPGTowerStatus >::m_to_transfer, m_user, EcalLogicID::NULLID, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), readFromFile(), IODConfig::setConfigTag(), RunTag::setGeneralTag(), FEConfigBadTTInfo::setId(), LocationDef::setLocation(), RunTag::setLocationDef(), RunTypeDef::setRunType(), RunTag::setRunTypeDef(), EcalTPGTowerStatus::setValue(), FEConfigMainInfo::setVersion(), EBDetId::SMCRYSTALMODE, harvestTrackValidationPlots::str, AlCaHLTBitMon_QueryRunRegistry::string, popcon::PopConSourceHandler< EcalTPGTowerStatus >::tagInfo(), and writeFile().
|
inlineoverridevirtual |
Implements popcon::PopConSourceHandler< EcalTPGTowerStatus >.
Definition at line 60 of file EcalTPGBadTTHandler.h.
References analyzePatCleaning_cfg::inputFile.
Referenced by getNewObjects().
std::map<std::string, int> popcon::EcalTPGBadTTHandler::makeTTEEDetId | ( | ) |
void popcon::EcalTPGBadTTHandler::readFromFile | ( | const char * | inputFile | ) |
Definition at line 331 of file EcalTPGBadTTHandler.cc.
References analyzePatCleaning_cfg::inputFile, geometryCSVtoXML::line, m_i_badTT, m_i_run_number, m_i_tag, m_i_version, harvestTrackValidationPlots::str, and to_string().
Referenced by getNewObjects().
|
inlineprivate |
Definition at line 68 of file EcalTPGBadTTHandler.h.
References relativeConstraints::value.
Referenced by readFromFile().
void popcon::EcalTPGBadTTHandler::writeFile | ( | const char * | inputFile | ) |
Definition at line 371 of file EcalTPGBadTTHandler.cc.
References m_i_badTT, m_i_run_number, m_i_tag, and m_i_version.
Referenced by getNewObjects(), and Vispa.Main.TabController.TabController::save().
EcalCondDBInterface* popcon::EcalTPGBadTTHandler::econn |
Definition at line 65 of file EcalTPGBadTTHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 76 of file EcalTPGBadTTHandler.h.
Referenced by EcalTPGBadTTHandler(), and getNewObjects().
|
private |
Definition at line 81 of file EcalTPGBadTTHandler.h.
Referenced by EcalTPGBadTTHandler(), and getNewObjects().
|
private |
Definition at line 92 of file EcalTPGBadTTHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 91 of file EcalTPGBadTTHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 89 of file EcalTPGBadTTHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 90 of file EcalTPGBadTTHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 77 of file EcalTPGBadTTHandler.h.
Referenced by EcalTPGBadTTHandler(), and getNewObjects().
|
private |
Definition at line 80 of file EcalTPGBadTTHandler.h.
Referenced by EcalTPGBadTTHandler(), and getNewObjects().
|
private |
Definition at line 85 of file EcalTPGBadTTHandler.h.
Referenced by EcalTPGBadTTHandler().
|
private |
Definition at line 86 of file EcalTPGBadTTHandler.h.
|
private |
Definition at line 84 of file EcalTPGBadTTHandler.h.
Referenced by EcalTPGBadTTHandler(), and getNewObjects().
|
private |
Definition at line 87 of file EcalTPGBadTTHandler.h.
|
private |
Definition at line 88 of file EcalTPGBadTTHandler.h.
Referenced by EcalTPGBadTTHandler(), and getNewObjects().
|
private |
Definition at line 82 of file EcalTPGBadTTHandler.h.
Referenced by EcalTPGBadTTHandler(), and getNewObjects().
|
private |
Definition at line 83 of file EcalTPGBadTTHandler.h.
Referenced by EcalTPGBadTTHandler(), and getNewObjects().
|
private |
Definition at line 78 of file EcalTPGBadTTHandler.h.
|
private |
Definition at line 74 of file EcalTPGBadTTHandler.h.