#include <DQM/CSCMonitorModule/interface/CSCMonitorObject.h>
Public Member Functions | |
CSCMonitorObject (MonitorElement *p_me) | |
void | Fill (float x, float y, float z, float w) |
void | Fill (float x, float y, float zw) |
void | Fill (float x, float yw) |
void | Fill (float x) |
double | GetBinContent (const int binX, int binY) |
double | GetBinContent (const int binX) |
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 int binY, const double value) |
void | SetBinContent (const int binX, 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 |
Definition at line 29 of file CSCMonitorObject.h.
CSCMonitorObject::CSCMonitorObject | ( | MonitorElement * | p_me | ) | [inline] |
virtual CSCMonitorObject::~CSCMonitorObject | ( | ) | [inline, virtual] |
void CSCMonitorObject::Fill | ( | float | x, | |
float | y, | |||
float | z, | |||
float | w | |||
) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 58 of file CSCMonitorObject.h.
References MonitorElement::Fill(), cscdqm::Lock::lock(), me, and cscdqm::Lock::unlock().
void CSCMonitorObject::Fill | ( | float | x, | |
float | y, | |||
float | zw | |||
) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 52 of file CSCMonitorObject.h.
References MonitorElement::Fill(), cscdqm::Lock::lock(), me, and cscdqm::Lock::unlock().
void CSCMonitorObject::Fill | ( | float | x, | |
float | yw | |||
) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 46 of file CSCMonitorObject.h.
References MonitorElement::Fill(), cscdqm::Lock::lock(), me, and cscdqm::Lock::unlock().
void CSCMonitorObject::Fill | ( | float | x | ) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 40 of file CSCMonitorObject.h.
References MonitorElement::Fill(), cscdqm::Lock::lock(), me, and cscdqm::Lock::unlock().
Implements cscdqm::MonitorObject.
Definition at line 89 of file CSCMonitorObject.h.
References d, MonitorElement::getBinContent(), cscdqm::Lock::lock(), me, and cscdqm::Lock::unlock().
00089 { 00090 lock(); 00091 double d = me->getBinContent(binX, binY); 00092 unlock(); 00093 return d; 00094 }
double CSCMonitorObject::GetBinContent | ( | const int | binX | ) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 82 of file CSCMonitorObject.h.
References d, MonitorElement::getBinContent(), cscdqm::Lock::lock(), me, and cscdqm::Lock::unlock().
00082 { 00083 lock(); 00084 double d = me->getBinContent(binX); 00085 unlock(); 00086 return d; 00087 }
const double CSCMonitorObject::GetBinError | ( | const int | bin | ) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 138 of file CSCMonitorObject.h.
References d, MonitorElement::getTH1(), cscdqm::Lock::lock(), me, and cscdqm::Lock::unlock().
00138 { 00139 lock(); 00140 double d = me->getTH1()->GetBinError(bin); 00141 unlock(); 00142 return d; 00143 }
const double CSCMonitorObject::GetEntries | ( | ) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 121 of file CSCMonitorObject.h.
References d, MonitorElement::getTH1(), cscdqm::Lock::lock(), me, and cscdqm::Lock::unlock().
00121 { 00122 lock(); 00123 double d = me->getTH1()->GetEntries(); 00124 unlock(); 00125 return d; 00126 }
const int CSCMonitorObject::GetMaximumBin | ( | ) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 108 of file CSCMonitorObject.h.
References MonitorElement::getTH1(), i, cscdqm::Lock::lock(), me, and cscdqm::Lock::unlock().
00108 { 00109 lock(); 00110 int i = me->getTH1()->GetMaximumBin(); 00111 unlock(); 00112 return i; 00113 }
const TObject* CSCMonitorObject::getRefRootObject | ( | void | ) | const [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 134 of file CSCMonitorObject.h.
References MonitorElement::getRefRootObject(), and me.
00134 { 00135 return me->getRefRootObject(); 00136 }
const TH1* CSCMonitorObject::getTH1 | ( | void | ) | const [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 151 of file CSCMonitorObject.h.
References MonitorElement::getTH1(), and me.
TH1* CSCMonitorObject::getTH1Lock | ( | void | ) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 155 of file CSCMonitorObject.h.
References MonitorElement::getTH1(), cscdqm::Lock::lock(), and me.
void CSCMonitorObject::SetAxisRange | ( | const double | from, | |
const double | to, | |||
const std::string & | axis | |||
) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 96 of file CSCMonitorObject.h.
References MonitorElement::getTH1(), cscdqm::Lock::lock(), me, and cscdqm::Lock::unlock().
00096 { 00097 lock(); 00098 me->getTH1()->SetAxisRange(from, to, axis.c_str()); 00099 unlock(); 00100 }
Implements cscdqm::MonitorObject.
Definition at line 102 of file CSCMonitorObject.h.
References cscdqm::Lock::lock(), me, MonitorElement::setAxisTitle(), and cscdqm::Lock::unlock().
00102 { 00103 lock(); 00104 me->setAxisTitle(title, axisN); 00105 unlock(); 00106 }
void CSCMonitorObject::SetBinContent | ( | const int | binX, | |
const int | binY, | |||
const double | value | |||
) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 76 of file CSCMonitorObject.h.
References cscdqm::Lock::lock(), me, MonitorElement::setBinContent(), and cscdqm::Lock::unlock().
00076 { 00077 lock(); 00078 me->setBinContent(binX, binY, value); 00079 unlock(); 00080 }
Implements cscdqm::MonitorObject.
Definition at line 70 of file CSCMonitorObject.h.
References cscdqm::Lock::lock(), me, MonitorElement::setBinContent(), and cscdqm::Lock::unlock().
00070 { 00071 lock(); 00072 me->setBinContent(binX, value); 00073 unlock(); 00074 }
Implements cscdqm::MonitorObject.
Definition at line 145 of file CSCMonitorObject.h.
References MonitorElement::getTH1(), cscdqm::Lock::lock(), me, and cscdqm::Lock::unlock().
void CSCMonitorObject::SetEntries | ( | const double | value | ) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 64 of file CSCMonitorObject.h.
References cscdqm::Lock::lock(), me, MonitorElement::setEntries(), and cscdqm::Lock::unlock().
00064 { 00065 lock(); 00066 me->setEntries(value); 00067 unlock(); 00068 }
void CSCMonitorObject::SetMaximum | ( | const double | d | ) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 128 of file CSCMonitorObject.h.
References MonitorElement::getTH1(), cscdqm::Lock::lock(), me, and cscdqm::Lock::unlock().
void CSCMonitorObject::SetNormFactor | ( | const double | factor | ) | [inline, virtual] |
Implements cscdqm::MonitorObject.
Definition at line 115 of file CSCMonitorObject.h.
References MonitorElement::getTH1(), cscdqm::Lock::lock(), me, and cscdqm::Lock::unlock().
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().