19 #ifndef CSCMonitorObject_H 20 #define CSCMonitorObject_H 55 void Fill(
float x,
float y,
float z,
float w) {
89 me->
getTH1()->SetAxisRange(from, to, axis.c_str());
99 int i = me->
getTH1()->GetMaximumBin();
105 me->
getTH1()->SetNormFactor(factor);
110 double d = me->
getTH1()->GetEntries();
116 me->
getTH1()->SetMaximum(d);
125 double d = me->
getTH1()->GetBinError(bin);
131 me->
getTH1()->SetBinError(bin, error);
void setAxisTitle(const std::string title, const int axisN)
void SetBinContent(const int binX, const double value)
void setBinContent(int binx, double content)
set content of bin (1-D)
cscdqm::MonitorObject implementation used in CSCMonitorModuleCmn
void SetBinError(const int bin, const double error)
Monitoring Object interface used to cover Root object and provide common interface to EventProcessor ...
void Fill(float x, float yw)
double GetBinContent(const int binX, int binY)
const TH1 * getTH1(void) const
void SetMaximum(const double d)
const double GetEntries()
void Fill(float x, float y, float zw)
void SetEntries(const double value)
const int GetMaximumBin()
void SetAxisRange(const double from, const double to, const std::string &axis)
double GetBinContent(const int binX)
void SetBinContent(const int binX, const int binY, const double value)
const TObject * getRefRootObject(void) const
void setEntries(double nentries)
set # of entries
bin
set the eta bin as selection string.
void SetNormFactor(const double factor)
double getBinContent(int binx) const
get content of bin (1-D)
CSCMonitorObject(MonitorElement *p_me)
auto zw(V v) -> Vec2< typename std::remove_reference< decltype(v[0])>::type >
virtual ~CSCMonitorObject()
const double GetBinError(const int bin)
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
TObject * getRefRootObject(void) const
void Fill(float x, float y, float z, float w)