#include <MESetDet2D.h>
Public Member Functions | |
void | fill (DetId const &, double _w=1., double _unused1=0., double _unused2=0.) |
MESetDet2D (std::string const &, MEData const &, bool _readOnly=false) | |
~MESetDet2D () |
Definition at line 8 of file MESetDet2D.h.
ecaldqm::MESetDet2D::MESetDet2D | ( | std::string const & | _fullpath, |
MEData const & | _data, | ||
bool | _readOnly = false |
||
) |
Definition at line 6 of file MESetDet2D.cc.
: MESetEcal(_fullpath, _data, 2, _readOnly) { }
ecaldqm::MESetDet2D::~MESetDet2D | ( | ) |
Definition at line 11 of file MESetDet2D.cc.
{ }
void ecaldqm::MESetDet2D::fill | ( | DetId const & | _id, |
double | _w = 1. , |
||
double | _unused1 = 0. , |
||
double | _unused2 = 0. |
||
) | [virtual] |
Reimplemented from ecaldqm::MESetEcal.
Definition at line 16 of file MESetDet2D.cc.
References ecaldqm::MESet::data_, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::MESetEcal::fill_(), ecaldqm::MESetEcal::find_(), ecaldqm::MESetEcal::getBinEntries(), ecaldqm::MEData::kind, ecaldqm::MESetEcal::setBinContent(), and ecaldqm::MESetEcal::setBinEntries().
{ find_(_id); if(data_->kind == MonitorElement::DQM_KIND_TPROFILE2D){ if(getBinEntries(_id) < 0.){ setBinEntries(_id, 0.); setBinContent(_id, 0., 0.); } } fill_(_w); }