#include <DQWorkerClient.h>
Public Types | |
enum | ProcessType { kLumi, kJob, nProcessType } |
enum | Quality { kBad = 0, kGood = 1, kUnknown = 2, kMBad = 3, kMGood = 4, kMUnknown = 5 } |
Public Member Functions | |
void | bookMEs (DQMStore::IBooker &) override |
DQWorkerClient () | |
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
virtual void | producePlots (ProcessType)=0 |
void | releaseMEs () override |
void | releaseSource () |
virtual void | resetMEs () |
bool | retrieveSource (DQMStore::IGetter &, ProcessType) |
bool | runsOn (ProcessType _type) const |
void | setStatusManager (StatusManager const &_manager) |
virtual | ~DQWorkerClient () |
Public Member Functions inherited from ecaldqm::DQWorker | |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) |
DQWorker () | |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) |
std::string const & | getName () const |
bool | onlineMode () const |
void | setEventNumber (edm::EventNumber_t _e) |
void | setLumiNumber (edm::LuminosityBlockNumber_t _l) |
void | setRunNumber (edm::RunNumber_t _r) |
void | setTime (time_t _t) |
virtual | ~DQWorker () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ParameterSetDescription &) |
Static Public Member Functions inherited from ecaldqm::DQWorker | |
static void | fillDescriptions (edm::ParameterSetDescription &_desc) |
Protected Member Functions | |
void | setME (edm::ParameterSet const &_ps) final |
void | setSource (edm::ParameterSet const &) override |
void | towerAverage_ (MESet &, MESet const &, float) |
bool | using_ (std::string const &_name, ProcessType _type=kJob) const |
Protected Member Functions inherited from ecaldqm::DQWorker | |
void | initialize (std::string const &_name, edm::ParameterSet const &) |
void | print_ (std::string const &, int=0) const |
virtual void | setParams (edm::ParameterSet const &) |
void | setVerbosity (int _verbosity) |
Protected Attributes | |
bool | hasLumiPlots_ |
std::set< std::string > | qualitySummaries_ |
MESetCollection | sources_ |
StatusManager const * | statusManager_ |
Protected Attributes inherited from ecaldqm::DQWorker | |
bool | booked_ |
MESetCollection | MEs_ |
std::string | name_ |
bool | onlineMode_ |
Timestamp | timestamp_ |
int | verbosity_ |
bool | willConvertToEDM_ |
Definition at line 14 of file DQWorkerClient.h.
Enumerator | |
---|---|
kLumi | |
kJob | |
nProcessType |
Definition at line 16 of file DQWorkerClient.h.
Enumerator | |
---|---|
kBad | |
kGood | |
kUnknown | |
kMBad | |
kMGood | |
kMUnknown |
Definition at line 41 of file DQWorkerClient.h.
ecaldqm::DQWorkerClient::DQWorkerClient | ( | ) |
Definition at line 18 of file DQWorkerClient.cc.
|
inlinevirtual |
Definition at line 23 of file DQWorkerClient.h.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 98 of file DQWorkerClient.cc.
References ecaldqm::DQWorker::bookMEs(), and resetMEs().
Referenced by EcalDQMonitorClient::dqmEndLuminosityBlock().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Reimplemented in ecaldqm::IntegrityClient, and ecaldqm::TowerStatusTask.
Definition at line 85 of file DQWorkerClient.cc.
References sources_.
|
static |
Definition at line 29 of file DQWorkerClient.cc.
References edm::ParameterSetDescription::addUntracked(), edm::ParameterSetDescription::addWildcardUntracked(), ecaldqm::DQWorker::fillDescriptions(), ecaldqm::fillMESetDescriptions(), and edm::RequireZeroOrMore.
Referenced by EcalDQMonitorClient::fillDescriptions().
|
pure virtual |
Implemented in ecaldqm::IntegrityClient, ecaldqm::TowerStatusTask, ecaldqm::SummaryClient, ecaldqm::CalibrationSummaryClient, ecaldqm::CertificationClient, ecaldqm::LaserClient, ecaldqm::LedClient, ecaldqm::OccupancyClient, ecaldqm::PedestalClient, ecaldqm::PNIntegrityClient, ecaldqm::PresampleClient, ecaldqm::RawDataClient, ecaldqm::SelectiveReadoutClient, ecaldqm::TestPulseClient, ecaldqm::TimingClient, and ecaldqm::TrigPrimClient.
Referenced by EcalDQMonitorClient::runWorkers().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 105 of file DQWorkerClient.cc.
References ecaldqm::DQWorker::releaseMEs(), and releaseSource().
void ecaldqm::DQWorkerClient::releaseSource | ( | ) |
Definition at line 112 of file DQWorkerClient.cc.
References sources_.
Referenced by releaseMEs(), and EcalDQMonitorClient::runWorkers().
|
virtual |
Reimplemented in ecaldqm::SummaryClient.
Definition at line 135 of file DQWorkerClient.cc.
References MonitorElement::DQM_KIND_TH2F, ecaldqm::MESet::getBinType(), ecaldqm::MESet::getKind(), ecaldqm::MESetMulti::getMultiplicity(), ecaldqm::binning::kTrend, kUnknown, ecaldqm::DQWorker::MEs_, trackerHitRTTI::multi, qualitySummaries_, ecaldqm::MESetMulti::reset(), ecaldqm::MESet::reset(), ecaldqm::MESetMulti::resetAll(), ecaldqm::MESet::resetAll(), and ecaldqm::MESetMulti::use().
Referenced by bookMEs(), ecaldqm::SummaryClient::resetMEs(), and EcalDQMonitorClient::runWorkers().
bool ecaldqm::DQWorkerClient::retrieveSource | ( | DQMStore::IGetter & | _igetter, |
ProcessType | _type | ||
) |
Definition at line 119 of file DQWorkerClient.cc.
References kLumi, ecaldqm::DQWorker::name_, ecaldqm::DQWorker::onlineMode_, sources_, AlCaHLTBitMon_QueryRunRegistry::string, and ecaldqm::DQWorker::verbosity_.
Referenced by EcalDQMonitorClient::runWorkers().
|
inline |
Definition at line 35 of file DQWorkerClient.h.
References hasLumiPlots_, and kJob.
Referenced by EcalDQMonitorClient::dqmEndLuminosityBlock(), and EcalDQMonitorClient::runWorkers().
|
finalprotectedvirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 43 of file DQWorkerClient.cc.
References hasLumiPlots_, ecaldqm::DQWorker::MEs_, and ecaldqm::DQWorker::setME().
|
overrideprotectedvirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 61 of file DQWorkerClient.cc.
References ecaldqm::createMESet(), edm::ParameterSet::getParameterNames(), edm::ParameterSet::getUntrackedParameterSet(), mergeVDriftHistosByStation::name, ecaldqm::DQWorker::name_, ecaldqm::DQWorker::onlineMode_, sources_, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and ecaldqm::DQWorker::verbosity_.
|
inline |
Definition at line 39 of file DQWorkerClient.h.
References statusManager_.
Referenced by EcalDQMonitorClient::EcalDQMonitorClient().
|
protected |
Definition at line 173 of file DQWorkerClient.cc.
References ecaldqm::MESet::beginChannel(), EcalTrigTowerConstituentsMap::constituentsOf(), ws_sso_content_reader::content, EcalTriggerTower, ecaldqm::MESet::end(), ecaldqm::MESet::getBinContent(), ecaldqm::getTrigTowerMap(), timingPdfMaker::mean, ecaldqm::scConstituents(), ecaldqm::MESet::iterator::toNextChannel(), and ecaldqm::towerId().
Referenced by ecaldqm::LaserClient::producePlots(), ecaldqm::TestPulseClient::producePlots(), ecaldqm::PresampleClient::producePlots(), ecaldqm::PedestalClient::producePlots(), and ecaldqm::LedClient::producePlots().
|
inlineprotected |
Definition at line 54 of file DQWorkerClient.h.
References kJob, and sources_.
Referenced by ecaldqm::CalibrationSummaryClient::producePlots(), ecaldqm::SummaryClient::producePlots(), and ecaldqm::CalibrationSummaryClient::setParams().
|
protected |
Definition at line 67 of file DQWorkerClient.h.
|
protected |
Definition at line 65 of file DQWorkerClient.h.
Referenced by ecaldqm::CertificationClient::CertificationClient(), ecaldqm::IntegrityClient::IntegrityClient(), ecaldqm::OccupancyClient::OccupancyClient(), ecaldqm::PNIntegrityClient::PNIntegrityClient(), ecaldqm::PresampleClient::PresampleClient(), ecaldqm::RawDataClient::RawDataClient(), resetMEs(), ecaldqm::CalibrationSummaryClient::setParams(), ecaldqm::TestPulseClient::setParams(), ecaldqm::PedestalClient::setParams(), ecaldqm::LaserClient::setParams(), ecaldqm::LedClient::setParams(), ecaldqm::SummaryClient::SummaryClient(), ecaldqm::TimingClient::TimingClient(), and ecaldqm::TrigPrimClient::TrigPrimClient().
|
protected |
Definition at line 64 of file DQWorkerClient.h.
Referenced by endLuminosityBlock(), ecaldqm::CertificationClient::producePlots(), ecaldqm::TimingClient::producePlots(), ecaldqm::PedestalClient::producePlots(), ecaldqm::PNIntegrityClient::producePlots(), ecaldqm::PresampleClient::producePlots(), ecaldqm::RawDataClient::producePlots(), ecaldqm::LaserClient::producePlots(), ecaldqm::SelectiveReadoutClient::producePlots(), ecaldqm::CalibrationSummaryClient::producePlots(), ecaldqm::LedClient::producePlots(), ecaldqm::TestPulseClient::producePlots(), ecaldqm::TrigPrimClient::producePlots(), ecaldqm::OccupancyClient::producePlots(), ecaldqm::SummaryClient::producePlots(), ecaldqm::IntegrityClient::producePlots(), releaseSource(), retrieveSource(), ecaldqm::LaserClient::setParams(), ecaldqm::CalibrationSummaryClient::setParams(), ecaldqm::PedestalClient::setParams(), ecaldqm::LedClient::setParams(), ecaldqm::TestPulseClient::setParams(), ecaldqm::SummaryClient::setParams(), setSource(), and using_().
|
protected |
Definition at line 69 of file DQWorkerClient.h.
Referenced by ecaldqm::LaserClient::producePlots(), ecaldqm::TrigPrimClient::producePlots(), ecaldqm::LedClient::producePlots(), ecaldqm::TestPulseClient::producePlots(), ecaldqm::PresampleClient::producePlots(), ecaldqm::RawDataClient::producePlots(), ecaldqm::OccupancyClient::producePlots(), ecaldqm::PNIntegrityClient::producePlots(), ecaldqm::TimingClient::producePlots(), ecaldqm::PedestalClient::producePlots(), ecaldqm::SummaryClient::producePlots(), ecaldqm::IntegrityClient::producePlots(), and setStatusManager().