1 #include "../interface/EcalCondDBReader.h"
14 formula_(_ps.getUntrackedParameter<std::
string>(
"formula")),
15 meSet_(ecaldqm::
createMESet(_ps.getUntrackedParameterSet(
"plot"))),
16 verbosity_(_ps.getUntrackedParameter<int>(
"verbosity"))
59 std::auto_ptr<EcalCondDBInterface>
db(0);
64 db = std::auto_ptr<EcalCondDBInterface>(
new EcalCondDBInterface(DBName, userName, password));
66 catch(std::runtime_error& re){
69 db = std::auto_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
virtual void book(DQMStore::IBooker &)
ecaldqm::DBReaderWorker * worker_
RunIOV fetchRunIOV(RunTag *tag, run_t run)
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
void setMonVersionDef(const MonVersionDef &ver)
MonRunIOV fetchMonRunIOV(RunTag *runtag, MonRunTag *montag, run_t run, subrun_t monrun)
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 &)