25 using namespace ecaldqm;
30 runAtEndLumi_(_ps.getUntrackedParameter<bool>(
"runAtEndLumi",
false)),
42 for(vector<string>::iterator cItr(clientNames.begin()); cItr != clientNames.end(); ++cItr){
43 if (!(factory = SetWorker::findFactory(*cItr)))
continue;
47 DQWorker* worker(factory(clientParams, mePaths.getUntrackedParameterSet(*cItr)));
61 for(std::vector<DQWorkerClient*>::iterator wItr(
workers_.begin()); wItr !=
workers_.end(); ++wItr)
87 if(_es.
find(edm::eventsetup::EventSetupRecordKey::makeKey<EcalDQMChannelStatusRcd>())){
90 DQWorkerClient::channelStatus = cStHndl.
product();
93 if(_es.
find(edm::eventsetup::EventSetupRecordKey::makeKey<EcalDQMTowerStatusRcd>())){
96 DQWorkerClient::towerStatus = tStHndl.
product();
99 for(std::vector<DQWorkerClient*>::iterator wItr(
workers_.begin()); wItr !=
workers_.end(); ++wItr){
118 for(std::vector<DQWorkerClient *>::iterator wItr(
workers_.begin()); wItr !=
workers_.end(); ++wItr){
119 (*wItr)->endRun(_run, _es);
126 for(std::vector<DQWorkerClient *>::iterator wItr(
workers_.begin()); wItr !=
workers_.end(); ++wItr)
127 (*wItr)->beginLuminosityBlock(_lumi, _es);
135 for(std::vector<DQWorkerClient *>::iterator wItr(
workers_.begin()); wItr !=
workers_.end(); ++wItr)
136 (*wItr)->endLuminosityBlock(_lumi, _es);
148 std::cout <<
"EcalDQMonitorClient: Starting worker modules.." << std::endl;
150 for(std::vector<DQWorkerClient *>::iterator wItr(
workers_.begin()); wItr !=
workers_.end(); ++wItr){
T getUntrackedParameter(std::string const &, T const &) const
static void fillDescriptions(edm::ConfigurationDescriptions &)
void setTrigTowerMap(const EcalTrigTowerConstituentsMap *)
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
virtual void setVerbosity(int _verbosity)
virtual void initialize()
const eventsetup::EventSetupRecord * find(const eventsetup::EventSetupRecordKey &) const
void setElectronicsMap(const EcalElectronicsMapping *)
void addDefault(ParameterSetDescription const &psetDescription)
virtual std::string const & getName()
virtual bool isInitialized()
ParameterSet const & getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
DQWorker *(* WorkerFactory)(const edm::ParameterSet &, const edm::ParameterSet &)
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
std::vector< ecaldqm::DQWorkerClient * > workers_
T const * product() const
void beginRun(const edm::Run &, const edm::EventSetup &)
void endRun(const edm::Run &, const edm::EventSetup &)
virtual void producePlots()=0
EcalDQMonitorClient(const edm::ParameterSet &)