cscdqm::MonitorObject implementation used in CSCMonitorModuleCmn More...
#include <CSCMonitorObject.h>
Public Member Functions | |
CSCMonitorObject (MonitorElement *p_me) | |
void | Fill (float x, float yw) |
void | Fill (float x, float y, float zw) |
void | Fill (float x) |
void | Fill (float x, float y, float z, float w) |
double | GetBinContent (const int binX) |
double | GetBinContent (const int binX, int binY) |
const double | GetBinError (const int bin) |
const double | GetEntries () |
const int | GetMaximumBin () |
const TObject * | getRefRootObject (void) const |
const TH1 * | getTH1 (void) const |
TH1 * | getTH1Lock (void) |
void | SetAxisRange (const double from, const double to, const std::string &axis) |
void | setAxisTitle (const std::string title, const int axisN) |
void | SetBinContent (const int binX, const double value) |
void | SetBinContent (const int binX, const int binY, const double value) |
void | SetBinError (const int bin, const double error) |
void | SetEntries (const double value) |
void | SetMaximum (const double d) |
void | SetNormFactor (const double factor) |
virtual | ~CSCMonitorObject () |
Private Attributes | |
MonitorElement * | me |
cscdqm::MonitorObject implementation used in CSCMonitorModuleCmn
Definition at line 29 of file CSCMonitorObject.h.
CSCMonitorObject::CSCMonitorObject | ( | MonitorElement * | p_me | ) | [inline] |
virtual CSCMonitorObject::~CSCMonitorObject | ( | ) | [inline, virtual] |
Definition at line 38 of file CSCMonitorObject.h.
{ }
void CSCMonitorObject::Fill | ( | float | x | ) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 40 of file CSCMonitorObject.h.
References MonitorElement::Fill(), CommonMethods::lock(), me, and cscdqm::Lock::mutex.
void CSCMonitorObject::Fill | ( | float | x, |
float | yw | ||
) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 45 of file CSCMonitorObject.h.
References MonitorElement::Fill(), CommonMethods::lock(), me, and cscdqm::Lock::mutex.
void CSCMonitorObject::Fill | ( | float | x, |
float | y, | ||
float | z, | ||
float | w | ||
) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 55 of file CSCMonitorObject.h.
References MonitorElement::Fill(), CommonMethods::lock(), me, and cscdqm::Lock::mutex.
void CSCMonitorObject::Fill | ( | float | x, |
float | y, | ||
float | zw | ||
) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 50 of file CSCMonitorObject.h.
References MonitorElement::Fill(), CommonMethods::lock(), me, and cscdqm::Lock::mutex.
double CSCMonitorObject::GetBinContent | ( | const int | binX | ) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 75 of file CSCMonitorObject.h.
References MonitorElement::getBinContent(), CommonMethods::lock(), me, and cscdqm::Lock::mutex.
{ cscdqm::LockType lock(mutex); double d = me->getBinContent(binX); return d; }
double CSCMonitorObject::GetBinContent | ( | const int | binX, |
int | binY | ||
) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 81 of file CSCMonitorObject.h.
References MonitorElement::getBinContent(), CommonMethods::lock(), me, and cscdqm::Lock::mutex.
{ cscdqm::LockType lock(mutex); double d = me->getBinContent(binX, binY); return d; }
const double CSCMonitorObject::GetBinError | ( | const int | bin | ) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 123 of file CSCMonitorObject.h.
References MonitorElement::getTH1(), CommonMethods::lock(), me, and cscdqm::Lock::mutex.
const double CSCMonitorObject::GetEntries | ( | ) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 108 of file CSCMonitorObject.h.
References MonitorElement::getTH1(), CommonMethods::lock(), me, and cscdqm::Lock::mutex.
{ cscdqm::LockType lock(mutex); double d = me->getTH1()->GetEntries(); return d; }
const int CSCMonitorObject::GetMaximumBin | ( | ) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 97 of file CSCMonitorObject.h.
References MonitorElement::getTH1(), i, CommonMethods::lock(), me, and cscdqm::Lock::mutex.
const TObject* CSCMonitorObject::getRefRootObject | ( | void | ) | const [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 119 of file CSCMonitorObject.h.
References MonitorElement::getRefRootObject(), and me.
{ return me->getRefRootObject(); }
const TH1* CSCMonitorObject::getTH1 | ( | void | ) | const [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 134 of file CSCMonitorObject.h.
References MonitorElement::getTH1(), and me.
TH1* CSCMonitorObject::getTH1Lock | ( | void | ) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 138 of file CSCMonitorObject.h.
References MonitorElement::getTH1(), and me.
void CSCMonitorObject::SetAxisRange | ( | const double | from, |
const double | to, | ||
const std::string & | axis | ||
) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 87 of file CSCMonitorObject.h.
References MonitorElement::getTH1(), CommonMethods::lock(), me, and cscdqm::Lock::mutex.
void CSCMonitorObject::setAxisTitle | ( | const std::string | title, |
const int | axisN | ||
) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 92 of file CSCMonitorObject.h.
References CommonMethods::lock(), me, cscdqm::Lock::mutex, and MonitorElement::setAxisTitle().
{ cscdqm::LockType lock(mutex); me->setAxisTitle(title, axisN); }
void CSCMonitorObject::SetBinContent | ( | const int | binX, |
const int | binY, | ||
const double | value | ||
) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 70 of file CSCMonitorObject.h.
References CommonMethods::lock(), me, cscdqm::Lock::mutex, and MonitorElement::setBinContent().
{ cscdqm::LockType lock(mutex); me->setBinContent(binX, binY, value); }
void CSCMonitorObject::SetBinContent | ( | const int | binX, |
const double | value | ||
) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 65 of file CSCMonitorObject.h.
References CommonMethods::lock(), me, cscdqm::Lock::mutex, and MonitorElement::setBinContent().
{ cscdqm::LockType lock(mutex); me->setBinContent(binX, value); }
void CSCMonitorObject::SetBinError | ( | const int | bin, |
const double | error | ||
) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 129 of file CSCMonitorObject.h.
References MonitorElement::getTH1(), CommonMethods::lock(), me, and cscdqm::Lock::mutex.
void CSCMonitorObject::SetEntries | ( | const double | value | ) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 60 of file CSCMonitorObject.h.
References CommonMethods::lock(), me, cscdqm::Lock::mutex, and MonitorElement::setEntries().
{ cscdqm::LockType lock(mutex); me->setEntries(value); }
void CSCMonitorObject::SetMaximum | ( | const double | d | ) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 114 of file CSCMonitorObject.h.
References MonitorElement::getTH1(), CommonMethods::lock(), me, and cscdqm::Lock::mutex.
{ cscdqm::LockType lock(mutex); me->getTH1()->SetMaximum(d); }
void CSCMonitorObject::SetNormFactor | ( | const double | factor | ) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 103 of file CSCMonitorObject.h.
References MonitorElement::getTH1(), CommonMethods::lock(), me, and cscdqm::Lock::mutex.
{ cscdqm::LockType lock(mutex); me->getTH1()->SetNormFactor(factor); }
MonitorElement* CSCMonitorObject::me [private] |
Definition at line 33 of file CSCMonitorObject.h.
Referenced by CSCMonitorObject(), Fill(), GetBinContent(), GetBinError(), GetEntries(), GetMaximumBin(), getRefRootObject(), getTH1(), getTH1Lock(), SetAxisRange(), setAxisTitle(), SetBinContent(), SetBinError(), SetEntries(), SetMaximum(), and SetNormFactor().