14 formula_(_ps.getUntrackedParameter<
std::
string>(
"formula")),
16 verbosity_(_ps.getUntrackedParameter<
int>(
"verbosity"))
59 std::unique_ptr<EcalCondDBInterface> db(
nullptr);
64 db = std::unique_ptr<EcalCondDBInterface>(
new EcalCondDBInterface(DBName, userName, password));
66 catch(std::runtime_error& re){
67 if(!hostName.empty()){
69 db = std::unique_ptr<EcalCondDBInterface>(
new EcalCondDBInterface(hostName, DBName, userName, password, hostPort));
71 catch(std::runtime_error& re2){
106 catch(std::runtime_error&
e){
107 edm::LogError(
"EcalDQM") <<
"Cannot fetch MonRunIOV for location=" << location <<
" runNumber=" << runNumber <<
" monVersion=test01 monRunGeneralTag=" << monRunGeneralTag;
126 for(std::map<DetId, double>::const_iterator vItr(
values.begin()); vItr !=
values.end(); ++vItr)
T getUntrackedParameter(std::string const &, T const &) const
MonRunIOV fetchMonRunIOV(RunTag *runtag, MonRunTag *montag, run_t run, subrun_t monrun) noexcept(false)
virtual void book(DQMStore::IBooker &)
ecaldqm::DBReaderWorker * worker_
ParameterSet getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
EcalCondDBInterface * db_
virtual void setBinContent(DetId const &, double)
void setGeneralTag(std::string tag)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
RunIOV fetchRunIOV(RunTag *tag, run_t run) noexcept(false)
void setMonVersionDef(const MonVersionDef &ver)
void setMonitoringVersion(std::string ver)
EcalCondDBReader(edm::ParameterSet const &)
virtual std::map< DetId, double > run(EcalCondDBInterface *, MonRunIOV &, std::string const &)=0
MESet * createMESet(edm::ParameterSet const &)