#include <EcalTPGSpikeThresholdHandler.h>
Public Member Functions | |
EcalTPGSpikeThresholdHandler (edm::ParameterSet const &) | |
void | getNewObjects () |
std::string | id () const |
std::map< std::string, int > | makeTTEBDetId () |
std::map< std::string, int > | makeTTEEDetId () |
void | readFromFile (const char *inputFile) |
void | writeFile (const char *inputFile) |
~EcalTPGSpikeThresholdHandler () | |
Public Member Functions inherited from popcon::PopConSourceHandler< EcalTPGSpike > | |
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 | |
const EcalElectronicsMapping * | ecalMapping_ |
unsigned int | m_firstRun |
std::string | m_gentag |
unsigned int | m_i_run_number |
int | m_i_spikeTh |
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 > | mapDetEBId |
std::map< std::string, int > | mapDetEEId |
const EcalTPGSpike * | mySpikeTh |
Additional Inherited Members | |
Public Types inherited from popcon::PopConSourceHandler< EcalTPGSpike > | |
typedef std::vector< Triplet > | Container |
typedef std::vector< std::pair< EcalTPGSpike *, cond::Time_t > > | OldContainer |
typedef PopConSourceHandler< EcalTPGSpike > | self |
typedef cond::Summary | Summary |
typedef cond::Time_t | Time_t |
typedef EcalTPGSpike | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< EcalTPGSpike > | |
int | add (value_type *payload, Summary *summary, Time_t time) |
cond::persistency::Session & | dbSession () const |
Protected Attributes inherited from popcon::PopConSourceHandler< EcalTPGSpike > | |
OldContainer | m_to_transfer |
std::string | m_userTextLog |
Definition at line 52 of file EcalTPGSpikeThresholdHandler.h.
popcon::EcalTPGSpikeThresholdHandler::EcalTPGSpikeThresholdHandler | ( | edm::ParameterSet const & | ) |
Definition at line 42 of file EcalTPGSpikeThresholdHandler.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::EcalTPGSpikeThresholdHandler::~EcalTPGSpikeThresholdHandler | ( | ) |
Definition at line 59 of file EcalTPGSpikeThresholdHandler.cc.
|
virtual |
Implements popcon::PopConSourceHandler< EcalTPGSpike >.
Definition at line 64 of file EcalTPGSpikeThresholdHandler.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::getName(), RunList::getRuns(), FEConfigMainInfo::getSpiId(), FEConfigSpikeDat::getSpikeThreshold(), RunTPGConfigDat::getVersion(), id(), cond::TagInfo_t::lastInterval, lumiPlot::lut, m_firstRun, m_gentag, m_i_run_number, m_i_spikeTh, m_i_tag, m_i_version, m_lastRun, m_location, m_pass, m_runtype, m_sid, popcon::PopConSourceHandler< EcalTPGSpike >::m_to_transfer, m_user, cond::TagInfo_t::name, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), readFromFile(), IODConfig::setConfigTag(), RunTag::setGeneralTag(), FEConfigSpikeInfo::setId(), LocationDef::setLocation(), RunTag::setLocationDef(), RunTypeDef::setRunType(), RunTag::setRunTypeDef(), EcalTPGSpike::setValue(), FEConfigMainInfo::setVersion(), cond::TagInfo_t::size, findQualityFiles::size, EBDetId::SMCRYSTALMODE, harvestTrackValidationPlots::str, AlCaHLTBitMon_QueryRunRegistry::string, popcon::PopConSourceHandler< EcalTPGSpike >::tagInfo(), and writeFile().
|
inlinevirtual |
Implements popcon::PopConSourceHandler< EcalTPGSpike >.
Definition at line 64 of file EcalTPGSpikeThresholdHandler.h.
References analyzePatCleaning_cfg::inputFile.
Referenced by getNewObjects().
std::map<std::string, int> popcon::EcalTPGSpikeThresholdHandler::makeTTEBDetId | ( | ) |
std::map<std::string, int> popcon::EcalTPGSpikeThresholdHandler::makeTTEEDetId | ( | ) |
void popcon::EcalTPGSpikeThresholdHandler::readFromFile | ( | const char * | inputFile | ) |
Definition at line 302 of file EcalTPGSpikeThresholdHandler.cc.
References analyzePatCleaning_cfg::inputFile, geometryCSVtoXML::line, m_i_run_number, m_i_spikeTh, m_i_tag, m_i_version, harvestTrackValidationPlots::str, and to_string().
Referenced by getNewObjects().
|
inlineprivate |
Definition at line 72 of file EcalTPGSpikeThresholdHandler.h.
References relativeConstraints::value.
Referenced by readFromFile().
void popcon::EcalTPGSpikeThresholdHandler::writeFile | ( | const char * | inputFile | ) |
Definition at line 342 of file EcalTPGSpikeThresholdHandler.cc.
References m_i_run_number, m_i_spikeTh, m_i_tag, and m_i_version.
Referenced by getNewObjects(), and Vispa.Main.TabController.TabController::save().
|
private |
Definition at line 84 of file EcalTPGSpikeThresholdHandler.h.
EcalCondDBInterface* popcon::EcalTPGSpikeThresholdHandler::econn |
Definition at line 69 of file EcalTPGSpikeThresholdHandler.h.
Referenced by getNewObjects().
|
private |
Definition at line 79 of file EcalTPGSpikeThresholdHandler.h.
Referenced by EcalTPGSpikeThresholdHandler(), and getNewObjects().
|
private |
Definition at line 87 of file EcalTPGSpikeThresholdHandler.h.
Referenced by EcalTPGSpikeThresholdHandler(), and getNewObjects().
|
private |
Definition at line 97 of file EcalTPGSpikeThresholdHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 98 of file EcalTPGSpikeThresholdHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 95 of file EcalTPGSpikeThresholdHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 96 of file EcalTPGSpikeThresholdHandler.h.
Referenced by getNewObjects(), readFromFile(), and writeFile().
|
private |
Definition at line 80 of file EcalTPGSpikeThresholdHandler.h.
Referenced by EcalTPGSpikeThresholdHandler(), and getNewObjects().
|
private |
Definition at line 86 of file EcalTPGSpikeThresholdHandler.h.
Referenced by EcalTPGSpikeThresholdHandler(), and getNewObjects().
|
private |
Definition at line 91 of file EcalTPGSpikeThresholdHandler.h.
Referenced by EcalTPGSpikeThresholdHandler().
|
private |
Definition at line 92 of file EcalTPGSpikeThresholdHandler.h.
|
private |
Definition at line 90 of file EcalTPGSpikeThresholdHandler.h.
Referenced by EcalTPGSpikeThresholdHandler(), and getNewObjects().
|
private |
Definition at line 93 of file EcalTPGSpikeThresholdHandler.h.
|
private |
Definition at line 94 of file EcalTPGSpikeThresholdHandler.h.
Referenced by EcalTPGSpikeThresholdHandler(), and getNewObjects().
|
private |
Definition at line 88 of file EcalTPGSpikeThresholdHandler.h.
Referenced by EcalTPGSpikeThresholdHandler(), and getNewObjects().
|
private |
Definition at line 89 of file EcalTPGSpikeThresholdHandler.h.
Referenced by EcalTPGSpikeThresholdHandler(), and getNewObjects().
|
private |
Definition at line 81 of file EcalTPGSpikeThresholdHandler.h.
|
private |
Definition at line 82 of file EcalTPGSpikeThresholdHandler.h.
|
private |
Definition at line 78 of file EcalTPGSpikeThresholdHandler.h.