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