#include <MESetEcal.h>
Public Member Functions | |
void | book () |
void | fill (DetId const &, double _wx=1., double _wy=1., double _w=1.) |
void | fill (unsigned, double _wx=1., double _wy=1., double _w=1.) |
void | fill (double, double _wy=1., double _w=1.) |
std::vector< std::string > | generateNames () const |
double | getBinContent (DetId const &, int _bin=0) const |
double | getBinContent (unsigned, int _bin=0) const |
double | getBinEntries (DetId const &, int _bin=0) const |
double | getBinEntries (unsigned, int _bin=0) const |
double | getBinError (DetId const &, int _bin=0) const |
double | getBinError (unsigned, int _bin=0) const |
MESetEcal (std::string const &, MEData const &, int logicalDimensions_, 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 (unsigned, double, double _err=0.) |
void | setBinEntries (DetId const &, double) |
void | setBinEntries (unsigned, double) |
~MESetEcal () | |
Public Member Functions inherited from ecaldqm::MESet | |
virtual void | clear () const |
virtual void | fill (EcalElectronicsId const &, double _wx=1., double _wy=1., double _w=1.) |
virtual double | getBinContent (EcalElectronicsId const &, int _bin=0) const |
virtual double | getBinEntries (EcalElectronicsId const &, int _bin=0) const |
virtual double | getBinError (EcalElectronicsId const &, 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 (EcalElectronicsId const &, double, double _err=0.) |
virtual void | setBinEntries (EcalElectronicsId const &, 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 () |
Protected Member Functions | |
virtual void | fill_ (double) |
virtual void | find_ (uint32_t) const |
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 | |
std::pair< unsigned, std::vector< int > > | cache_ |
uint32_t | cacheId_ |
const unsigned | logicalDimensions_ |
Protected Attributes inherited from ecaldqm::MESet | |
bool | active_ |
MEData const * | data_ |
std::string | dir_ |
std::vector< MonitorElement * > | mes_ |
std::string | name_ |
bool | readOnly_ |
Additional Inherited Members | |
Static Protected Attributes inherited from ecaldqm::MESet | |
static BinService const * | binService_ |
static DQMStore * | dqmStore_ |
Definition at line 9 of file MESetEcal.h.
ecaldqm::MESetEcal::MESetEcal | ( | std::string const & | _fullpath, |
MEData const & | _data, | ||
int | logicalDimensions_, | ||
bool | _readOnly = false |
||
) |
Definition at line 12 of file MESetEcal.cc.
References ecaldqm::MEData::btype, ecaldqm::MESet::data_, edm::hlt::Exception, EcalDQMBinningService::kUser, logicalDimensions_, ecaldqm::MEData::xaxis, and ecaldqm::MEData::yaxis.
ecaldqm::MESetEcal::~MESetEcal | ( | ) |
Definition at line 22 of file MESetEcal.cc.
|
virtual |
Reimplemented from ecaldqm::MESet.
Reimplemented in ecaldqm::MESetTrend.
Definition at line 27 of file MESetEcal.cc.
References ecaldqm::MESet::active_, ecaldqm::MESet::binService_, DQMStore::book1D(), DQMStore::book2D(), DQMStore::bookFloat(), DQMStore::bookProfile(), DQMStore::bookProfile2D(), ecaldqm::MEData::btype, EcalDQMBinningService::channelName(), ecaldqm::MESet::clear(), ecaldqm::MESet::data_, ecaldqm::MESet::dir_, MonitorElement::DQM_KIND_REAL, MonitorElement::DQM_KIND_TH1F, MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::MESet::dqmStore_, prof2calltree::edges, EcalDQMBinningService::AxisSpecs::edges, edm::hlt::Exception, generateNames(), EcalDQMBinningService::getBinning(), MonitorElement::getNbinsX(), MonitorElement::getTH1(), EcalDQMBinningService::AxisSpecs::high, i, EcalDQMBinningService::kDCC, EcalDQMBinningService::kEB, ecaldqm::kEBmLow, EcalDQMBinningService::kEE, EcalDQMBinningService::kEEm, EcalDQMBinningService::kEEp, ecaldqm::MEData::kind, EcalDQMBinningService::kReport, logicalDimensions_, EcalDQMBinningService::AxisSpecs::low, max(), ecaldqm::MESet::mes_, ecaldqm::MESet::name_, EcalDQMBinningService::AxisSpecs::nbins, pileupCalc::nbins, EcalDQMBinningService::objectFromOffset(), ecaldqm::MEData::otype, ecaldqm::MESet::resetAll(), MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::setCurrentFolder(), EcalDQMBinningService::AxisSpecs::title, ecaldqm::MEData::xaxis, ecaldqm::MEData::yaxis, and ecaldqm::MEData::zaxis.
Referenced by ecaldqm::MESetTrend::book().
|
virtual |
Reimplemented from ecaldqm::MESet.
Reimplemented in ecaldqm::MESetTrend.
Definition at line 221 of file MESetEcal.cc.
References ecaldqm::MESet::binService_, ecaldqm::MESet::data_, ecaldqm::MESet::fill_(), EcalDQMBinningService::findOffset(), ecaldqm::MESet::mes_, evf::evtn::offset(), and ecaldqm::MEData::otype.
|
virtual |
Reimplemented from ecaldqm::MESet.
Reimplemented in ecaldqm::MESetTrend.
Definition at line 231 of file MESetEcal.cc.
References ecaldqm::MESet::binService_, ecaldqm::MEData::btype, ecaldqm::MESet::data_, ecaldqm::MESet::fill_(), EcalDQMBinningService::findOffset(), ecaldqm::MESet::mes_, evf::evtn::offset(), and ecaldqm::MEData::otype.
|
virtual |
Reimplemented from ecaldqm::MESet.
Reimplemented in ecaldqm::MESetTrend.
Definition at line 242 of file MESetEcal.cc.
References ecaldqm::MESet::fill_(), and ecaldqm::MESet::mes_.
|
protectedvirtual |
Definition at line 491 of file MESetEcal.cc.
References cache_, and ecaldqm::MESet::fill_().
Referenced by ecaldqm::MESetDet2D::fill(), and ecaldqm::MESetDet1D::fill_().
|
protectedvirtual |
Reimplemented in ecaldqm::MESetDet1D.
Definition at line 470 of file MESetEcal.cc.
References ecaldqm::MESet::binService_, ecaldqm::MEData::btype, cache_, cacheId_, ecaldqm::MESet::data_, DetId::Ecal, EcalDQMBinningService::findBins(), ecaldqm::MESet::mes_, and ecaldqm::MEData::otype.
Referenced by ecaldqm::MESetDet2D::fill(), getBinContent(), getBinEntries(), getBinError(), setBinContent(), and setBinEntries().
std::vector< std::string > ecaldqm::MESetEcal::generateNames | ( | ) | const |
Definition at line 402 of file MESetEcal.cc.
References ecaldqm::MESet::binService_, ecaldqm::MEData::btype, EcalDQMBinningService::channelName(), ecaldqm::MESet::data_, ecaldqm::dccId(), EcalDQMBinningService::kEB, EcalDQMBinningService::kEBMEM, EcalDQMBinningService::kEcal2P, EcalDQMBinningService::kEcal3P, EcalDQMBinningService::kEcalMEM2P, EcalDQMBinningService::kEE, EcalDQMBinningService::kEEm, EcalDQMBinningService::kEEMEM, EcalDQMBinningService::kEEp, EcalDQMBinningService::kProjEta, EcalDQMBinningService::kProjPhi, EcalDQMBinningService::kReport, EcalDQMBinningService::kSM, EcalDQMBinningService::kSMMEM, ecaldqm::MESet::name(), ecaldqm::MESet::name_, cscdqm::h::names, EcalDQMBinningService::nDCC, EcalDQMBinningService::nDCCMEM, EcalDQMBinningService::objectFromOffset(), and ecaldqm::MEData::otype.
Referenced by book(), and retrieve().
|
virtual |
Reimplemented from ecaldqm::MESet.
Reimplemented in ecaldqm::MESetTrend.
Definition at line 291 of file MESetEcal.cc.
References cache_, find_(), and ecaldqm::MESet::getBinContent_().
|
virtual |
Reimplemented from ecaldqm::MESet.
Reimplemented in ecaldqm::MESetTrend.
Definition at line 301 of file MESetEcal.cc.
References cache_, find_(), and ecaldqm::MESet::getBinContent_().
|
virtual |
Reimplemented from ecaldqm::MESet.
Reimplemented in ecaldqm::MESetTrend.
Definition at line 331 of file MESetEcal.cc.
References cache_, find_(), and ecaldqm::MESet::getBinEntries_().
Referenced by ecaldqm::MESetDet2D::fill().
|
virtual |
Reimplemented from ecaldqm::MESet.
Reimplemented in ecaldqm::MESetTrend.
Definition at line 341 of file MESetEcal.cc.
References cache_, find_(), and ecaldqm::MESet::getBinEntries_().
|
virtual |
Reimplemented from ecaldqm::MESet.
Reimplemented in ecaldqm::MESetTrend.
Definition at line 311 of file MESetEcal.cc.
References cache_, find_(), and ecaldqm::MESet::getBinError_().
|
virtual |
Reimplemented from ecaldqm::MESet.
Reimplemented in ecaldqm::MESetTrend.
Definition at line 321 of file MESetEcal.cc.
References cache_, find_(), and ecaldqm::MESet::getBinError_().
|
virtual |
Reimplemented from ecaldqm::MESet.
Definition at line 351 of file MESetEcal.cc.
References newFWLiteAna::bin, ecaldqm::MESet::binService_, ecaldqm::MEData::btype, ecaldqm::MESet::data_, edm::hlt::Exception, EcalDQMBinningService::getBinMap(), EcalDQMBinningService::kEcal2P, EcalDQMBinningService::kEcal3P, EcalDQMBinningService::kEcalMEM2P, EcalDQMBinningService::kSM, EcalDQMBinningService::kSMMEM, EcalDQMBinningService::nDCC, EcalDQMBinningService::nDCCMEM, EcalDQMBinningService::nObjType, EcalDQMBinningService::nPresetBinnings, EcalDQMBinningService::objectFromOffset(), ecaldqm::MEData::otype, ecaldqm::MESet::reset(), ecaldqm::MESet::setBinContent_(), ecaldqm::MESet::setBinEntries_(), and EcalDQMBinningService::smOffsetBins().
|
virtual |
Reimplemented from ecaldqm::MESet.
Definition at line 200 of file MESetEcal.cc.
References ecaldqm::MESet::active_, ecaldqm::MESet::clear(), ecaldqm::MESet::dir_, ecaldqm::MESet::dqmStore_, generateNames(), DQMStore::get(), and ecaldqm::MESet::mes_.
|
virtual |
Reimplemented from ecaldqm::MESet.
Reimplemented in ecaldqm::MESetTrend.
Definition at line 251 of file MESetEcal.cc.
References cache_, find_(), and ecaldqm::MESet::setBinContent_().
Referenced by ecaldqm::MESetDet2D::fill().
|
virtual |
Reimplemented from ecaldqm::MESet.
Reimplemented in ecaldqm::MESetTrend.
Definition at line 261 of file MESetEcal.cc.
References cache_, find_(), and ecaldqm::MESet::setBinContent_().
|
virtual |
Reimplemented from ecaldqm::MESet.
Reimplemented in ecaldqm::MESetTrend.
Definition at line 271 of file MESetEcal.cc.
References cache_, find_(), and ecaldqm::MESet::setBinEntries_().
Referenced by ecaldqm::MESetDet2D::fill().
|
virtual |
Reimplemented from ecaldqm::MESet.
Reimplemented in ecaldqm::MESetTrend.
Definition at line 281 of file MESetEcal.cc.
References cache_, find_(), and ecaldqm::MESet::setBinEntries_().
|
mutableprotected |
Definition at line 48 of file MESetEcal.h.
Referenced by ecaldqm::MESetDet1D::fill_(), fill_(), ecaldqm::MESetDet1D::find_(), find_(), ecaldqm::MESetDet1D::getBinContent(), getBinContent(), ecaldqm::MESetDet1D::getBinEntries(), getBinEntries(), ecaldqm::MESetDet1D::getBinError(), getBinError(), setBinContent(), and setBinEntries().
|
mutableprotected |
Definition at line 47 of file MESetEcal.h.
Referenced by ecaldqm::MESetDet1D::find_(), and find_().
|
protected |
Definition at line 45 of file MESetEcal.h.
Referenced by book(), and MESetEcal().