#include <MESetChannel.h>
Public Member Functions | |
void | checkDirectory () const |
void | clear () const |
void | fill (DetId const &, double _w=1., double _unused1=0., double _unused2=0.) |
void | fill (EcalElectronicsId const &, double _w=1., double _unused1=0., double _unused2=0.) |
double | getBinContent (DetId const &, int _bin=0) const |
double | getBinContent (EcalElectronicsId const &, int _bin=0) const |
double | getBinEntries (DetId const &_id, int _bin=0) const |
double | getBinEntries (EcalElectronicsId const &_id, int _bin=0) const |
MESetChannel (std::string const &, MEData const &, bool _readOnly=false) | |
void | reset (double _content=0., double _err=0., double _entries=0.) |
bool | retrieve () const |
void | setBinContent (DetId const &, double, double _err=0.) |
void | setBinContent (EcalElectronicsId const &, double, double _err=0.) |
~MESetChannel () | |
Public Member Functions inherited from ecaldqm::MESet | |
virtual void | book () |
virtual void | fill (unsigned, double _wx=1., double _wy=1., double _w=1.) |
virtual void | fill (double, double _wy=1., double _w=1.) |
virtual double | getBinContent (unsigned, int _bin=0) const |
virtual double | getBinEntries (unsigned, int _bin=0) const |
virtual double | getBinError (DetId const &, int _bin=0) const |
virtual double | getBinError (EcalElectronicsId const &, int _bin=0) const |
virtual double | getBinError (unsigned, int _bin=0) const |
BinService::BinningType | getBinType () const |
std::string const & | getDir () const |
virtual MonitorElement const * | getME (unsigned _offset) const |
std::string const & | getName () const |
BinService::ObjectType | getObjType () const |
bool | isActive () const |
MESet (std::string const &, MEData const &, bool _readOnly=false) | |
void | name (std::map< std::string, std::string > const &) const |
virtual void | resetAll (double _content=0., double _err=0., double _entries=0.) |
virtual void | setAxisTitle (std::string const &, int _axis=1) |
virtual void | setBinContent (unsigned, double, double _err=0.) |
virtual void | setBinEntries (DetId const &, double) |
virtual void | setBinEntries (EcalElectronicsId const &, double) |
virtual void | setBinEntries (unsigned, double) |
virtual void | setBinLabel (unsigned, int, std::string const &, int _axis=1) |
void | setDir (std::string const &_dir) |
void | setName (std::string const &_name) |
virtual | ~MESet () |
Private Member Functions | |
std::map< uint32_t, unsigned > ::iterator | append_ (std::string const &, uint32_t) |
uint32_t | getIndex_ (DetId const &) const |
uint32_t | getIndex_ (EcalElectronicsId const &) const |
Private Attributes | |
std::vector< MonitorElement * > | mes_ |
std::map< uint32_t, unsigned > | meTable_ |
bool | readMode_ |
Additional Inherited Members | |
Protected Member Functions inherited from ecaldqm::MESet | |
virtual void | fill_ (unsigned, int, double) |
virtual void | fill_ (unsigned, double, double, double) |
virtual double | getBinContent_ (unsigned, int) const |
virtual double | getBinEntries_ (unsigned, int) const |
virtual double | getBinError_ (unsigned, int) const |
virtual void | setBinContent_ (unsigned, int, double, double) |
virtual void | setBinEntries_ (unsigned, int, double) |
Protected Attributes inherited from ecaldqm::MESet | |
bool | active_ |
MEData const * | data_ |
std::string | dir_ |
std::vector< MonitorElement * > | mes_ |
std::string | name_ |
bool | readOnly_ |
Static Protected Attributes inherited from ecaldqm::MESet | |
static BinService const * | binService_ |
static DQMStore * | dqmStore_ |
Definition at line 10 of file MESetChannel.h.
ecaldqm::MESetChannel::MESetChannel | ( | std::string const & | _fullpath, |
MEData const & | _data, | ||
bool | _readOnly = false |
||
) |
Definition at line 10 of file MESetChannel.cc.
ecaldqm::MESetChannel::~MESetChannel | ( | ) |
Definition at line 16 of file MESetChannel.cc.
|
private |
Definition at line 160 of file MESetChannel.cc.
References DQMStore::book1D(), ecaldqm::MESet::dir_, ecaldqm::MESet::dqmStore_, cuy::ins, mes_, meTable_, alignCSCRings::pwd, DQMStore::pwd(), DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by fill(), and setBinContent().
void ecaldqm::MESetChannel::checkDirectory | ( | ) | const |
Definition at line 143 of file MESetChannel.cc.
References ecaldqm::MESet::binService_, ecaldqm::MESet::dir_, ecaldqm::MESet::dqmStore_, spr::find(), DQMStore::getContents(), EcalDQMBinningService::idFromName(), mes_, and meTable_.
Referenced by ecaldqm::DQWorkerClient::endLuminosityBlock().
|
virtual |
Reimplemented from ecaldqm::MESet.
Definition at line 28 of file MESetChannel.cc.
References ecaldqm::MESet::clear(), ecaldqm::MESet::dir_, ecaldqm::MESet::dqmStore_, mes_, meTable_, ecaldqm::MESet::readOnly_, and DQMStore::rmdir().
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
|
virtual |
Reimplemented from ecaldqm::MESet.
Definition at line 37 of file MESetChannel.cc.
References append_(), ecaldqm::MESet::binService_, ecaldqm::MEData::btype, EcalDQMBinningService::channelName(), ecaldqm::MESet::data_, getIndex_(), mes_, meTable_, ecaldqm::MESet::name(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Reimplemented from ecaldqm::MESet.
Definition at line 52 of file MESetChannel.cc.
References append_(), ecaldqm::MESet::binService_, ecaldqm::MEData::btype, EcalDQMBinningService::channelName(), ecaldqm::MESet::data_, getIndex_(), mes_, meTable_, ecaldqm::MESet::name(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Reimplemented from ecaldqm::MESet.
Definition at line 119 of file MESetChannel.cc.
References getIndex_(), mes_, and meTable_.
Referenced by getBinEntries().
|
virtual |
Reimplemented from ecaldqm::MESet.
Definition at line 131 of file MESetChannel.cc.
References getIndex_(), mes_, and meTable_.
|
inlinevirtual |
Reimplemented from ecaldqm::MESet.
Definition at line 31 of file MESetChannel.h.
References getBinContent().
|
inlinevirtual |
Reimplemented from ecaldqm::MESet.
Definition at line 32 of file MESetChannel.h.
References getBinContent().
|
private |
Definition at line 178 of file MESetChannel.cc.
References ecaldqm::MEData::btype, ecaldqm::MESet::data_, EcalElectronicsId::dccId(), EcalTriggerTower, edm::hlt::Exception, EcalElectronicsMapping::getElectronicsId(), ecaldqm::getElectronicsMap(), EcalDQMBinningService::kCrystal, EcalDQMBinningService::kDCC, EcalDQMBinningService::kSuperCrystal, EcalDQMBinningService::kTCC, EcalDQMBinningService::kTriggerTower, EcalDQMBinningService::nDCC, EcalTriggerElectronicsId::rawId(), EcalElectronicsId::rawId(), DetId::subdetId(), EcalTriggerElectronicsId::tccId(), EcalElectronicsId::towerId(), and EcalTriggerElectronicsId::ttId().
Referenced by fill(), getBinContent(), and setBinContent().
|
private |
Definition at line 216 of file MESetChannel.cc.
References ecaldqm::MEData::btype, ecaldqm::MESet::data_, EcalElectronicsId::dccId(), edm::hlt::Exception, ecaldqm::getElectronicsMap(), EcalDQMBinningService::kCrystal, EcalDQMBinningService::kDCC, EcalDQMBinningService::kSuperCrystal, EcalDQMBinningService::kTCC, EcalDQMBinningService::kTriggerTower, EcalDQMBinningService::nDCC, EcalElectronicsId::rawId(), EcalTriggerElectronicsId::tccId(), EcalElectronicsId::towerId(), and EcalTriggerElectronicsId::ttId().
|
virtual |
Reimplemented from ecaldqm::MESet.
Definition at line 99 of file MESetChannel.cc.
References ecaldqm::MESet::data_, ecaldqm::MESet::dir_, MonitorElement::DQM_KIND_TPROFILE, ecaldqm::MESet::dqmStore_, ecaldqm::MEData::kind, mes_, meTable_, ecaldqm::MESet::readOnly_, and DQMStore::rmdir().
|
virtual |
Reimplemented from ecaldqm::MESet.
Definition at line 21 of file MESetChannel.cc.
References ecaldqm::MESet::active_.
|
virtual |
Reimplemented from ecaldqm::MESet.
Definition at line 67 of file MESetChannel.cc.
References append_(), ecaldqm::MESet::binService_, ecaldqm::MEData::btype, EcalDQMBinningService::channelName(), ecaldqm::MESet::data_, getIndex_(), mes_, meTable_, ecaldqm::MESet::name(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Reimplemented from ecaldqm::MESet.
Definition at line 83 of file MESetChannel.cc.
References append_(), ecaldqm::MESet::binService_, ecaldqm::MEData::btype, EcalDQMBinningService::channelName(), ecaldqm::MESet::data_, getIndex_(), mes_, meTable_, ecaldqm::MESet::name(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
mutableprivate |
Definition at line 41 of file MESetChannel.h.
Referenced by append_(), checkDirectory(), clear(), fill(), getBinContent(), reset(), and setBinContent().
|
mutableprivate |
Definition at line 42 of file MESetChannel.h.
Referenced by append_(), checkDirectory(), clear(), fill(), getBinContent(), reset(), and setBinContent().
|
mutableprivate |
Definition at line 45 of file MESetChannel.h.