1 #include "../interface/EcalCondDBReader.h"
13 formula_(_ps.getUntrackedParameter<std::
string>(
"formula")),
14 meSet_(ecaldqm::
createMESet(_ps.getUntrackedParameterSet(
"plot"))),
15 verbosity_(_ps.getUntrackedParameter<int>(
"verbosity")),
61 std::auto_ptr<EcalCondDBInterface>
db(0);
66 db = std::auto_ptr<EcalCondDBInterface>(
new EcalCondDBInterface(DBName, userName, password));
68 catch(std::runtime_error& re){
71 db = std::auto_ptr<EcalCondDBInterface>(
new EcalCondDBInterface(hostName, DBName, userName, password, hostPort));
73 catch(std::runtime_error& re2){
108 catch(std::runtime_error&
e){
109 edm::LogError(
"EcalDQM") <<
"Cannot fetch MonRunIOV for location=" << location <<
" runNumber=" << runNumber <<
" monVersion=test01 monRunGeneralTag=" << monRunGeneralTag;
128 for(std::map<DetId, double>::const_iterator vItr(
values.begin()); vItr !=
values.end(); ++vItr)
T getUntrackedParameter(std::string const &, T const &) const
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)
virtual void book(DQMStore &)
void analyze(edm::Event const &, edm::EventSetup const &)
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 &)
volatile std::atomic< bool > shutdown_flag false
virtual std::map< DetId, double > run(EcalCondDBInterface *, MonRunIOV &, std::string const &)=0
MESet * createMESet(edm::ParameterSet const &)