99 ret =
dynamic_cast<T>(ob->Clone(s.c_str()));
101 ret->SetDirectory(0);
104 ret =
dynamic_cast<T>(ob);
const std::string & getName(void) const
get name of ME
static T getHisto(const MonitorElement *me, bool clone=false, T ret=0)
Returns the histogram contained by the Monitor Element.
static bool getBinQuality(const MonitorElement *me, const int ix, const int iy)
Returns true if the bin quality is good or masked.
static void maskBinContent(const MonitorElement *me, const int ix, const int iy)
Mask the bin content.
static bool getBinStatus(const MonitorElement *me, const int ix, const int iy)
Returns true if the bin status is red/dark red.
Utilities for Ecal Monitor Client.
static bool getBinStatistics(TH1 *histo, const int ix, const int iy, float &num, float &mean, float &rms, float minEntries=1.)
Returns true if the bin contains good statistical data.
static void printBadChannels(const MonitorElement *me, TH1 *hi, bool positive_only=false)
Print the bad channels.
static int getFirstNonEmptyChannel(const TProfile2D *histo)
Find the first non empty bin.