#include <TowerStatusTask.h>
Public Types | |
enum | MESets { kDAQSummary, kDAQSummaryMap, kDAQContents, kDCSSummary, kDCSSummaryMap, kDCSContents, nMESets } |
Public Types inherited from ecaldqm::DQWorker | |
enum | MESets { nMESets } |
Public Member Functions | |
void | beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
void | beginRun (const edm::Run &, const edm::EventSetup &) |
void | bookMEs () |
void | endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
void | endRun (const edm::Run &, const edm::EventSetup &) |
void | runOnTowerStatus (const std::map< uint32_t, bool > &, int) |
TowerStatusTask (const edm::ParameterSet &, const edm::ParameterSet &) | |
~TowerStatusTask () | |
Public Member Functions inherited from ecaldqm::DQWorkerTask | |
virtual void | analyze (const void *, Collections) |
virtual void | beginEvent (const edm::Event &, const edm::EventSetup &) |
DQWorkerTask (const edm::ParameterSet &, const edm::ParameterSet &, std::string const &) | |
virtual void | endEvent (const edm::Event &, const edm::EventSetup &) |
virtual bool | filterRunType (const std::vector< short > &) |
virtual bool | filterTrigger (const edm::TriggerResultsByName &) |
virtual const std::vector < std::pair< Collections, Collections > > & | getDependencies () |
virtual bool | runsOn (unsigned) |
virtual | ~DQWorkerTask () |
Public Member Functions inherited from ecaldqm::DQWorker | |
DQWorker (const edm::ParameterSet &, const edm::ParameterSet &, std::string const &) | |
const std::vector< MESet * > & | getMEs () |
virtual std::string const & | getName () |
virtual bool | isInitialized () |
virtual void | reset () |
virtual void | setInitialized (bool _init) |
virtual void | setVerbosity (int _verbosity) |
virtual | ~DQWorker () |
Static Public Member Functions | |
static void | setMEData (std::vector< MEData > &) |
Static Public Member Functions inherited from ecaldqm::DQWorker | |
static void | setMEData (std::vector< MEData > &) |
Private Attributes | |
std::map< uint32_t, bool > | daqLumiStatus_ |
std::map< uint32_t, bool > | daqRunStatus_ |
std::map< uint32_t, bool > | dcsLumiStatus_ |
std::map< uint32_t, bool > | dcsRunStatus_ |
bool | doDAQInfo_ |
bool | doDCSInfo_ |
Additional Inherited Members | |
Static Public Attributes inherited from ecaldqm::DQWorker | |
static std::map< std::string, std::vector< MEData > > | meData |
Protected Member Functions inherited from ecaldqm::DQWorker | |
MESet * | createMESet_ (std::string const &, MEData const &, bool _readOnly=false) const |
void | meSet_ (unsigned, edm::ParameterSet const &) |
Protected Attributes inherited from ecaldqm::DQWorkerTask | |
uint32_t | collectionMask_ |
std::vector< std::pair < Collections, Collections > > | dependencies_ |
Protected Attributes inherited from ecaldqm::DQWorker | |
bool | initialized_ |
std::vector< MESet * > | MEs_ |
std::string | name_ |
int | verbosity_ |
Definition at line 8 of file TowerStatusTask.h.
Enumerator | |
---|---|
kDAQSummary | |
kDAQSummaryMap | |
kDAQContents | |
kDCSSummary | |
kDCSSummaryMap | |
kDCSContents | |
nMESets |
Definition at line 22 of file TowerStatusTask.h.
ecaldqm::TowerStatusTask::TowerStatusTask | ( | const edm::ParameterSet & | _params, |
const edm::ParameterSet & | _paths | ||
) |
Definition at line 21 of file TowerStatusTask.cc.
References ecaldqm::DQWorkerTask::collectionMask_, doDAQInfo_, doDCSInfo_, edm::hlt::Exception, edm::ParameterSet::getUntrackedParameterSet(), ecaldqm::kLumiSection, ecaldqm::kRun, and ecaldqm::DQWorker::name_.
ecaldqm::TowerStatusTask::~TowerStatusTask | ( | ) |
Definition at line 43 of file TowerStatusTask.cc.
|
virtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 108 of file TowerStatusTask.cc.
References daqLumiStatus_, daqRunStatus_, dcsLumiStatus_, dcsRunStatus_, EcalTrigTowerDetId::detIdFromDenseIndex(), doDAQInfo_, doDCSInfo_, edm::EventSetup::get(), edm::ESHandleBase::isValid(), EcalTrigTowerDetId::kEBTotalTowers, EcalScDetId::kSizeForDenseIndexing, DetId::rawId(), ntuplemaker::status, and EcalScDetId::unhashIndex().
|
virtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 53 of file TowerStatusTask.cc.
References daqLumiStatus_, daqRunStatus_, dcsLumiStatus_, dcsRunStatus_, EcalTrigTowerDetId::detIdFromDenseIndex(), doDAQInfo_, doDCSInfo_, kDAQContents, kDAQSummary, kDAQSummaryMap, kDCSContents, kDCSSummary, kDCSSummaryMap, EcalTrigTowerDetId::kEBTotalTowers, EcalScDetId::kSizeForDenseIndexing, ecaldqm::DQWorker::MEs_, DetId::rawId(), and EcalScDetId::unhashIndex().
|
virtual |
|
virtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 166 of file TowerStatusTask.cc.
References daqLumiStatus_, dcsLumiStatus_, doDAQInfo_, doDCSInfo_, and runOnTowerStatus().
|
virtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 101 of file TowerStatusTask.cc.
References daqRunStatus_, dcsRunStatus_, doDAQInfo_, doDCSInfo_, and runOnTowerStatus().
void ecaldqm::TowerStatusTask::runOnTowerStatus | ( | const std::map< uint32_t, bool > & | _status, |
int | _type | ||
) |
Definition at line 173 of file TowerStatusTask.cc.
References relmon_rootfiles_spy::contents, gather_cfg::cout, ecaldqm::dccId(), EcalElectronicsMapping::dccTowerConstituents(), EcalTriggerTower, ecaldqm::getElectronicsMap(), errorMatrix2Lands_multiChannel::id, ecaldqm::DQWorker::initialized_, kDAQContents, kDAQSummary, kDAQSummaryMap, kDCSContents, kDCSSummary, kDCSSummaryMap, EBDetId::kSizeForDenseIndexing, EEDetId::kSizeForDenseIndexing, ecaldqm::DQWorker::MEs_, findQualityFiles::size, ntuplemaker::status, edmLumisInFiles::summary, and ecaldqm::towerId().
Referenced by endLuminosityBlock(), and endRun().
|
static |
Definition at line 223 of file TowerStatusTask.cc.
References MonitorElement::DQM_KIND_REAL, MonitorElement::DQM_KIND_TH2F, kDAQContents, kDAQSummary, kDAQSummaryMap, kDCSContents, kDCSSummary, kDCSSummaryMap, EcalDQMBinningService::kEcal, EcalDQMBinningService::kReport, EcalDQMBinningService::kSM, and EcalDQMBinningService::kSuperCrystal.
|
private |
Definition at line 35 of file TowerStatusTask.h.
Referenced by beginLuminosityBlock(), beginRun(), and endLuminosityBlock().
|
private |
Definition at line 35 of file TowerStatusTask.h.
Referenced by beginLuminosityBlock(), beginRun(), and endRun().
|
private |
Definition at line 36 of file TowerStatusTask.h.
Referenced by beginLuminosityBlock(), beginRun(), and endLuminosityBlock().
|
private |
Definition at line 36 of file TowerStatusTask.h.
Referenced by beginLuminosityBlock(), beginRun(), and endRun().
|
private |
Definition at line 37 of file TowerStatusTask.h.
Referenced by beginLuminosityBlock(), beginRun(), endLuminosityBlock(), endRun(), and TowerStatusTask().
|
private |
Definition at line 37 of file TowerStatusTask.h.
Referenced by beginLuminosityBlock(), beginRun(), endLuminosityBlock(), endRun(), and TowerStatusTask().