#include <MonitorElement.h>
Classes | |
struct | fits_in_int64_t |
struct | Scalar |
Public Types | |
enum | Kind { DQM_KIND_INVALID = DQMNet::DQM_PROP_TYPE_INVALID, DQM_KIND_INT = DQMNet::DQM_PROP_TYPE_INT, DQM_KIND_REAL = DQMNet::DQM_PROP_TYPE_REAL, DQM_KIND_STRING = DQMNet::DQM_PROP_TYPE_STRING, DQM_KIND_TH1F = DQMNet::DQM_PROP_TYPE_TH1F, DQM_KIND_TH1S = DQMNet::DQM_PROP_TYPE_TH1S, DQM_KIND_TH1D = DQMNet::DQM_PROP_TYPE_TH1D, DQM_KIND_TH2F = DQMNet::DQM_PROP_TYPE_TH2F, DQM_KIND_TH2S = DQMNet::DQM_PROP_TYPE_TH2S, DQM_KIND_TH2D = DQMNet::DQM_PROP_TYPE_TH2D, DQM_KIND_TH3F = DQMNet::DQM_PROP_TYPE_TH3F, DQM_KIND_TPROFILE = DQMNet::DQM_PROP_TYPE_TPROF, DQM_KIND_TPROFILE2D = DQMNet::DQM_PROP_TYPE_TPROF2D } |
typedef std::vector< QReport > ::const_iterator | QReportIterator |
Public Member Functions | |
std::string | effLabelString (void) const |
return label string for the monitor element tag (eg. <name>t=12345</name>) | |
void | Fill (long long x) |
void | Fill (unsigned long long x) |
void | Fill (double x, double y, double z, double w) |
can be used with 3D (x, y, z, w) histograms | |
void | Fill (double x, double y, double zw) |
can be used with 3D (x, y, z) or 2D (x, y, w) histograms | |
void | Fill (unsigned long x) |
void | Fill (long x) |
void | Fill (unsigned int x) |
void | Fill (int x) |
void | Fill (short x) |
void | Fill (unsigned short x) |
void | Fill (char x) |
void | Fill (unsigned char x) |
void | Fill (float x) |
void | Fill (double x) |
"Fill" ME methods for double | |
void | Fill (std::string &value) |
"Fill" ME methods for string | |
void | Fill (double x, double yw) |
can be used with 2D (x,y) or 1D (x, w) histograms | |
uint32_t | flags (void) const |
Get the object flags. | |
std::string | getAxisTitle (int axis=1) const |
get x-, y- or z-axis title (axis=1, 2, 3 respectively) | |
double | getBinContent (int binx) const |
get content of bin (1-D) | |
double | getBinContent (int binx, int biny) const |
get content of bin (2-D) | |
double | getBinContent (int binx, int biny, int binz) const |
get content of bin (3-D) | |
double | getBinEntries (int bin) const |
get # of bin entries (for profiles) | |
double | getBinError (int binx, int biny) const |
get uncertainty on content of bin (2-D) - See TH1::GetBinError for details | |
double | getBinError (int binx, int biny, int binz) const |
get uncertainty on content of bin (3-D) - See TH1::GetBinError for details | |
double | getBinError (int binx) const |
get uncertainty on content of bin (1-D) - See TH1::GetBinError for details | |
double | getEntries (void) const |
get # of entries | |
double | getFloatValue (void) const |
const std::string | getFullname (void) const |
get full name of ME including Pathname | |
int64_t | getIntValue (void) const |
bool | getLumiFlag (void) const |
true if ME is meant to be stored for each luminosity section | |
double | getMean (int axis=1) const |
get mean value of histogram along x, y or z axis (axis=1, 2, 3 respectively) | |
double | getMeanError (int axis=1) const |
const std::string & | getName (void) const |
get name of ME | |
int | getNbinsX (void) const |
get # of bins in X-axis | |
int | getNbinsY (void) const |
get # of bins in Y-axis | |
int | getNbinsZ (void) const |
get # of bins in Z-axis | |
const std::string & | getPathname (void) const |
get pathname of parent folder | |
std::vector< QReport * > | getQErrors (void) const |
get errors from last set of quality tests | |
std::vector< QReport * > | getQOthers (void) const |
const QReport * | getQReport (const std::string &qtname) const |
get QReport corresponding to <qtname> (null pointer if QReport does not exist) | |
std::vector< QReport * > | getQReports (void) const |
get map of QReports | |
std::vector< QReport * > | getQWarnings (void) const |
get warnings from last set of quality tests | |
TObject * | getRefRootObject (void) const |
TH1 * | getRefTH1 (void) const |
TH1D * | getRefTH1D (void) const |
TH1F * | getRefTH1F (void) const |
TH1S * | getRefTH1S (void) const |
TH2D * | getRefTH2D (void) const |
TH2F * | getRefTH2F (void) const |
TH2S * | getRefTH2S (void) const |
TH3F * | getRefTH3F (void) const |
TProfile * | getRefTProfile (void) const |
TProfile2D * | getRefTProfile2D (void) const |
double | getRMS (int axis=1) const |
get RMS of histogram along x, y or z axis (axis=1, 2, 3 respectively) | |
double | getRMSError (int axis=1) const |
get RMS uncertainty of histogram along x, y or z axis(axis=1,2,3 respectively) | |
TObject * | getRootObject (void) const |
const std::string & | getStringValue (void) const |
const uint32_t | getTag (void) const |
DQMNet::TagList | getTags (void) const |
TH1 * | getTH1 (void) const |
TH1D * | getTH1D (void) const |
TH1F * | getTH1F (void) const |
TH1S * | getTH1S (void) const |
TH2D * | getTH2D (void) const |
TH2F * | getTH2F (void) const |
TH2S * | getTH2S (void) const |
TH3F * | getTH3F (void) const |
std::string | getTitle (void) const |
get MonitorElement title | |
TProfile * | getTProfile (void) const |
TProfile2D * | getTProfile2D (void) const |
bool | hasError (void) const |
true if at least of one of the quality tests returned an error | |
bool | hasOtherReport (void) const |
true if at least of one of the tests returned some other (non-ok) status | |
bool | hasWarning (void) const |
true if at least of one of the quality tests returned a warning | |
bool | isEfficiency (void) const |
Kind | kind (void) const |
Get the type of the monitor element. | |
MonitorElement (const std::string *path, const std::string &name) | |
MonitorElement (void) | |
MonitorElement (const MonitorElement &) | |
bool | operator< (const MonitorElement &x) const |
Compare monitor elements, for ordering in sets. | |
MonitorElement & | operator= (const MonitorElement &) |
void | packQualityData (std::string &into) const |
serialise quality report information into a string. | |
void | packScalarData (std::string &into, const char *prefix) const |
convert scalar data into a string. | |
std::string | qualityTagString (const DQMNet::QValue &qv) const |
void | Reset (void) |
reset ME (ie. contents, errors, etc) | |
void | runQTests (void) |
run all quality tests | |
void | setAxisRange (double xmin, double xmax, int axis=1) |
set x-, y- or z-axis range (axis=1, 2, 3 respectively) | |
void | setAxisTimeDisplay (int value, int axis=1) |
set x-, y-, or z-axis to display time values | |
void | setAxisTimeFormat (const char *format="", int axis=1) |
set the format of the time values that are displayed on an axis | |
void | setAxisTitle (const std::string &title, int axis=1) |
set x-, y- or z-axis title (axis=1, 2, 3 respectively) | |
void | setBinContent (int binx, double content) |
set content of bin (1-D) | |
void | setBinContent (int binx, int biny, int binz, double content) |
set content of bin (3-D) | |
void | setBinContent (int binx, int biny, double content) |
set content of bin (2-D) | |
void | setBinEntries (int bin, double nentries) |
set # of bin entries (to be used for profiles) | |
void | setBinError (int binx, double error) |
set uncertainty on content of bin (1-D) | |
void | setBinError (int binx, int biny, double error) |
set uncertainty on content of bin (2-D) | |
void | setBinError (int binx, int biny, int binz, double error) |
set uncertainty on content of bin (3-D) | |
void | setBinLabel (int bin, const std::string &label, int axis=1) |
set bin label for x, y or z axis (axis=1, 2, 3 respectively) | |
void | setEfficiencyFlag (void) |
void | setEntries (double nentries) |
set # of entries | |
void | setLumiFlag (void) |
this ME is meant to be stored for each luminosity section | |
void | setResetMe (bool) |
void | setTitle (const std::string &title) |
set (ie. change) histogram/profile title | |
void | ShiftFillLast (double y, double ye=0., int32_t xscale=1) |
std::string | tagLabelString (void) const |
return label string for the monitor element tag (eg. <name>t=12345</name>) | |
std::string | tagString (void) const |
void | update (void) |
Mark the object updated. | |
std::string | valueString (void) const |
bool | wasUpdated (void) const |
true if ME was updated in last monitoring cycle | |
~MonitorElement (void) | |
Private Member Functions | |
TH1 * | accessRootObject (const char *func, int reqdim) const |
void | addProfiles (TProfile *h1, TProfile *h2, TProfile *sum, float c1, float c2) |
void | addProfiles (TProfile2D *h1, TProfile2D *h2, TProfile2D *sum, float c1, float c2) |
void | addQReport (const DQMNet::QValue &desc, QCriterion *qc) |
Add quality report, from DQMStore. | |
void | addQReport (QCriterion *qc) |
void | copyFrom (TH1 *from) |
void | copyFunctions (TH1 *from, TH1 *to) |
void | disableSoftReset (void) |
reverts action of softReset | |
void | doFill (int64_t x) |
"Fill" ME method for int64_t | |
TAxis * | getAxis (const char *func, int axis) const |
void | getQReport (bool create, const std::string &qtname, QReport *&qr, DQMNet::QValue *&qv) |
double | getYmax (void) const |
get max Y value (for profiles) | |
double | getYmin (void) const |
get min Y value (for profiles) | |
void | incompatible (const char *func) const |
MonitorElement * | initialise (Kind kind) |
MonitorElement * | initialise (Kind kind, const std::string &value) |
MonitorElement * | initialise (Kind kind, TH1 *rootobj) |
bool | isAccumulateEnabled (void) const |
whether ME contents should be accumulated over multiple monitoring periods; default: false | |
bool | isSoftResetEnabled (void) const |
whether soft-reset is enabled; default is false | |
bool | resetMe (void) const |
true if ME should be reset at end of monitoring cycle | |
void | resetUpdate (void) |
reset "was updated" flag | |
void | setAccumulate (bool) |
void | setAxisTimeOffset (double toffset, const char *option="local", int axis=1) |
set the time offset, if option = "gmt" then the offset is treated as a GMT time | |
void | softReset (void) |
void | updateQReportStats (void) |
Refresh QReport stats, usually after MEs were read in from a file. | |
Private Attributes | |
DQMNet::CoreObject | data_ |
TH1 * | object_ |
std::vector< QReport > | qreports_ |
TH1 * | reference_ |
TH1 * | refvalue_ |
Scalar | scalar_ |
Friends | |
class | DQMService |
class | DQMStore |
The base class for all MonitorElements (ME)
Definition at line 34 of file MonitorElement.h.
typedef std::vector<QReport>::const_iterator MonitorElement::QReportIterator |
Definition at line 63 of file MonitorElement.h.
enum MonitorElement::Kind |
DQM_KIND_INVALID | |
DQM_KIND_INT | |
DQM_KIND_REAL | |
DQM_KIND_STRING | |
DQM_KIND_TH1F | |
DQM_KIND_TH1S | |
DQM_KIND_TH1D | |
DQM_KIND_TH2F | |
DQM_KIND_TH2S | |
DQM_KIND_TH2D | |
DQM_KIND_TH3F | |
DQM_KIND_TPROFILE | |
DQM_KIND_TPROFILE2D |
Definition at line 46 of file MonitorElement.h.
{ DQM_KIND_INVALID = DQMNet::DQM_PROP_TYPE_INVALID, DQM_KIND_INT = DQMNet::DQM_PROP_TYPE_INT, DQM_KIND_REAL = DQMNet::DQM_PROP_TYPE_REAL, DQM_KIND_STRING = DQMNet::DQM_PROP_TYPE_STRING, DQM_KIND_TH1F = DQMNet::DQM_PROP_TYPE_TH1F, DQM_KIND_TH1S = DQMNet::DQM_PROP_TYPE_TH1S, DQM_KIND_TH1D = DQMNet::DQM_PROP_TYPE_TH1D, DQM_KIND_TH2F = DQMNet::DQM_PROP_TYPE_TH2F, DQM_KIND_TH2S = DQMNet::DQM_PROP_TYPE_TH2S, DQM_KIND_TH2D = DQMNet::DQM_PROP_TYPE_TH2D, DQM_KIND_TH3F = DQMNet::DQM_PROP_TYPE_TH3F, DQM_KIND_TPROFILE = DQMNet::DQM_PROP_TYPE_TPROF, DQM_KIND_TPROFILE2D = DQMNet::DQM_PROP_TYPE_TPROF2D };
MonitorElement::MonitorElement | ( | void | ) |
Definition at line 146 of file MonitorElement.cc.
References data_, DQMNet::CoreObject::dirname, DQM_KIND_INVALID, DQMNet::DQM_PROP_NEW, DQMNet::CoreObject::flags, MonitorElement::Scalar::num, MonitorElement::Scalar::real, scalar_, DQMNet::CoreObject::tag, and DQMNet::CoreObject::version.
MonitorElement::MonitorElement | ( | const std::string * | path, |
const std::string & | name | ||
) |
Definition at line 159 of file MonitorElement.cc.
References data_, DQMNet::CoreObject::dirname, DQM_KIND_INVALID, DQMNet::DQM_PROP_NEW, DQMNet::CoreObject::flags, mergeVDriftHistosByStation::name, MonitorElement::Scalar::num, DQMNet::CoreObject::objname, getHLTPrescaleColumns::path, MonitorElement::Scalar::real, scalar_, DQMNet::CoreObject::tag, and DQMNet::CoreObject::version.
MonitorElement::MonitorElement | ( | const MonitorElement & | x | ) |
Definition at line 173 of file MonitorElement.cc.
MonitorElement::~MonitorElement | ( | void | ) |
TH1 * MonitorElement::accessRootObject | ( | const char * | func, |
int | reqdim | ||
) | const [private] |
Definition at line 655 of file MonitorElement.cc.
References checkRootObject(), data_, DQM_KIND_TH1F, kind(), object_, DQMNet::CoreObject::objname, and raiseDQMError().
Referenced by copyFrom(), doFill(), Fill(), getAxis(), getBinContent(), getBinEntries(), getBinError(), getEntries(), getMean(), getMeanError(), getNbinsX(), getNbinsY(), getNbinsZ(), getRMS(), getRMSError(), getTH1(), getTH1D(), getTH1F(), getTH1S(), getTH2D(), getTH2F(), getTH2S(), getTH3F(), getTitle(), getTProfile(), getTProfile2D(), getYmax(), getYmin(), Reset(), setBinContent(), setBinEntries(), setBinError(), setEntries(), and setTitle().
{ if (kind() < DQM_KIND_TH1F) raiseDQMError("MonitorElement", "Method '%s' cannot be invoked on monitor" " element '%s' because it is not a root object", func, data_.objname.c_str()); return checkRootObject(data_.objname, object_, func, reqdim); }
void MonitorElement::addProfiles | ( | TProfile * | h1, |
TProfile * | h2, | ||
TProfile * | sum, | ||
float | c1, | ||
float | c2 | ||
) | [private] |
Definition at line 1222 of file MonitorElement.cc.
References newFWLiteAna::bin, python::tagInventory::entries, error, and i.
Referenced by DQMStore::collateProfile(), DQMStore::collateProfile2D(), copyFrom(), disableSoftReset(), and softReset().
{ assert(h1); assert(h2); assert(sum); static const Int_t NUM_STAT = 6; Double_t stats1[NUM_STAT]; Double_t stats2[NUM_STAT]; Double_t stats3[NUM_STAT]; bool isRebinOn = sum->TestBit(TH1::kCanRebin); sum->ResetBit(TH1::kCanRebin); for (Int_t i = 0; i < NUM_STAT; ++i) stats1[i] = stats2[i] = stats3[i] = 0; h1->GetStats(stats1); h2->GetStats(stats2); for (Int_t i = 0; i < NUM_STAT; ++i) stats3[i] = c1*stats1[i] + c2*stats2[i]; stats3[1] = c1*TMath::Abs(c1)*stats1[1] + c2*TMath::Abs(c2)*stats2[1]; Double_t entries = c1*h1->GetEntries() + c2* h2->GetEntries(); TArrayD* h1sumw2 = h1->GetSumw2(); TArrayD* h2sumw2 = h2->GetSumw2(); for (Int_t bin = 0, nbin = sum->GetNbinsX()+1; bin <= nbin; ++bin) { Double_t entries = c1*h1->GetBinEntries(bin) + c2*h2->GetBinEntries(bin); Double_t content = c1*h1->GetBinEntries(bin)*h1->GetBinContent(bin) + c2*h2->GetBinEntries(bin)*h2->GetBinContent(bin); Double_t error = TMath::Sqrt(c1*TMath::Abs(c1)*h1sumw2->fArray[bin] + c2*TMath::Abs(c2)*h2sumw2->fArray[bin]); sum->SetBinContent(bin, content); sum->SetBinError(bin, error); sum->SetBinEntries(bin, entries); } sum->SetEntries(entries); sum->PutStats(stats3); if (isRebinOn) sum->SetBit(TH1::kCanRebin); }
void MonitorElement::addProfiles | ( | TProfile2D * | h1, |
TProfile2D * | h2, | ||
TProfile2D * | sum, | ||
float | c1, | ||
float | c2 | ||
) | [private] |
Definition at line 1272 of file MonitorElement.cc.
References newFWLiteAna::bin, python::tagInventory::entries, error, and i.
{ assert(h1); assert(h2); assert(sum); static const Int_t NUM_STAT = 9; Double_t stats1[NUM_STAT]; Double_t stats2[NUM_STAT]; Double_t stats3[NUM_STAT]; bool isRebinOn = sum->TestBit(TH1::kCanRebin); sum->ResetBit(TH1::kCanRebin); for (Int_t i = 0; i < NUM_STAT; ++i) stats1[i] = stats2[i] = stats3[i] = 0; h1->GetStats(stats1); h2->GetStats(stats2); for (Int_t i = 0; i < NUM_STAT; i++) stats3[i] = c1*stats1[i] + c2*stats2[i]; stats3[1] = c1*TMath::Abs(c1)*stats1[1] + c2*TMath::Abs(c2)*stats2[1]; Double_t entries = c1*h1->GetEntries() + c2*h2->GetEntries(); TArrayD *h1sumw2 = h1->GetSumw2(); TArrayD *h2sumw2 = h2->GetSumw2(); for (Int_t xbin = 0, nxbin = sum->GetNbinsX()+1; xbin <= nxbin; ++xbin) for (Int_t ybin = 0, nybin = sum->GetNbinsY()+1; ybin <= nybin; ++ybin) { Int_t bin = sum->GetBin(xbin, ybin); Double_t entries = c1*h1->GetBinEntries(bin) + c2*h2->GetBinEntries(bin); Double_t content = c1*h1->GetBinEntries(bin)*h1->GetBinContent(bin) + c2*h2->GetBinEntries(bin)*h2->GetBinContent(bin); Double_t error = TMath::Sqrt(c1*TMath::Abs(c1)*h1sumw2->fArray[bin] + c2*TMath::Abs(c2)*h2sumw2->fArray[bin]); sum->SetBinContent(bin, content); sum->SetBinError(bin, error); sum->SetBinEntries(bin, entries); } sum->SetEntries(entries); sum->PutStats(stats3); if (isRebinOn) sum->SetBit(TH1::kCanRebin); }
void MonitorElement::addQReport | ( | const DQMNet::QValue & | desc, |
QCriterion * | qc | ||
) | [private] |
Add quality report, from DQMStore.
Definition at line 1426 of file MonitorElement.cc.
References getQReport(), QReport::qcriterion_, DQMNet::QValue::qtname, and update().
Referenced by DQMStore::extract(), and DQMStore::useQTestByMatch().
{ QReport *qr; DQMNet::QValue *qv; getQReport(true, desc.qtname, qr, qv); qr->qcriterion_ = qc; *qv = desc; update(); }
void MonitorElement::addQReport | ( | QCriterion * | qc | ) | [private] |
Definition at line 1437 of file MonitorElement.cc.
References DQMNet::QValue::code, dqm::qstatus::DID_NOT_RUN, QCriterion::getName(), getQReport(), DQMNet::QValue::message, QReport::qcriterion_, and update().
{ QReport *qr; DQMNet::QValue *qv; getQReport(true, qc->getName(), qr, qv); qv->code = dqm::qstatus::DID_NOT_RUN; qv->message = "NO_MESSAGE_ASSIGNED"; qr->qcriterion_ = qc; update(); }
void MonitorElement::copyFrom | ( | TH1 * | from | ) | [private] |
Definition at line 1351 of file MonitorElement.cc.
References accessRootObject(), addProfiles(), copyFunctions(), DQM_KIND_TH1D, DQM_KIND_TH1F, DQM_KIND_TH1S, DQM_KIND_TH2D, DQM_KIND_TH2F, DQM_KIND_TH2S, DQM_KIND_TH3F, DQM_KIND_TPROFILE, DQM_KIND_TPROFILE2D, incompatible(), isAccumulateEnabled(), isSoftResetEnabled(), kind(), and refvalue_.
Referenced by DQMStore::extract().
{ TH1 *orig = accessRootObject(__PRETTY_FUNCTION__, 1); if (orig->GetTitle() != from->GetTitle()) orig->SetTitle(from->GetTitle()); if (!isAccumulateEnabled()) orig->Reset(); if (isSoftResetEnabled()) { if (kind() == DQM_KIND_TH1F || kind() == DQM_KIND_TH1S || kind() == DQM_KIND_TH1D || kind() == DQM_KIND_TH2F || kind() == DQM_KIND_TH2S || kind() == DQM_KIND_TH2D || kind() == DQM_KIND_TH3F) // subtract "reference" orig->Add(from, refvalue_, 1, -1); else if (kind() == DQM_KIND_TPROFILE) // subtract "reference" addProfiles(static_cast<TProfile *>(from), static_cast<TProfile *>(refvalue_), static_cast<TProfile *>(orig), 1, -1); else if (kind() == DQM_KIND_TPROFILE2D) // subtract "reference" addProfiles(static_cast<TProfile2D *>(from), static_cast<TProfile2D *>(refvalue_), static_cast<TProfile2D *>(orig), 1, -1); else incompatible(__PRETTY_FUNCTION__); } else orig->Add(from); copyFunctions(from, orig); }
void MonitorElement::copyFunctions | ( | TH1 * | from, |
TH1 * | to | ||
) | [private] |
Definition at line 1322 of file MonitorElement.cc.
References data_, i, isAccumulateEnabled(), isSoftResetEnabled(), VarParsing::obj, DQMNet::CoreObject::objname, raiseDQMError(), and update().
Referenced by copyFrom().
{ // will copy functions only if local-copy and original-object are equal // (ie. no soft-resetting or accumulating is enabled) if (isSoftResetEnabled() || isAccumulateEnabled()) return; update(); TList *fromf = from->GetListOfFunctions(); TList *tof = to->GetListOfFunctions(); for (int i = 0, nfuncs = fromf ? fromf->GetSize() : 0; i < nfuncs; ++i) { TObject *obj = fromf->At(i); // not interested in statistics if (!strcmp(obj->IsA()->GetName(), "TPaveStats")) continue; if (TF1 *fn = dynamic_cast<TF1 *>(obj)) tof->Add(new TF1(*fn)); //else if (dynamic_cast<TPaveStats *>(obj)) // ; // FIXME? tof->Add(new TPaveStats(*stats)); else raiseDQMError("MonitorElement", "Cannot extract function '%s' of type" " '%s' from monitor element '%s' for a copy", obj->GetName(), obj->IsA()->GetName(), data_.objname.c_str()); } }
void MonitorElement::disableSoftReset | ( | void | ) | [private] |
reverts action of softReset
Definition at line 1184 of file MonitorElement.cc.
References addProfiles(), DQM_KIND_TH1D, DQM_KIND_TH1F, DQM_KIND_TH1S, DQM_KIND_TH2D, DQM_KIND_TH2F, DQM_KIND_TH2S, DQM_KIND_TH3F, DQM_KIND_TPROFILE, DQM_KIND_TPROFILE2D, incompatible(), kind(), object_, alignCSCRings::r, and refvalue_.
Referenced by DQMStore::disableSoftReset().
{ if (refvalue_) { if (kind() == DQM_KIND_TH1F || kind() == DQM_KIND_TH1S || kind() == DQM_KIND_TH1D || kind() == DQM_KIND_TH2F || kind() == DQM_KIND_TH2S || kind() == DQM_KIND_TH2D || kind() == DQM_KIND_TH3F) { TH1 *orig = static_cast<TH1 *>(object_); orig->Add(refvalue_); } else if (kind() == DQM_KIND_TPROFILE) { TProfile *orig = static_cast<TProfile *>(object_); TProfile *r = static_cast<TProfile *>(refvalue_); addProfiles(orig, r, orig, 1, 1); } else if (kind() == DQM_KIND_TPROFILE2D) { TProfile2D *orig = static_cast<TProfile2D *>(object_); TProfile2D *r = static_cast<TProfile2D *>(refvalue_); addProfiles(orig, r, orig, 1, 1); } else incompatible(__PRETTY_FUNCTION__); delete refvalue_; refvalue_ = 0; } }
void MonitorElement::doFill | ( | int64_t | x | ) | [private] |
"Fill" ME method for int64_t
Definition at line 254 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_INT, DQM_KIND_REAL, DQM_KIND_TH1D, DQM_KIND_TH1F, DQM_KIND_TH1S, incompatible(), kind(), MonitorElement::Scalar::num, MonitorElement::Scalar::real, scalar_, update(), and x.
Referenced by Fill().
{ update(); if (kind() == DQM_KIND_INT) scalar_.num = static_cast<int64_t>(x); else if (kind() == DQM_KIND_REAL) scalar_.real = static_cast<double>(x); else if (kind() == DQM_KIND_TH1F) accessRootObject(__PRETTY_FUNCTION__, 1) ->Fill(static_cast<double>(x), 1); else if (kind() == DQM_KIND_TH1S) accessRootObject(__PRETTY_FUNCTION__, 1) ->Fill(static_cast<double>(x), 1); else if (kind() == DQM_KIND_TH1D) accessRootObject(__PRETTY_FUNCTION__, 1) ->Fill(static_cast<double>(x), 1); else incompatible(__PRETTY_FUNCTION__); }
std::string MonitorElement::effLabelString | ( | void | ) | const |
return label string for the monitor element tag (eg. <name>t=12345</name>)
Definition at line 518 of file MonitorElement.cc.
References data_, DQMNet::CoreObject::objname, and query::result.
void MonitorElement::Fill | ( | long long | x | ) | [inline] |
Definition at line 152 of file MonitorElement.h.
References doFill().
Referenced by SiStripDcsInfo::addBadModules(), edm::DQMHttpSource::addEventToDQMBackend(), EESelectiveReadoutTask::anaDigi(), EBSelectiveReadoutTask::anaDigi(), ElectronMcFakeValidator::analyze(), GlobalRecHitsHistogrammer::analyze(), EcalEndcapMonitorModule::analyze(), HLTMon::analyze(), BxTiming::analyze(), L1TGMT::analyze(), SiStripMonitorFilter::analyze(), TrackSplittingMonitor::analyze(), ElectronAnalyzer::analyze(), HCALRecHitAnalyzer::analyze(), MuonRecoAnalyzer::analyze(), HLTTauDQMTrkPlotter::analyze(), SiPixelDigiValid::analyze(), HcalSimHitsValidation::analyze(), GlobalHitsTester::analyze(), GlobalDigisHistogrammer::analyze(), EcalPreshowerDigisValidation::analyze(), EEIntegrityTask::analyze(), EELedTask::analyze(), HcalDetDiagLaserMonitor::analyze(), HLTAlCaMonPi0::analyze(), L1TGT::analyze(), MuonSeedsAnalyzer::analyze(), TauTagValidation::analyze(), CSCComparatorDigiValidation::analyze(), WValidation::analyze(), EgammaBasicClusters::analyze(), ValidationHcalIsoTrackAlCaReco::analyze(), EBLaserTask::analyze(), EBRawDataTask::analyze(), EESelectiveReadoutTask::analyze(), ESSummaryClient::analyze(), L1TRCT::analyze(), SiPixelClusterSource::analyze(), L1TScalersSCAL::analyze(), EERecoSummary::analyze(), MuonRecoOneHLT::analyze(), EmDQMReco::analyze(), SiStripDigiValid::analyze(), GlobalTest::analyze(), EBCosmicTask::analyze(), EBStatusFlagsTask::analyze(), EBTestPulseTask::analyze(), HLXMonitor::analyze(), TrackingMonitor::analyze(), ESRecoSummary::analyze(), HLTTauDQMLitePathPlotter::analyze(), TriggerValidator::analyze(), CSCCLCTDigiValidation::analyze(), DTNoiseTask::analyze(), EBTrendTask::analyze(), EEPedestalClient::analyze(), EETimingClient::analyze(), L1TCompare::analyze(), SiStripMonitorRawData::analyze(), DQMHcalPhiSymAlCaReco::analyze(), EfficiencyAnalyzer::analyze(), DQMEventInfo::analyze(), MuonIdVal::analyze(), MBUEandQCDValidation::analyze(), DTScalerInfoTask::analyze(), EESummaryClient::analyze(), EELaserTask::analyze(), L1TRPCTPG::analyze(), EwkMuLumiMonitorDQM::analyze(), SiPixelTrackResidualSource::analyze(), L1Scalers::analyze(), ElectronGeneralAnalyzer::analyze(), DQMProvInfo::analyze(), JPTJetTester::analyze(), PerformanceAnalyzer::analyze(), RPCDigiValid::analyze(), EcalBarrelMonitorModule::analyze(), EETrendClient::analyze(), EERawDataTask::analyze(), HcalRecHitClient::analyze(), L1TdeCSCTF::analyze(), L1TdeRCT::analyze(), RPCRecHitProbability::analyze(), SiStripMonitorCluster::analyze(), TrackAnalyzer::analyze(), TkAlCaRecoMonitor::analyze(), DQMLumiMonitor::analyze(), TauValidation::analyze(), DuplicationChecker::analyze(), BasicGenParticleValidation::analyze(), EcalDigisValidation::analyze(), EBTimingClient::analyze(), EELaserClient::analyze(), EECosmicTask::analyze(), EETrendTask::analyze(), HcalDetDiagTimingMonitor::analyze(), HcalRecHitMonitor::analyze(), RPCMon_SS_Dbx_Global::analyze(), SiStripMonitorHLT::analyze(), ElectronMcSignalValidator::analyze(), CSCWireDigiValidation::analyze(), EgammaSuperClusters::analyze(), EBPedestalOnlineTask::analyze(), EEOccupancyTask::analyze(), EETimingTask::analyze(), HcalDetDiagPedestalMonitor::analyze(), FourVectorHLTOnline::analyze(), RPCEfficiency::analyze(), DQMHcalIsoTrackAlCaReco::analyze(), SegmentTrackAnalyzer::analyze(), HLTTauDQMPathPlotter::analyze(), V0Validator::analyze(), SiPixelTrackingRecHitsValid::analyze(), DrellYanValidation::analyze(), EcalEndcapDigisValidation::analyze(), CSCSegmentValidation::analyze(), CaloTowersValidation::analyze(), AlcaBeamMonitor::analyze(), EETestPulseClient::analyze(), HcalBaseDQMonitor::analyze(), HLTMonBitSummary::analyze(), RPCMonitorDigi::analyze(), SiStripMonitorDigi::analyze(), SiStripMonitorQuality::analyze(), EBRecoSummary::analyze(), HcalRecHitsValidation::analyze(), EcalBarrelSimHitsValidation::analyze(), EcalPreshowerNoiseDistrib::analyze(), EBHltTask::analyze(), EBIntegrityTask::analyze(), EBOccupancyTask::analyze(), EBPedestalTask::analyze(), EEPedestalOnlineClient::analyze(), EEPedestalOnlineTask::analyze(), HcalMonitorModule::analyze(), HLTAlCaMonEcalPhiSym::analyze(), L1TDTTPG::analyze(), RPCMonitorRaw::analyze(), SiPixelDigiSource::analyze(), ElectronTagProbeAnalyzer::analyze(), ECALRecHitAnalyzer::analyze(), SiStripRecHitsValid::analyze(), CSCALCTDigiValidation::analyze(), BasicHepMCValidation::analyze(), EBSummaryClient::analyze(), EEHltTask::analyze(), EETestPulseTask::analyze(), HcalNoiseMonitor::analyze(), L1TRPCTF::analyze(), EwkMuDQM::analyze(), GlobalMuonMatchAnalyzer::analyze(), EcalBarrelDigisValidation::analyze(), PixelVTXMonitor::analyze(), DTLocalTriggerBaseTask::analyze(), HcalTimingMonitorModule::analyze(), ZDCMonitorModule::analyze(), HcalDeadCellMonitor::analyze(), HcalDetDiagLEDMonitor::analyze(), HLTMonBTagIPSource::analyze(), DQMSourceEleCalib::analyze(), DQMHcalIsoTrackHLT::analyze(), RecoMuonValidator::analyze(), PFJetTester::analyze(), NoiseRates::analyze(), EcalTBValidation::analyze(), EcalSimHitsValidation::analyze(), DTSegmentAnalysisTask::analyze(), EBTrendClient::analyze(), EBTimingTask::analyze(), EEClusterTask::analyze(), RPCMonitorLinkSynchro::analyze(), DQMHcalDiJetsAlCaReco::analyze(), HLTTauDQMCaloPlotter::analyze(), HLTTauDQML1Plotter::analyze(), DQMHcalPhiSymHLT::analyze(), CaloJetTester::analyze(), CSCStripDigiValidation::analyze(), CSCRecHit2DValidation::analyze(), SiPixelErrorsDigisToCalibDigis::analyze(), EBLaserClient::analyze(), EBTestPulseClient::analyze(), EBClusterTask::analyze(), EBSelectiveReadoutTask::analyze(), EELedClient::analyze(), L1TCSCTF::analyze(), L1TCSCTPG::analyze(), L1TGCT::analyze(), EwkElecDQM::analyze(), HLTScalers::analyze(), EcalZmassTask::analyze(), MuonIdDQM::analyze(), ConverterTester::analyze(), ValHcalIsoTrackHLT::analyze(), MuIsoValidation::analyze(), EcalEndcapSimHitsValidation::analyze(), BeamMonitor::analyze(), EEPedestalTask::analyze(), HLTMonBTagMuSource::analyze(), L1TDTTF::analyze(), RPCTTUMonitor::analyze(), SiPixelRawDataErrorSource::analyze(), HLTSeedL1LogicScalers::analyze(), MuonIsolationDQM::analyze(), SiStripTrackingRecHitsValid::analyze(), GlobalHitsHistogrammer::analyze(), EcalPreshowerSimHitsValidation::analyze(), EcalMixingModuleValidation::analyze(), CastorMonitorModule::analyze(), EBPedestalClient::analyze(), EBPedestalOnlineClient::analyze(), EEStatusFlagsTask::analyze(), MonitorLTC::analyze(), DQMSourcePi0::analyze(), MuonEnergyDepositAnalyzer::analyze(), EgHLTOfflineSource::analyze(), TopValidation::analyze(), ZdcSimHitStudy::analyzeHits(), SimHitsValidationHcal::analyzeHits(), HcalSimHitStudy::analyzeHits(), EEDaqInfoTask::beginJob(), EEDcsInfoTask::beginJob(), Vx3DHLTAnalyzer::beginJob(), ESSummaryClient::beginJob(), DQMFEDIntegrityClient::beginJob(), L1TEventInfoClient::beginJob(), RPCDaqInfo::beginJob(), EBDataCertificationTask::beginJob(), EBDaqInfoTask::beginJob(), EBDcsInfoTask::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), TrigResRateMon::beginJob(), CastorMonitorModule::beginJob(), SiPixelCertification::beginJob(), BeamMonitor::beginJob(), EEDataCertificationTask::beginJob(), HLTEventInfoClient::beginJob(), DQMDaqInfo::beginLuminosityBlock(), RPCDaqInfo::beginLuminosityBlock(), HcalBaseDQMonitor::beginLuminosityBlock(), DQMEventInfo::beginLuminosityBlock(), ZDCMonitorClient::beginRun(), DTOfflineSummaryClients::beginRun(), ZDCMonitorModule::beginRun(), DQMProvInfo::beginRun(), DQMEventInfo::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), RPCEventSummary::beginRun(), RPCDataCertification::beginRun(), HcalSummaryClient::beginRun(), EcalBarrelMonitorClient::beginRun(), DTSummaryClients::beginRun(), HcalDetDiagLaserMonitor::beginRun(), RPCDCSSummary::beginRun(), EcalEndcapMonitorClient::beginRun(), SiStripDaqInfo::beginRun(), DQMStore::bookFloat(), SiPixelDataQuality::bookGlobalQualityFlag(), L1TEMUEventInfoClient::bookHistograms(), DQMStore::bookInt(), HcalDeadCellClient::calculateProblems(), HcalCoarsePedestalClient::calculateProblems(), HcalDetDiagPedestalClient::calculateProblems(), HcalDigiClient::calculateProblems(), HcalRecHitClient::calculateProblems(), HcalDetDiagNoiseMonitorClient::calculateProblems(), HcalTrigPrimClient::calculateProblems(), HcalDetDiagTimingClient::calculateProblems(), HcalNZSClient::calculateProblems(), HcalBeamClient::calculateProblems(), HcalHotCellClient::calculateProblems(), HcalRawDataClient::calculateProblems(), HcalDataCertification::CertifyHcal(), CalibrationTask::checkAndSave(), CalibrationScanTask::checkAndSave(), HcalDetDiagPedestalMonitor::CheckStatus(), HcalMonitorModule::CheckSubdetectorStatus(), RPCEventSummary::clientOperation(), RPCClusterSizeTest::clientOperation(), Digi2Raw2Digi::compare(), L1GtHwValidation::compareDaqRecord(), L1GtHwValidation::compareFDL(), L1GtHwValidation::compareGTFE(), EMShower::compute(), GlobalRecHitsAnalyzer::compute(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelDataQuality::computeGlobalQualityFlagByLumi(), EcalMixingModuleValidation::computeSDBunchDigi(), TkHistoMap::createTkHistoMap(), RPCTTUMonitor::discriminateDecision(), TrackAnalyzer::doTrackerSpecificFillHists(), DQMEventInfo::DQMEventInfo(), EcalSelectiveReadoutValidation::EcalSelectiveReadoutValidation(), EMShower::EMShower(), EcalBarrelMonitorModule::endJob(), HcalMonitorModule::endJob(), MuonAlignment::endJob(), EcalEndcapMonitorModule::endJob(), ZDCMonitorModule::endJob(), RPCMonitorSync::endJob(), ESSummaryClient::endLumiAnalyze(), HcalRawDataMonitor::endLuminosityBlock(), EEDataCertificationTask::endLuminosityBlock(), DQMLumiMonitor::endLuminosityBlock(), DQMProvInfo::endLuminosityBlock(), HcalMonitorModule::endLuminosityBlock(), EBDataCertificationTask::endLuminosityBlock(), HcalTrigPrimMonitor::endLuminosityBlock(), L1TEventInfoClient::endLuminosityBlock(), L1Scalers::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), HcalBeamMonitor::endLuminosityBlock(), SiPixelCertification::endLuminosityBlock(), HLTScalers::endLuminosityBlock(), HcalDAQInfo::endLuminosityBlock(), HcalDCSInfo::endLuminosityBlock(), QcdLowPtDQM::endLuminosityBlock(), DTSummaryClients::endLuminosityBlock(), AlcaBeamMonitor::endLuminosityBlock(), DQMOfflineHLTEventInfoClient::endRun(), SiPixelCertification::endRun(), MuonAlignmentSummary::endRun(), DataCertificationJetMET::endRun(), RPCRecHitValidClient::endRun(), RPCDcsInfoClient::endRun(), HcalMonitorModule::endRun(), DQMDcsInfoClient::endRun(), GlobalHitsTester::endRun(), EcalBarrelMonitorModule::endRun(), EcalEndcapMonitorClient::endRun(), EcalEndcapMonitorModule::endRun(), EEDataCertificationTask::endRun(), L1TRPCTF::endRun(), RPCBxTest::endRun(), EcalSelectiveReadoutValidation::endRun(), HLTTauCertifier::endRun(), ConverterTester::endRun(), EcalBarrelMonitorClient::endRun(), RPCEfficiencyShiftHisto::endRun(), PhotonDataCertification::endRun(), EBDataCertificationTask::endRun(), HLTMuonCertSummary::endRun(), DTOfflineSummaryClients::endRun(), RPCEfficiencySecond::endRun(), HLTOverallSummary::endRun(), ZDCMonitorClient::errorSummary(), DQMStore::extract(), DTDataIntegrityTask::fedEntry(), DTDataIntegrityTask::fedFatal(), DTDataIntegrityTask::fedNonFatal(), HResolution1DRecHit::Fill(), HTrackVariables::Fill(), SiPixelClusterModule::fill(), MuonIdDQM::Fill(), HEff2DHit::Fill(), SiPixelDigiModule::fill(), HEff4DHit::Fill(), Fill(), egHLT::MonElemManager< T, varType >::fill(), HRes1DHit::Fill(), SiPixelRecHitModule::fill(), CSCMonitorObject::Fill(), MuonIdVal::Fill(), EcalSelectiveReadoutValidation::fill(), HRes2DHit::Fill(), SiPixelRawDataErrorModule::fill(), FineDelayTask::fill(), HRes4DHit::Fill(), HResolution::Fill(), SiPixelHitEfficiencyModule::fill(), TopElectronHLTOfflineSource::EleMEs::fill(), HEff1DHit::Fill(), egHLT::MonElemManager2D< T, varTypeX, varTypeY >::fill(), HcalRecHitMonitor::fill_Nevents(), HcalDigiMonitor::fill_Nevents(), DQMSourceEleCalib::fillAroundBarrel(), DQMSourceEleCalib::fillAroundEndcap(), SiPixelRecHitsValid::fillBarrel(), MixCollectionValidation::fillCaloHitTime(), MuonSimHitsValidAnalyzer::fillCSC(), HTrackVariables::FillDeltaR(), SiStripQualityChecker::fillDetectorStatus(), SiStripQualityChecker::fillDetectorStatusAtLumi(), MuonSimHitsValidAnalyzer::fillDT(), SiStripCertificationInfo::fillDummySiStripCertification(), SiStripDcsInfo::fillDummyStatus(), SiStripDaqInfo::fillDummyStatus(), SiStripQualityChecker::fillDummyStatus(), SiStripCertificationInfo::fillDummyTrackingCertification(), GlobalDigisAnalyzer::fillECal(), GlobalRecHitsAnalyzer::fillECal(), GlobalHitsAnalyzer::fillECal(), CSCSegmentValidation::fillEfficiencyPlots(), HcalSubdetDigiMonitor::fillElement(), HcalSubdetDigiMonitor::fillElements(), HLXMonitor::FillEventInfo(), SiStripFEDCheckPlugin::fillFatalError(), SiStripQualityChecker::fillFaultyModuleStatus(), SiPixelRawDataErrorModule::fillFED(), SiPixelRecHitsValid::fillForward(), LaserAlignmentT0ProducerDQM::FillFromProcessedDigis(), LaserAlignmentT0ProducerDQM::FillFromRawDigis(), GlobalHitsAnalyzer::fillG4MC(), MixCollectionValidation::fillGenParticleMulti(), RPCNoisyStripTest::fillGlobalME(), RPCMultiplicityTest::fillGlobalME(), RPCOccupancyTest::fillGlobalME(), SiStripQualityDQM::fillGrandSummaryMEs(), GlobalRecHitsAnalyzer::fillHCal(), GlobalHitsAnalyzer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), JPTJetAnalyzer::fillHistogram(), HLXMonitor::FillHistograms(), EwkMuTauHistManager::fillHistograms(), EwkElecTauHistManager::fillHistograms(), DQMFEDIntegrityClient::fillHistograms(), HLXMonitor::FillHistoHFCompare(), HLTMon::fillHistos(), SiStripSummaryCreator::fillHistos(), HcalDetDiagLEDMonitor::fillHistos(), EmDQMReco::fillHistos(), HcalDetDiagPedestalMonitor::fillHistos(), HcalDetDiagLaserMonitor::fillHistos(), TrackAnalyzer::fillHistosForState(), TkAlCaRecoMonitor::fillHitmaps(), ZdcSimHitStudy::FillHitValHist(), QcdUeDQM::fillHltBits(), QcdLowPtDQM::fillHltBits(), JPTJetTester::fillMatchHists(), CaloJetTester::fillMatchHists(), PFJetTester::fillMatchHists(), ecaldqm::fillME(), SiStripMonitorCluster::fillME(), SiStripMonitorDigi::fillME(), SiStripMonitorTrack::fillME(), BTagHLTOfflineSource::fillMEforMonTriggerSummary(), JetMETHLTOfflineSource::fillMEforMonTriggerSummary(), L1TDTTF::fillMEs(), SiStripThresholdDQM::fillMEsForDet(), SiStripQualityDQM::fillMEsForDet(), SiStripPedestalsDQM::fillMEsForDet(), SiStripNoisesDQM::fillMEsForDet(), SiStripApvGainsDQM::fillMEsForDet(), SiStripLorentzAngleDQM::fillMEsForLayer(), SiStripApvGainsDQM::fillMEsForLayer(), SiStripQualityDQM::fillMEsForLayer(), SiStripThresholdDQM::fillMEsForLayer(), SiStripNoisesDQM::fillMEsForLayer(), SiStripPedestalsDQM::fillMEsForLayer(), EBDaqInfoTask::fillMonitorElements(), EBDcsInfoTask::fillMonitorElements(), EEDaqInfoTask::fillMonitorElements(), EEDcsInfoTask::fillMonitorElements(), MixCollectionValidation::fillMultiplicity(), GlobalRecHitsAnalyzer::fillMuon(), GlobalHitsAnalyzer::fillMuon(), GlobalDigisAnalyzer::fillMuon(), HcalHotCellMonitor::fillNevents_neighbor(), HcalHotCellMonitor::fillNevents_problemCells(), HcalDeadCellMonitor::fillNevents_problemCells(), SiStripFEDCheckPlugin::fillNonFatalError(), CSCStripDigiValidation::fillPedestalPlots(), SiStripFEDCheckPlugin::fillPresent(), RCTMonitor::FillRCT(), HLXMonitor::FillReportSummary(), HcalSummaryClient::fillReportSummary(), HcalSummaryClient::fillReportSummaryLSbyLS(), MuonSimHitsValidAnalyzer::fillRPC(), CSCStripDigiValidation::fillSignalPlots(), MixCollectionValidation::fillSimHitTime(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), SiStripDcsInfo::fillStatus(), SiStripQualityChecker::fillSubDetStatus(), StorageAccount::fillSummary(), SiStripCertificationInfo::fillTrackingCertificationMEs(), SiStripQualityChecker::fillTrackingStatus(), SiStripQualityChecker::fillTrackingStatusAtLumi(), SiStripMonitorDigi::fillTrend(), GlobalRecHitsAnalyzer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalHitsAnalyzer::fillTrk(), TrigResRateMon::DatasetInfo::fillXsecPlot(), SiStripDaqInfo::findExcludedModule(), SiPixelInformationExtractor::findNoisyPixels(), BeamMonitor::FitAndFill(), SiStripCablingDQM::getActiveDetIds(), CSCOfflineMonitor::harvestChamberMeans(), HcalRecHitsClient::HcalRecHitsEndjob(), HcalTimingMonitorModule::HcalTimingMonitorModule(), evf::iDie::initMonitorElements(), HcalDetDiagLaserMonitor::LoadDataset(), HcalDetDiagPedestalMonitor::LoadDataset(), DTTriggerEfficiencyTest::makeEfficiencyME(), DQMProvInfo::makeProvInfo(), HeavyFlavorValidation::match(), SiPixelRecHitModule::nfill(), SiPixelTrackResidualModule::nfill(), NoiseRatesClient::NoiseRatesEndjob(), evf::iDie::parseModuleHisto(), CastorRecHitPerChan::perChanHists(), CastorDigiMonitor::perChanHists(), CastorLEDMonitor::perChanHists(), DTBlockedROChannelsTest::performClientDiagnostic(), RPCChamberQuality::performeClientOperation(), TauValidation::photons(), CSCSegmentValidation::plotResolution(), CSCRecHit2DValidation::plotResolution(), GlobalRecHitsAnalyzer::plotResolution(), CSCStripDigiValidation::plotResolution(), CSCWireDigiValidation::plotResolution(), DTDataIntegrityTask::preProcessEvent(), HcalDigiMonitor::process_Digi(), EETriggerTowerTask::processDigis(), EBTriggerTowerTask::processDigis(), CastorDataIntegrityMonitor::processEvent(), HcalNZSMonitor::processEvent(), HcalCaloTowerMonitor::processEvent(), CastorPSMonitor::processEvent(), HcalRecHitMonitor::processEvent(), HcalZDCMonitor::processEvent(), CastorHIMonitor::processEvent(), CastorRecHitMonitor::processEvent(), HcalDeadCellMonitor::processEvent(), HcalDigiMonitor::processEvent(), CastorDigiMonitor::processEvent(), CastorLEDMonitor::processEvent(), CastorEventDisplay::processEvent(), HcalEEUSMonitor::processEvent(), HcalTrigPrimMonitor::processEvent(), CastorChannelQualityMonitor::processEvent(), HcalBaseMonitor::processEvent(), HcalBeamMonitor::processEvent(), HcalEEUSMonitor::processEvent_RawData(), HcalRecHitMonitor::processEvent_rechit(), CastorTowerJetMonitor::processEventJetIDs(), CastorTowerJetMonitor::processEventJets(), CastorTowerJetMonitor::processEventTowers(), DTDataIntegrityTask::processFED(), HcalHotCellMonitor::processHit_rechitNeighbors(), DTDataIntegrityTask::processROS25(), SusyPostProcessor::QuantilePlots(), edm::EventStreamHttpReader::read(), L1TEMUEventInfoClient::readQtResults(), HcalMonitorModule::reset(), HcalBaseDQMonitor::reset(), TauValidation::rtau(), EgHLTOfflineSummaryClient::runClient_(), DTLocalTriggerTask::runDCCAnalysis(), DQMFileSaver::saveForOffline(), DTTimeEvolutionHisto::setTimeSlotValue(), CastorLEDMonitor::setup(), EcalBarrelMonitorModule::setup(), HcalZDCMonitor::setup(), HcalDigiMonitor::setup(), HcalRecHitMonitor::setup(), HcalCoarsePedestalMonitor::setup(), CastorChannelQualityMonitor::setup(), HcalRawDataMonitor::setup(), EcalEndcapMonitorModule::setup(), HcalMonitorModule::setup(), HcalDeadCellMonitor::setup(), CastorDigiMonitor::setup(), HcalCaloTowerMonitor::setup(), CastorTowerJetMonitor::setup(), HcalBaseDQMonitor::setup(), HcalHotCellMonitor::setup(), CastorPSMonitor::setup(), HLXMonitor::SetupEventInfo(), TauValidation::spinEffects(), TauValidation::spinEffectsZ(), PFMETDQMAnalyzer::storeBadEvents(), PFJetDQMAnalyzer::storeBadEvents(), PFCandidateDQMAnalyzer::storeBadEvents(), TauValidation::tauDecayChannel(), TauValidation::tauMother(), TauValidation::tauProngs(), TrackEfficiencyMonitor::testSTATracks(), TrackEfficiencyMonitor::testTrackerTracks(), HcalRawDataMonitor::unpack(), CastorDataIntegrityMonitor::unpack(), HcalEEUSMonitor::unpack(), HcalDataIntegrityTask::unpack(), ECALRecHitAnalyzer::WriteECALRecHits(), SubTaskSummaryStatus::WriteThreshold(), and XmasToDQMEventInfo::XmasToDQMEventInfo().
void MonitorElement::Fill | ( | unsigned long long | x | ) | [inline] |
Definition at line 153 of file MonitorElement.h.
References doFill().
void MonitorElement::Fill | ( | double | x, |
double | y, | ||
double | z, | ||
double | w | ||
) |
can be used with 3D (x, y, z, w) histograms
Definition at line 407 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_TH3F, DQM_KIND_TPROFILE2D, Fill(), incompatible(), kind(), and update().
{ update(); if (kind() == DQM_KIND_TH3F) static_cast<TH3F *>(accessRootObject(__PRETTY_FUNCTION__, 2)) ->Fill(x, y, z, w); else if (kind() == DQM_KIND_TPROFILE2D) static_cast<TProfile2D *>(accessRootObject(__PRETTY_FUNCTION__, 2)) ->Fill(x, y, z, w); else incompatible(__PRETTY_FUNCTION__); }
void MonitorElement::Fill | ( | unsigned long | x | ) | [inline] |
Definition at line 154 of file MonitorElement.h.
References doFill().
void MonitorElement::Fill | ( | long | x | ) | [inline] |
Definition at line 155 of file MonitorElement.h.
References doFill().
void MonitorElement::Fill | ( | unsigned int | x | ) | [inline] |
Definition at line 156 of file MonitorElement.h.
References doFill().
void MonitorElement::Fill | ( | int | x | ) | [inline] |
Definition at line 157 of file MonitorElement.h.
References doFill().
void MonitorElement::Fill | ( | short | x | ) | [inline] |
Definition at line 158 of file MonitorElement.h.
References doFill().
void MonitorElement::Fill | ( | unsigned short | x | ) | [inline] |
Definition at line 159 of file MonitorElement.h.
References doFill().
void MonitorElement::Fill | ( | unsigned char | x | ) | [inline] |
Definition at line 161 of file MonitorElement.h.
References doFill().
void MonitorElement::Fill | ( | char | x | ) | [inline] |
Definition at line 160 of file MonitorElement.h.
References doFill().
void MonitorElement::Fill | ( | float | x | ) | [inline] |
void MonitorElement::Fill | ( | double | x | ) |
"Fill" ME methods for double
Definition at line 232 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_INT, DQM_KIND_REAL, DQM_KIND_TH1D, DQM_KIND_TH1F, DQM_KIND_TH1S, if(), incompatible(), kind(), MonitorElement::Scalar::num, MonitorElement::Scalar::real, scalar_, update(), and x.
{ update(); if (kind() == DQM_KIND_INT) scalar_.num = static_cast<int64_t>(x); else if (kind() == DQM_KIND_REAL) scalar_.real = x; else if (kind() == DQM_KIND_TH1F) accessRootObject(__PRETTY_FUNCTION__, 1) ->Fill(x, 1); else if (kind() == DQM_KIND_TH1S) accessRootObject(__PRETTY_FUNCTION__, 1) ->Fill(x, 1); else if (kind() == DQM_KIND_TH1D) accessRootObject(__PRETTY_FUNCTION__, 1) ->Fill(x, 1); else incompatible(__PRETTY_FUNCTION__); }
void MonitorElement::Fill | ( | std::string & | value | ) |
"Fill" ME methods for string
Definition at line 221 of file MonitorElement.cc.
References DQM_KIND_STRING, incompatible(), kind(), scalar_, MonitorElement::Scalar::str, update(), and relativeConstraints::value.
{ update(); if (kind() == DQM_KIND_STRING) scalar_.str = value; else incompatible(__PRETTY_FUNCTION__); }
void MonitorElement::Fill | ( | double | x, |
double | yw | ||
) |
can be used with 2D (x,y) or 1D (x, w) histograms
Definition at line 276 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_TH1D, DQM_KIND_TH1F, DQM_KIND_TH1S, DQM_KIND_TH2D, DQM_KIND_TH2F, DQM_KIND_TH2S, DQM_KIND_TPROFILE, Fill(), incompatible(), kind(), and update().
{ update(); if (kind() == DQM_KIND_TH1F) accessRootObject(__PRETTY_FUNCTION__, 1) ->Fill(x, yw); else if (kind() == DQM_KIND_TH1S) accessRootObject(__PRETTY_FUNCTION__, 1) ->Fill(x, yw); else if (kind() == DQM_KIND_TH1D) accessRootObject(__PRETTY_FUNCTION__, 1) ->Fill(x, yw); else if (kind() == DQM_KIND_TH2F) static_cast<TH2F *>(accessRootObject(__PRETTY_FUNCTION__, 2)) ->Fill(x, yw, 1); else if (kind() == DQM_KIND_TH2S) static_cast<TH2S *>(accessRootObject(__PRETTY_FUNCTION__, 2)) ->Fill(x, yw, 1); else if (kind() == DQM_KIND_TH2D) static_cast<TH2D *>(accessRootObject(__PRETTY_FUNCTION__, 2)) ->Fill(x, yw, 1); else if (kind() == DQM_KIND_TPROFILE) static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 1)) ->Fill(x, yw, 1); else incompatible(__PRETTY_FUNCTION__); }
void MonitorElement::Fill | ( | double | x, |
double | y, | ||
double | zw | ||
) |
can be used with 3D (x, y, z) or 2D (x, y, w) histograms
Definition at line 380 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_TH2D, DQM_KIND_TH2F, DQM_KIND_TH2S, DQM_KIND_TH3F, DQM_KIND_TPROFILE, DQM_KIND_TPROFILE2D, Fill(), incompatible(), kind(), and update().
{ update(); if (kind() == DQM_KIND_TH2F) static_cast<TH2F *>(accessRootObject(__PRETTY_FUNCTION__, 2)) ->Fill(x, y, zw); else if (kind() == DQM_KIND_TH2S) static_cast<TH2S *>(accessRootObject(__PRETTY_FUNCTION__, 2)) ->Fill(x, y, zw); else if (kind() == DQM_KIND_TH2D) static_cast<TH2D *>(accessRootObject(__PRETTY_FUNCTION__, 2)) ->Fill(x, y, zw); else if (kind() == DQM_KIND_TH3F) static_cast<TH3F *>(accessRootObject(__PRETTY_FUNCTION__, 2)) ->Fill(x, y, zw, 1); else if (kind() == DQM_KIND_TPROFILE) static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 2)) ->Fill(x, y, zw); else if (kind() == DQM_KIND_TPROFILE2D) static_cast<TProfile2D *>(accessRootObject(__PRETTY_FUNCTION__, 2)) ->Fill(x, y, zw, 1); else incompatible(__PRETTY_FUNCTION__); }
uint32_t MonitorElement::flags | ( | void | ) | const [inline] |
Get the object flags.
Definition at line 95 of file MonitorElement.h.
References data_, and DQMNet::CoreObject::flags.
TAxis * MonitorElement::getAxis | ( | const char * | func, |
int | axis | ||
) | const [private] |
Definition at line 960 of file MonitorElement.cc.
References a, accessRootObject(), data_, h, DQMNet::CoreObject::objname, and raiseDQMError().
Referenced by getAxisTitle(), setAxisRange(), setAxisTimeDisplay(), setAxisTimeFormat(), setAxisTimeOffset(), setAxisTitle(), and setBinLabel().
{ TH1 *h = accessRootObject(func, axis-1); TAxis *a = 0; if (axis == 1) a = h->GetXaxis(); else if (axis == 2) a = h->GetYaxis(); else if (axis == 3) a = h->GetZaxis(); if (! a) raiseDQMError("MonitorElement", "No such axis %d in monitor element" " '%s' of type '%s'", axis, data_.objname.c_str(), typeid(*h).name()); return a; }
std::string MonitorElement::getAxisTitle | ( | int | axis = 1 | ) | const |
get x-, y- or z-axis title (axis=1, 2, 3 respectively)
Definition at line 799 of file MonitorElement.cc.
References getAxis().
Referenced by PFClient::createEfficiencyPlots().
{ return getAxis(__PRETTY_FUNCTION__, axis) ->GetTitle(); }
double MonitorElement::getBinContent | ( | int | binx, |
int | biny, | ||
int | binz | ||
) | const |
get content of bin (3-D)
Definition at line 724 of file MonitorElement.cc.
References accessRootObject().
{ return accessRootObject(__PRETTY_FUNCTION__, 3) ->GetBinContent(binx, biny, binz); }
double MonitorElement::getBinContent | ( | int | binx | ) | const |
get content of bin (1-D)
Definition at line 712 of file MonitorElement.cc.
References accessRootObject().
Referenced by HCALRecHitAnalyzer::analyze(), ESSummaryClient::analyze(), EESummaryClient::analyze(), HLTMonBitSummary::analyze(), SiPixelDigiSource::analyze(), EBSummaryClient::analyze(), RPCDBPopConAnalyzer::analyze(), SiPixelEDAClient::beginLuminosityBlock(), L1TDTTFClient::buildPhiEtaPlotO(), L1TDTTFClient::buildPhiEtaPlotOFC(), EcalMixingModuleValidation::bunchSumTest(), HcalDeadCellClient::calculateProblems(), HcalDetDiagPedestalClient::calculateProblems(), HcalCoarsePedestalClient::calculateProblems(), HcalRecHitClient::calculateProblems(), HcalDigiClient::calculateProblems(), HcalTrigPrimClient::calculateProblems(), HcalDetDiagNoiseMonitorClient::calculateProblems(), HcalNZSClient::calculateProblems(), HcalDetDiagTimingClient::calculateProblems(), HcalBeamClient::calculateProblems(), HcalHotCellClient::calculateProblems(), HcalRawDataClient::calculateProblems(), RPCEventSummary::clientOperation(), RPCDeadChannelTest::clientOperation(), RPCClusterSizeTest::clientOperation(), RPCOccupancyTest::clientOperation(), SiPixelHitEfficiencyModule::computeEfficiencies(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelDataQuality::computeGlobalQualityFlagByLumi(), PFClient::createEfficiencyPlots(), PhotonPostprocessing::dividePlots(), PhotonOfflineClient::dividePlots(), ConversionPostprocessing::dividePlots(), HLTMonSimpleBTag::doEffCalc(), MuonTestSummary::doMultiplicityTests(), MuonTestSummary::doMuonIDTests(), MuonTestSummary::doResidualsTests(), SiPixelActionExecutor::dumpBarrelRefValues(), SiPixelActionExecutor::dumpEndcapRefValues(), SiStripMonitorFilter::endJob(), SiStripMonitorHLT::endJob(), HcalSimHitsValidation::endJob(), DQMHcalPhiSymAlCaReco::endJob(), ESSummaryClient::endLumiAnalyze(), DQMProvInfo::endLuminosityBlock(), RPCDqmClient::endLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), HcalLSbyLSMonitor::endLuminosityBlock(), EERawDataTask::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), HLTEventInfoClient::endLuminosityBlock(), HcalBeamMonitor::endLuminosityBlock(), EBRawDataTask::endLuminosityBlock(), DTDCSByLumiSummary::endLuminosityBlock(), SiStripMonitorDigi::endLuminosityBlock(), DTSummaryClients::endLuminosityBlock(), DTDataIntegrityTest::endLuminosityBlock(), DTChamberEfficiencyClient::endRun(), DTCertificationSummary::endRun(), RPCEfficiencyPerRingLayer::endRun(), DQMHcalPhiSymAlCaReco::endRun(), RPCEfficiencyShiftHisto::endRun(), RPCDqmClient::endRun(), HltSusyExoPostProcessor::endRun(), RPCEfficiencySecond::endRun(), DTOfflineSummaryClients::endRun(), SiPixelActionExecutor::fillDeviations(), evf::iDie::fillDQMModFractionHist(), SiPixelActionExecutor::fillFEDErrorSummary(), ECALRecHitAnalyzer::FillGeometry(), HCALRecHitAnalyzer::FillGeometry(), RPCNoisyStripTest::fillGlobalME(), RPCOccupancyTest::fillGlobalME(), DTLocalTriggerTest::fillGlobalSummary(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), HLXMonitor::FillHistograms(), SiStripSummaryCreator::fillHistos(), RPCChamberQuality::fillMonitorElements(), SiPixelActionExecutor::fillOccupancy(), HcalSummaryClient::fillReportSummaryLSbyLS(), StorageAccount::fillSummary(), FillUnphysicalHEHFBins(), DTTriggerLutTest::fillWhPlot(), DTLocalTriggerLutTest::fillWhPlot(), ElectronMcSignalPostValidator::finalize(), ElectronMcFakePostValidator::finalize(), CSCMonitorObject::GetBinContent(), ecaldqm::MESet::getBinContent_(), UtilsClient::getBinQuality(), UtilsClient::getBinStatus(), HcalSubdetDigiMonitor::getMeElementBinContent(), CSCOfflineMonitor::harvestChamberMeans(), HcalRecHitsClient::HcalRecHitsEndjob(), SiPixelSCurveCalibrationAnalysis::makeThresholdSummary(), UtilsClient::maskBinContent(), DTTimeEvolutionHisto::normalizeTo(), SiStripTrackerMapCreator::paintTkMapFromHistogram(), RPCChamberQuality::performeClientOperation(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), UtilsClient::printBadChannels(), HcalBeamMonitor::processEvent(), SiStripFEDErrorsDQM::readHistogram(), CastorLEDMonitor::reset(), SiPixelDQMRocLevelAnalyzer::RocSumOneModule(), L1EmulatorErrorFlagClient::setSummary(), DTTimeEvolutionHisto::setTimeSlotValue(), ecaldqm::MESetTrend::shift_(), ShiftFillLast(), DTDataIntegrityTask::TimeHistos(), HcalRawDataMonitor::UpdateMEs(), evf::iDie::updateRollingHistos(), DTTimeEvolutionHisto::updateTimeSlot(), and ECALRecHitAnalyzer::WriteECALRecHits().
{ return accessRootObject(__PRETTY_FUNCTION__, 1) ->GetBinContent(binx); }
double MonitorElement::getBinContent | ( | int | binx, |
int | biny | ||
) | const |
get content of bin (2-D)
Definition at line 718 of file MonitorElement.cc.
References accessRootObject().
{ return accessRootObject(__PRETTY_FUNCTION__, 2) ->GetBinContent(binx, biny); }
double MonitorElement::getBinEntries | ( | int | bin | ) | const |
get # of bin entries (for profiles)
Definition at line 754 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_TPROFILE, DQM_KIND_TPROFILE2D, incompatible(), and kind().
Referenced by ecaldqm::MESetTrend::shift_().
{ if (kind() == DQM_KIND_TPROFILE) return static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 1)) ->GetBinEntries(bin); else if (kind() == DQM_KIND_TPROFILE2D) return static_cast<TProfile2D *>(accessRootObject(__PRETTY_FUNCTION__, 1)) ->GetBinEntries(bin); else { incompatible(__PRETTY_FUNCTION__); return 0; } }
double MonitorElement::getBinError | ( | int | binx | ) | const |
get uncertainty on content of bin (1-D) - See TH1::GetBinError for details
Definition at line 730 of file MonitorElement.cc.
References accessRootObject().
Referenced by EESummaryClient::analyze(), EBSummaryClient::analyze(), EcalMixingModuleValidation::bunchSumTest(), HLTMonSimpleBTag::doEffCalc(), DTChamberEfficiencyClient::endRun(), DTOfflineSummaryClients::endRun(), HLXMonitor::FillHistograms(), ecaldqm::MESet::getBinError_(), HcalRecHitsClient::HcalRecHitsEndjob(), DTTimeEvolutionHisto::setTimeSlotValue(), ecaldqm::MESetTrend::shift_(), and ShiftFillLast().
{ return accessRootObject(__PRETTY_FUNCTION__, 1) ->GetBinError(binx); }
double MonitorElement::getBinError | ( | int | binx, |
int | biny | ||
) | const |
get uncertainty on content of bin (2-D) - See TH1::GetBinError for details
Definition at line 736 of file MonitorElement.cc.
References accessRootObject().
{ return accessRootObject(__PRETTY_FUNCTION__, 2) ->GetBinError(binx, biny); }
double MonitorElement::getBinError | ( | int | binx, |
int | biny, | ||
int | binz | ||
) | const |
get uncertainty on content of bin (3-D) - See TH1::GetBinError for details
Definition at line 742 of file MonitorElement.cc.
References accessRootObject().
{ return accessRootObject(__PRETTY_FUNCTION__, 3) ->GetBinError(binx, biny, binz); }
double MonitorElement::getEntries | ( | void | ) | const |
get # of entries
Definition at line 748 of file MonitorElement.cc.
References accessRootObject().
Referenced by SiPixelClusterSource::analyze(), EESummaryClient::analyze(), SiPixelDigiSource::analyze(), EBSummaryClient::analyze(), RPCDBPopConAnalyzer::analyze(), CaloTowersClient::CaloTowersEndjob(), HcalDetDiagTimingMonitor::CheckTiming(), RPCClusterSizeTest::clientOperation(), SiPixelDataQuality::computeGlobalQualityFlag(), PhotonOfflineClient::dividePlots(), MuonTestSummary::doEnergyTests(), MuonTestSummary::doMultiplicityTests(), MuonTestSummary::doMuonIDTests(), L1TEventInfoClient::endLuminosityBlock(), MuonAlignmentSummary::endRun(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), RPCOccupancyTest::fillGlobalME(), SiPixelDataQuality::fillGlobalQualityPlot(), SiStripSummaryCreator::fillHistos(), RPCChamberQuality::fillMonitorElements(), StorageAccount::fillSummary(), HcalRecHitsClient::HcalRecHitsEndjob(), SiStripActionExecutor::printShiftHistoParameters(), MeanWithinExpected::runTest(), and ShiftFillLast().
{ return accessRootObject(__PRETTY_FUNCTION__, 1) ->GetEntries(); }
double MonitorElement::getFloatValue | ( | void | ) | const [inline] |
Definition at line 339 of file MonitorElement.h.
References DQM_KIND_REAL, kind(), MonitorElement::Scalar::real, and scalar_.
Referenced by HcalCoarsePedestalClient::beginRun(), SiPixelDataQuality::computeGlobalQualityFlag(), DTOccupancyTest::endLuminosityBlock(), DTNoiseAnalysisTest::endLuminosityBlock(), DQMOfflineHLTEventInfoClient::endRun(), PhotonDataCertification::endRun(), DTOfflineSummaryClients::endRun(), SiPixelDataQuality::fillGlobalQualityPlot(), DTLocalTriggerTest::fillGlobalSummary(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), SiStripCertificationInfo::fillTrackingCertificationMEs(), DTLocalTriggerSynchTest::getFloatFromME(), DTSegmentAnalysisTest::performClientDiagnostic(), MEtoEDMConverter::putData(), and SiPixelHistoricInfoDQMClient::retrieveMEs().
{ assert(kind() == DQM_KIND_REAL); return scalar_.real; }
const std::string MonitorElement::getFullname | ( | void | ) | const [inline] |
get full name of ME including Pathname
Definition at line 107 of file MonitorElement.h.
References data_, DQMNet::CoreObject::dirname, DQMNet::CoreObject::objname, and getHLTPrescaleColumns::path.
Referenced by ConverterTester::beginJob(), MEtoEDMConverter::beginRun(), DQMStore::checkBinningMatches(), MEtoEDMConverter::endJob(), ecaldqm::MeInfoMap::get(), GlobalHitsTester::GlobalHitsTester(), MEtoEDMConverter::putData(), ContentsYRange::runTest(), ContentsXRange::runTest(), MeanWithinExpected::runTest(), DeadChannel::runTest(), NoisyChannel::runTest(), ecaldqm::MeInfoMap::set(), and DQMStore::tag().
int64_t MonitorElement::getIntValue | ( | void | ) | const [inline] |
Definition at line 333 of file MonitorElement.h.
References DQM_KIND_INT, kind(), MonitorElement::Scalar::num, and scalar_.
Referenced by SiStripDcsInfo::addBadModules(), HcalBaseDQMonitor::analyze(), HcalSummaryClient::analyze(), HcalCoarsePedestalClient::beginRun(), HcalDeadCellClient::calculateProblems(), HcalRawDataClient::calculateProblems(), CalibrationHistograms::CalibrationHistograms(), SiPixelDataQuality::computeGlobalQualityFlag(), L1ScalersClient::endLuminosityBlock(), TrigResRateMon::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiStripDaqInfo::findExcludedModule(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), ZDCMonitorClient::htmlOutput(), HcalBaseDQMonitor::IsAllowedCalibType(), DTBlockedROChannelsTest::performClientDiagnostic(), MEtoEDMConverter::putData(), SiPixelHistoricInfoDQMClient::retrieveMEs(), PhotonOfflineClient::runClient(), and SamplingHistograms::SamplingHistograms().
{ assert(kind() == DQM_KIND_INT); return scalar_.num; }
bool MonitorElement::getLumiFlag | ( | void | ) | const [inline] |
true if ME is meant to be stored for each luminosity section
Definition at line 132 of file MonitorElement.h.
References data_, DQMNet::DQM_PROP_LUMI, and DQMNet::CoreObject::flags.
Referenced by MEtoEDMConverter::putData().
{ return data_.flags & DQMNet::DQM_PROP_LUMI; }
double MonitorElement::getMean | ( | int | axis = 1 | ) | const |
get mean value of histogram along x, y or z axis (axis=1, 2, 3 respectively)
Definition at line 669 of file MonitorElement.cc.
References accessRootObject().
Referenced by RPCDBPopConAnalyzer::analyze(), SiPixelActionExecutor::checkQTestResults(), HcalDetDiagLEDMonitor::CheckStatus(), RPCClusterSizeTest::clientOperation(), SiPixelDataQuality::computeGlobalQualityFlagByLumi(), SiPixelInformationExtractor::computeStatus(), DTResolutionAnalysisTest::endRun(), MuonAlignmentSummary::endRun(), DTRunConditionVarClient::endRun(), SiPixelActionExecutor::fillFEDErrorSummary(), RPCMultiplicityTest::fillGlobalME(), HLXMonitor::FillHistograms(), SiStripSummaryCreator::fillHistos(), StorageAccount::fillSummary(), SiStripQualityChecker::fillTrackingStatusAtLumi(), BeamMonitor::FitAndFill(), MuonTestSummary::GaussFit(), PFClient::getHistogramParameters(), SiStripActionExecutor::printShiftHistoParameters(), and CSCRecHit2DValidation::~CSCRecHit2DValidation().
{ return accessRootObject(__PRETTY_FUNCTION__, axis-1) ->GetMean(axis); }
double MonitorElement::getMeanError | ( | int | axis = 1 | ) | const |
get mean value uncertainty of histogram along x, y or z axis (axis=1, 2, 3 respectively)
Definition at line 676 of file MonitorElement.cc.
References accessRootObject().
Referenced by MuonAlignmentSummary::endRun(), BeamMonitor::FitAndFill(), and htmlErrors().
{ return accessRootObject(__PRETTY_FUNCTION__, axis-1) ->GetMeanError(axis); }
const std::string& MonitorElement::getName | ( | void | ) | const [inline] |
get name of ME
Definition at line 99 of file MonitorElement.h.
References data_, and DQMNet::CoreObject::objname.
Referenced by MonitorElementMgr::addME(), HcalSummaryClient::analyze(), BeamMonitor::analyze(), HLTSeedL1LogicScalers::analyze(), ESSummaryClient::beginJob(), L1EmulatorErrorFlagClient::beginJob(), BeamMonitor::beginJob(), ZDCMonitorClient::beginRun(), RPCOccupancyTest::beginRun(), RPCMonitorDigi::beginRun(), HcalHotCellClient::beginRun(), RPCBxTest::beginRun(), HcalDetDiagNoiseMonitorClient::beginRun(), HcalDigiClient::beginRun(), RPCMultiplicityTest::beginRun(), HcalRecHitClient::beginRun(), RPCEventSummary::beginRun(), HcalNZSClient::beginRun(), HcalRawDataClient::beginRun(), RPCChamberQuality::beginRun(), RPCDeadChannelTest::beginRun(), HcalDeadCellClient::beginRun(), HcalDetDiagLEDClient::beginRun(), HcalSummaryClient::beginRun(), RPCClusterSizeTest::beginRun(), RPCMon_SS_Dbx_Global::beginRun(), EcalBarrelMonitorClient::beginRun(), HcalDetDiagPedestalClient::beginRun(), RPCNoisyStripTest::beginRun(), HcalCoarsePedestalClient::beginRun(), HcalDetDiagTimingClient::beginRun(), RPCRecHitProbability::beginRun(), EcalEndcapMonitorClient::beginRun(), HcalTrigPrimClient::beginRun(), HcalBeamClient::beginRun(), L1TEMUEventInfoClient::bookHistograms(), RPCMonitorDigi::bookRegionME(), SiPixelActionExecutor::checkQTestResults(), EBTimingClient::cleanup(), EBRawDataTask::cleanup(), EESummaryClient::cleanup(), EEHltTask::cleanup(), EBIntegrityTask::cleanup(), EEDaqInfoTask::cleanup(), EEDcsInfoTask::cleanup(), EBSelectiveReadoutTask::cleanup(), EEStatusFlagsTask::cleanup(), EETrendTask::cleanup(), EcalEndcapMonitorModule::cleanup(), EBClusterTask::cleanup(), EBTimingTask::cleanup(), EBDataCertificationTask::cleanup(), EBHltTask::cleanup(), EBLaserTask::cleanup(), EBTrendTask::cleanup(), EEClusterTask::cleanup(), EBDaqInfoTask::cleanup(), EBDcsInfoTask::cleanup(), EERawDataTask::cleanup(), HcalMonitorModule::cleanup(), EcalBarrelMonitorModule::cleanup(), EEDataCertificationTask::cleanup(), EETimingTask::cleanup(), EBOccupancyTask::cleanup(), EESelectiveReadoutTask::cleanup(), EBSummaryClient::cleanup(), EBStatusFlagsTask::cleanup(), EEIntegrityTask::cleanup(), FourVectorHLTOnline::countHLTGroupBXHitsEndLumiBlock(), PFClient::createResolutionPlots(), HLTMonSimpleBTag::doEffCalc(), L1TEMUEventInfoClient::dumpContentMonitorElements(), RPCDcsInfoClient::endRun(), DQMDcsInfoClient::endRun(), PhotonDataCertification::endRun(), HLTMuonCertSummary::endRun(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiStripSummaryCreator::fillHistos(), SiStripQualityChecker::fillSubDetStatus(), StorageAccount::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), SiStripCertificationInfo::fillTrackingCertificationMEs(), SiStripQualityChecker::fillTrackingStatus(), SiStripQualityChecker::fillTrackingStatusAtLumi(), BeamMonitor::FitAndFill(), SiStripInformationExtractor::getCondDBHistos(), SiPixelInformationExtractor::getDetId(), SiPixelDataQuality::getDetId(), SiStripInformationExtractor::getGlobalHistos(), UtilsClient::getHisto(), HcalUtilsClient::getHisto(), getHisto(), getHisto2(), SiPixelInformationExtractor::getHistosFromPath(), SiStripInformationExtractor::getHistosFromPath(), getHistoTH3F(), getHistoTProfile(), getHistoTProfile2D(), SiStripQualityChecker::getModuleStatus(), SiStripInformationExtractor::getSingleModuleHistos(), SiStripInformationExtractor::getTrackerMapHistos(), SiPixelInformationExtractor::getTrackerMapHistos(), CommissioningHistograms::histogram(), SiStripHistoPlotter::makeCondDBPlots(), SiPixelHistoPlotter::makePlot(), L1TDTTPGClient::makeRatioHisto(), SiStripBaseServiceFromDQM< T >::StringNotMatch::operator()(), SiStripTrackerMapCreator::paintTkMapFromHistogram(), SiStripInformationExtractor::plotHistosFromLayout(), UtilsClient::printBadChannels(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripActionExecutor::printShiftHistoParameters(), ElectronDqmAnalyzerBase::profileX(), ElectronDqmAnalyzerBase::profileY(), MEtoEDMConverter::putData(), SiStripInformationExtractor::readGlobalHistoList(), SiStripFEDErrorsDQM::readHistogram(), SiStripInformationExtractor::readModuleAndHistoList(), L1TEMUEventInfoClient::readQtResults(), SiStripInformationExtractor::readStatusMessage(), SiPixelInformationExtractor::readStatusMessage(), SiPixelHistoricInfoEDAClient::retrieveMEs(), SiPixelHistoricInfoDQMClient::retrieveMEs(), SiPixelHistoryDQMService::returnDetComponent(), SiStripHistoryDQMService::returnDetComponent(), DTLocalTriggerSynchTest::runClientDiagnostic(), EBSummaryClient::setup(), EESummaryClient::setup(), SubTaskSummaryStatus::WriteThreshold(), and CSCRecHit2DValidation::~CSCRecHit2DValidation().
int MonitorElement::getNbinsX | ( | void | ) | const |
get # of bins in X-axis
Definition at line 694 of file MonitorElement.cc.
References accessRootObject().
Referenced by SiStripMonitorQuality::analyze(), SiPixelDigiSource::analyze(), ecaldqm::MESetEcal::book(), HLTTauDQMSummaryPlotter::bookTriggerBitEfficiencyHistos(), CaloTowersClient::CaloTowersEndjob(), RPCEventSummary::clientOperation(), RPCDeadChannelTest::clientOperation(), SiPixelHitEfficiencyModule::computeEfficiencies(), PFClient::createEfficiencyPlots(), PFClient::createResolutionPlots(), PhotonPostprocessing::dividePlots(), PhotonOfflineClient::dividePlots(), ConversionPostprocessing::dividePlots(), HLTMonSimpleBTag::doEffCalc(), MTVHistoProducerAlgo::doProfileX(), MuonTrackValidatorBase::doProfileX(), HcalSimHitsValidation::endJob(), EEDataCertificationTask::endLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), L1TEventInfoClient::endLuminosityBlock(), HLTEventInfoClient::endLuminosityBlock(), EEDataCertificationTask::endRun(), RPCEfficiencyShiftHisto::endRun(), HltSusyExoPostProcessor::endRun(), SiStripCertificationInfo::fillDummySiStripCertification(), SiStripQualityChecker::fillDummyStatus(), RPCOccupancyTest::fillGlobalME(), SiStripSummaryCreator::fillGrandSummaryHistos(), DQMMessageLoggerClient::fillHistograms(), DQMFEDIntegrityClient::fillHistograms(), SiStripSummaryCreator::fillHistos(), EEDcsInfoTask::fillMonitorElements(), EEDaqInfoTask::fillMonitorElements(), SiPixelActionExecutor::fillOccupancy(), StorageAccount::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), FillUnphysicalHEHFBins(), SiPixelInformationExtractor::getNormalization(), SiPixelInformationExtractor::getNormalization2D(), CSCOfflineMonitor::harvestChamberMeans(), HcalRecHitsClient::HcalRecHitsEndjob(), RPCFEDIntegrity::labelBins(), rpcdqm::utils::labelXAxisSector(), rpcdqm::utils::labelXAxisSegment(), SiPixelSCurveCalibrationAnalysis::makeThresholdSummary(), L1TGCTClient::makeXProjection(), L1TGCTClient::makeYProjection(), DTTimeEvolutionHisto::normalizeTo(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), UtilsClient::printBadChannels(), SiStripFEDErrorsDQM::readHistogram(), CastorLEDMonitor::reset(), L1EmulatorErrorFlagClient::setSummary(), ShiftFillLast(), and DTDataIntegrityTask::TimeHistos().
{ return accessRootObject(__PRETTY_FUNCTION__, 1) ->GetNbinsX(); }
int MonitorElement::getNbinsY | ( | void | ) | const |
get # of bins in Y-axis
Definition at line 700 of file MonitorElement.cc.
References accessRootObject().
Referenced by SiPixelDigiSource::analyze(), CaloTowersClient::CaloTowersEndjob(), RPCEventSummary::clientOperation(), PFClient::createResolutionPlots(), HLTMonSimpleBTag::doEffCalc(), EEDataCertificationTask::endLuminosityBlock(), L1TEventInfoClient::endLuminosityBlock(), EEDataCertificationTask::endRun(), RPCEfficiencyShiftHisto::endRun(), SiStripCertificationInfo::fillDummySiStripCertification(), SiStripQualityChecker::fillDummyStatus(), EEDcsInfoTask::fillMonitorElements(), EEDaqInfoTask::fillMonitorElements(), SiPixelActionExecutor::fillOccupancy(), SiStripCertificationInfo::fillSiStripCertificationMEs(), StorageAccount::fillSummary(), FillUnphysicalHEHFBins(), SiPixelInformationExtractor::getNormalization2D(), CSCOfflineMonitor::harvestChamberMeans(), HcalRecHitsClient::HcalRecHitsEndjob(), rpcdqm::utils::labelYAxisRing(), rpcdqm::utils::labelYAxisRoll(), SiPixelSCurveCalibrationAnalysis::makeThresholdSummary(), UtilsClient::printBadChannels(), ecaldqm::MESetTrend::shift_(), and DTDataIntegrityTask::TimeHistos().
{ return accessRootObject(__PRETTY_FUNCTION__, 2) ->GetNbinsY(); }
int MonitorElement::getNbinsZ | ( | void | ) | const |
get # of bins in Z-axis
Definition at line 706 of file MonitorElement.cc.
References accessRootObject().
{ return accessRootObject(__PRETTY_FUNCTION__, 3) ->GetNbinsZ(); }
const std::string& MonitorElement::getPathname | ( | void | ) | const [inline] |
get pathname of parent folder
Definition at line 103 of file MonitorElement.h.
References data_, and DQMNet::CoreObject::dirname.
Referenced by SiPixelInformationExtractor::findNoisyPixels(), MEtoEDMConverter::putData(), and SusyPostProcessor::QuantilePlots().
std::vector< QReport * > MonitorElement::getQErrors | ( | void | ) | const |
get errors from last set of quality tests
Definition at line 583 of file MonitorElement.cc.
References data_, alignCSCRings::e, dqm::qstatus::ERROR, i, DQMNet::CoreObject::qreports, qreports_, and query::result.
Referenced by SiPixelActionExecutor::checkQTestResults(), HLTTauCertifier::endRun(), QTestStatusChecker::processAlarms(), and SiPixelHistoPlotter::setLines().
{ std::vector<QReport *> result; result.reserve(qreports_.size()); for (size_t i = 0, e = qreports_.size(); i != e; ++i) if (data_.qreports[i].code == dqm::qstatus::ERROR) { const_cast<MonitorElement *>(this)->qreports_[i].qvalue_ = const_cast<DQMNet::QValue *>(&data_.qreports[i]); result.push_back(const_cast<QReport *>(&qreports_[i])); } return result; }
std::vector< QReport * > MonitorElement::getQOthers | ( | void | ) | const |
get "other" (i.e. non-error, non-warning, non-"ok") QReports from last set of quality tests
Definition at line 598 of file MonitorElement.cc.
References data_, alignCSCRings::e, dqm::qstatus::ERROR, i, DQMNet::CoreObject::qreports, qreports_, query::result, dqm::qstatus::STATUS_OK, and dqm::qstatus::WARNING.
Referenced by QTestStatusChecker::processAlarms(), and SiPixelHistoPlotter::setLines().
{ std::vector<QReport *> result; result.reserve(qreports_.size()); for (size_t i = 0, e = qreports_.size(); i != e; ++i) if (data_.qreports[i].code != dqm::qstatus::STATUS_OK && data_.qreports[i].code != dqm::qstatus::WARNING && data_.qreports[i].code != dqm::qstatus::ERROR) { const_cast<MonitorElement *>(this)->qreports_[i].qvalue_ = const_cast<DQMNet::QValue *>(&data_.qreports[i]); result.push_back(const_cast<QReport *>(&qreports_[i])); } return result; }
const QReport * MonitorElement::getQReport | ( | const std::string & | qtname | ) | const |
get QReport corresponding to <qtname> (null pointer if QReport does not exist)
Definition at line 545 of file MonitorElement.cc.
Referenced by addQReport(), RPCDeadChannelTest::clientOperation(), createH2CompTest(), MuonTestSummary::doKinematicsTests(), L1TEventInfoClient::endLuminosityBlock(), DTResolutionTest::endLuminosityBlock(), DataCertificationJetMET::endRun(), MuonTrackResidualsTest::endRun(), L1TRPCTFClient::processHistograms(), L1TEMUEventInfoClient::readQtResults(), L1TTestsSummary::updateL1TOccupancyMonitor(), L1TTestsSummary::updateL1TRateMonitor(), and L1TTestsSummary::updateL1TSyncMonitor().
{ QReport *qr; DQMNet::QValue *qv; const_cast<MonitorElement *>(this)->getQReport(false, qtname, qr, qv); return qr; }
void MonitorElement::getQReport | ( | bool | create, |
const std::string & | qtname, | ||
QReport *& | qr, | ||
DQMNet::QValue *& | qv | ||
) | [private] |
Definition at line 1394 of file MonitorElement.cc.
References DQMNet::QValue::algorithm, DQMNet::QValue::code, data_, dqm::qstatus::DID_NOT_RUN, end, DQMNet::QValue::message, pos, lumiQueryAPI::q, DQMNet::CoreObject::qreports, qreports_, DQMNet::QValue::qtname, and DQMNet::QValue::qtresult.
{ assert(qreports_.size() == data_.qreports.size()); qr = 0; qv = 0; size_t pos = 0, end = qreports_.size(); while (pos < end && data_.qreports[pos].qtname != qtname) ++pos; if (pos == end && ! create) return; else if (pos == end) { data_.qreports.push_back(DQMNet::QValue()); qreports_.push_back(QReport(0, 0)); DQMNet::QValue &q = data_.qreports.back(); q.code = dqm::qstatus::DID_NOT_RUN; q.qtresult = 0; q.qtname = qtname; q.message = "NO_MESSAGE_ASSIGNED"; q.algorithm = "UNKNOWN_ALGORITHM"; } qr = &qreports_[pos]; qv = &data_.qreports[pos]; }
std::vector< QReport * > MonitorElement::getQReports | ( | void | ) | const |
get map of QReports
Definition at line 554 of file MonitorElement.cc.
References data_, alignCSCRings::e, i, DQMNet::CoreObject::qreports, qreports_, and query::result.
Referenced by PhotonDataCertification::endRun(), HLTMuonCertSummary::endRun(), SiStripQualityChecker::fillSubDetStatus(), SiStripQualityChecker::fillTrackingStatus(), SiStripUtility::getMEStatus(), SiStripQualityChecker::getModuleStatus(), SiPixelUtility::getStatus(), SiStripInformationExtractor::printAlarmList(), L1TRPCTFClient::processHistograms(), L1TEMUEventInfoClient::readQtResults(), SiStripInformationExtractor::readStatusMessage(), and SiPixelInformationExtractor::readStatusMessage().
{ std::vector<QReport *> result; result.reserve(qreports_.size()); for (size_t i = 0, e = qreports_.size(); i != e; ++i) { const_cast<MonitorElement *>(this)->qreports_[i].qvalue_ = const_cast<DQMNet::QValue *>(&data_.qreports[i]); result.push_back(const_cast<QReport *>(&qreports_[i])); } return result; }
std::vector< QReport * > MonitorElement::getQWarnings | ( | void | ) | const |
get warnings from last set of quality tests
Definition at line 568 of file MonitorElement.cc.
References data_, alignCSCRings::e, i, DQMNet::CoreObject::qreports, qreports_, query::result, and dqm::qstatus::WARNING.
Referenced by SiPixelActionExecutor::checkQTestResults(), HLTTauCertifier::endRun(), QTestStatusChecker::processAlarms(), and SiPixelHistoPlotter::setLines().
{ std::vector<QReport *> result; result.reserve(qreports_.size()); for (size_t i = 0, e = qreports_.size(); i != e; ++i) if (data_.qreports[i].code == dqm::qstatus::WARNING) { const_cast<MonitorElement *>(this)->qreports_[i].qvalue_ = const_cast<DQMNet::QValue *>(&data_.qreports[i]); result.push_back(const_cast<QReport *>(&qreports_[i])); } return result; }
TObject * MonitorElement::getRefRootObject | ( | void | ) | const |
Definition at line 1559 of file MonitorElement.cc.
References reference_, and update().
Referenced by SiStripHistoPlotter::createStaticPlot(), CSCMonitorObject::getRefRootObject(), SiPixelHistoPlotter::makePlot(), Comp2RefKolmogorov::runTest(), Comp2RefEqualH::runTest(), and Comp2RefChi2::runTest().
{ const_cast<MonitorElement *>(this)->update(); return reference_; }
TH1 * MonitorElement::getRefTH1 | ( | void | ) | const |
Definition at line 1566 of file MonitorElement.cc.
References checkRootObject(), data_, DQMNet::CoreObject::objname, reference_, and update().
Referenced by SiStripHistoPlotter::createStaticPlot(), SiPixelActionExecutor::fillDeviations(), and SiPixelHistoPlotter::makePlot().
{ const_cast<MonitorElement *>(this)->update(); return checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 0); }
TH1D * MonitorElement::getRefTH1D | ( | void | ) | const |
Definition at line 1591 of file MonitorElement.cc.
References checkRootObject(), data_, DQM_KIND_TH1D, kind(), DQMNet::CoreObject::objname, reference_, and update().
Referenced by Comp2RefKolmogorov::runTest(), Comp2RefChi2::runTest(), and Comp2RefEqualH::runTest().
{ assert(kind() == DQM_KIND_TH1D); const_cast<MonitorElement *>(this)->update(); return static_cast<TH1D *> (checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 1)); }
TH1F * MonitorElement::getRefTH1F | ( | void | ) | const |
Definition at line 1573 of file MonitorElement.cc.
References checkRootObject(), data_, DQM_KIND_TH1F, kind(), DQMNet::CoreObject::objname, reference_, and update().
Referenced by Comp2RefKolmogorov::runTest(), Comp2RefChi2::runTest(), and Comp2RefEqualH::runTest().
{ assert(kind() == DQM_KIND_TH1F); const_cast<MonitorElement *>(this)->update(); return static_cast<TH1F *> (checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 1)); }
TH1S * MonitorElement::getRefTH1S | ( | void | ) | const |
Definition at line 1582 of file MonitorElement.cc.
References checkRootObject(), data_, DQM_KIND_TH1S, kind(), DQMNet::CoreObject::objname, reference_, and update().
Referenced by Comp2RefKolmogorov::runTest(), Comp2RefChi2::runTest(), and Comp2RefEqualH::runTest().
{ assert(kind() == DQM_KIND_TH1S); const_cast<MonitorElement *>(this)->update(); return static_cast<TH1S *> (checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 1)); }
TH2D * MonitorElement::getRefTH2D | ( | void | ) | const |
Definition at line 1618 of file MonitorElement.cc.
References checkRootObject(), data_, DQM_KIND_TH2D, kind(), DQMNet::CoreObject::objname, reference_, and update().
Referenced by Comp2RefEqualH::runTest().
{ assert(kind() == DQM_KIND_TH2D); const_cast<MonitorElement *>(this)->update(); return static_cast<TH2D *> (checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 2)); }
TH2F * MonitorElement::getRefTH2F | ( | void | ) | const |
Definition at line 1600 of file MonitorElement.cc.
References checkRootObject(), data_, DQM_KIND_TH2F, kind(), DQMNet::CoreObject::objname, reference_, and update().
Referenced by Comp2RefEqualH::runTest().
{ assert(kind() == DQM_KIND_TH2F); const_cast<MonitorElement *>(this)->update(); return static_cast<TH2F *> (checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 2)); }
TH2S * MonitorElement::getRefTH2S | ( | void | ) | const |
Definition at line 1609 of file MonitorElement.cc.
References checkRootObject(), data_, DQM_KIND_TH2S, kind(), DQMNet::CoreObject::objname, reference_, and update().
Referenced by Comp2RefEqualH::runTest().
{ assert(kind() == DQM_KIND_TH2S); const_cast<MonitorElement *>(this)->update(); return static_cast<TH2S *> (checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 2)); }
TH3F * MonitorElement::getRefTH3F | ( | void | ) | const |
Definition at line 1627 of file MonitorElement.cc.
References checkRootObject(), data_, DQM_KIND_TH3F, kind(), DQMNet::CoreObject::objname, reference_, and update().
Referenced by Comp2RefEqualH::runTest().
{ assert(kind() == DQM_KIND_TH3F); const_cast<MonitorElement *>(this)->update(); return static_cast<TH3F *> (checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 3)); }
TProfile * MonitorElement::getRefTProfile | ( | void | ) | const |
Definition at line 1636 of file MonitorElement.cc.
References checkRootObject(), data_, DQM_KIND_TPROFILE, kind(), DQMNet::CoreObject::objname, reference_, and update().
Referenced by Comp2RefKolmogorov::runTest(), and Comp2RefChi2::runTest().
{ assert(kind() == DQM_KIND_TPROFILE); const_cast<MonitorElement *>(this)->update(); return static_cast<TProfile *> (checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 1)); }
TProfile2D * MonitorElement::getRefTProfile2D | ( | void | ) | const |
Definition at line 1645 of file MonitorElement.cc.
References checkRootObject(), data_, DQM_KIND_TPROFILE2D, kind(), DQMNet::CoreObject::objname, reference_, and update().
{ assert(kind() == DQM_KIND_TPROFILE2D); const_cast<MonitorElement *>(this)->update(); return static_cast<TProfile2D *> (checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 2)); }
double MonitorElement::getRMS | ( | int | axis = 1 | ) | const |
get RMS of histogram along x, y or z axis (axis=1, 2, 3 respectively)
Definition at line 682 of file MonitorElement.cc.
References accessRootObject().
Referenced by RPCDBPopConAnalyzer::analyze(), SiPixelActionExecutor::checkQTestResults(), DTResolutionAnalysisTest::endRun(), DTRunConditionVarClient::endRun(), HLXMonitor::FillHistograms(), StorageAccount::fillSummary(), BeamMonitor::FitAndFill(), MuonTestSummary::GaussFit(), PFClient::getHistogramParameters(), SiStripActionExecutor::printShiftHistoParameters(), and CSCRecHit2DValidation::~CSCRecHit2DValidation().
{ return accessRootObject(__PRETTY_FUNCTION__, axis-1) ->GetRMS(axis); }
double MonitorElement::getRMSError | ( | int | axis = 1 | ) | const |
get RMS uncertainty of histogram along x, y or z axis(axis=1,2,3 respectively)
Definition at line 688 of file MonitorElement.cc.
References accessRootObject().
Referenced by BeamMonitor::FitAndFill().
{ return accessRootObject(__PRETTY_FUNCTION__, axis-1) ->GetRMSError(axis); }
TObject * MonitorElement::getRootObject | ( | void | ) | const |
Definition at line 1472 of file MonitorElement.cc.
References object_, and update().
Referenced by EETimingClient::analyze(), ecaldqm::cloneIt(), MEtoEDMConverter::endJob(), PFMETAnalyzer::endRun(), CaloMETAnalyzer::endRun(), MuCorrMETAnalyzer::endRun(), TcMETAnalyzer::endRun(), METAnalyzer::endRun(), ExtractTObject< T >::extract(), SiPixelInformationExtractor::fillModuleAndHistoList(), FUShmDQMOutputService::findMonitorElements(), ecaldqm::getBinContentME(), ecaldqm::getBinEntriesME(), ecaldqm::getBinErrorME(), DTLocalTriggerBaseTest::getHisto(), SiPixelInformationExtractor::getMEType(), SiPixelHistoPlotter::makePlot(), PFMETAnalyzer::makeRatePlot(), METAnalyzer::makeRatePlot(), MuCorrMETAnalyzer::makeRatePlot(), TcMETAnalyzer::makeRatePlot(), CaloMETAnalyzer::makeRatePlot(), JetMETDQMOfflineClient::runClient_(), CompareToMedian::runTest(), ContentsYRange::runTest(), ContentsXRange::runTest(), Comp2RefKolmogorov::runTest(), ContentsWithinExpected::runTest(), MeanWithinExpected::runTest(), DeadChannel::runTest(), NoisyChannel::runTest(), Comp2RefChi2::runTest(), Comp2RefEqualH::runTest(), ecaldqm::setBinContentME(), ecaldqm::setBinEntriesME(), and ecaldqm::setBinErrorME().
{ const_cast<MonitorElement *>(this)->update(); return object_; }
const std::string& MonitorElement::getStringValue | ( | void | ) | const [inline] |
Definition at line 345 of file MonitorElement.h.
References DQM_KIND_STRING, kind(), scalar_, and MonitorElement::Scalar::str.
Referenced by MEtoEDMConverter::putData().
{ assert(kind() == DQM_KIND_STRING); return scalar_.str; }
const uint32_t MonitorElement::getTag | ( | void | ) | const [inline] |
Definition at line 359 of file MonitorElement.h.
References data_, and DQMNet::CoreObject::tag.
DQMNet::TagList MonitorElement::getTags | ( | void | ) | const [inline] |
Definition at line 351 of file MonitorElement.h.
References data_, DQMNet::DQM_PROP_TAGGED, DQMNet::CoreObject::flags, DQMNet::CoreObject::tag, and o2o::tags.
Referenced by MEtoEDMConverter::putData().
{ DQMNet::TagList tags; if (data_.flags & DQMNet::DQM_PROP_TAGGED) tags.push_back(data_.tag); return tags; }
TH1 * MonitorElement::getTH1 | ( | void | ) | const |
Definition at line 1479 of file MonitorElement.cc.
References accessRootObject(), and update().
Referenced by SiPixelOfflineCalibAnalysisBase::addTF1ToDQMMonitoringElement(), MBUEandQCDValidation::analyze(), HLTScalers::analyze(), BeamMonitor::analyze(), TrackerOfflineValidationSummary::associateModuleHistsWithTree(), TrackAnalyzer::beginJob(), TkAlCaRecoMonitor::beginJob(), BeamConditionsMonitor::beginJob(), VertexMonitor::beginJob(), BeamMonitor::beginJob(), TrackingMonitor::beginJob(), EERawDataTask::beginLuminosityBlock(), EBRawDataTask::beginLuminosityBlock(), EERawDataTask::beginRun(), JetMETHLTOfflineSource::beginRun(), BTagHLTOfflineSource::beginRun(), EBRawDataTask::beginRun(), ecaldqm::MESetEcal::book(), QcdUeDQM::book1D(), QcdLowPtDQM::book1D(), QcdUeDQM::book2D(), QcdLowPtDQM::book2D(), ElectronDqmAnalyzerBase::bookH1andDivide(), ElectronDqmAnalyzerBase::bookH2andDivide(), SiStripMonitorTrack::bookMETrend(), SiStripMonitorTrack::bookSubDetMEs(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency(), DQMStore::checkBinningMatches(), HEff1DHit::ComputeEfficiency(), HEff2DHit::ComputeEfficiency(), HEff4DHit::ComputeEfficiency(), TrigResRateMon::countHLTGroupHitsEndLumiBlock(), FourVectorHLTOnline::countHLTGroupHitsEndLumiBlock(), FourVectorHLTOffline::countHLTGroupHitsEndLumiBlock(), FourVectorHLTOnline::countHLTGroupL1HitsEndLumiBlock(), FourVectorHLTOffline::countHLTGroupL1HitsEndLumiBlock(), TrigResRateMon::countHLTGroupL1HitsEndLumiBlock(), TrigResRateMon::countHLTPathHitsEndLumiBlock(), FourVectorHLTOnline::countHLTPathHitsEndLumiBlock(), QcdUeDQM::createHistos(), QcdLowPtDQM::createHistos(), SiStripMonitorDigi::createMEs(), SiStripMonitorCluster::createModuleMEs(), SiStripMonitorDigi::createModuleMEs(), SiStripHistoPlotter::createStaticPlot(), SiStripMonitorCluster::createSubDetMEs(), SiStripMonitorDigi::createSubDetMEs(), dqmCopyRecursively(), HLTMonBTagClient::efficiency(), EERawDataTask::endLuminosityBlock(), DT2DSegmentClients::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), EBRawDataTask::endLuminosityBlock(), DTRecHitClients::endLuminosityBlock(), DT4DSegmentClients::endLuminosityBlock(), RPCRecHitValidClient::endRun(), RPCEfficiencyPerRingLayer::endRun(), TauDQMHistEffProducer::endRun(), SiStripQualityDQM::fillGrandSummaryMEs(), DQMMessageLoggerClient::fillHistograms(), SiStripSummaryCreator::fillHistos(), SiStripQualityDQM::fillMEsForLayer(), SiStripBaseCondObjDQM::fillSummaryMEs(), SiStripApvGainsDQM::fillSummaryMEs(), SiStripLorentzAngleDQM::fillSummaryMEs(), SiStripQualityDQM::fillSummaryMEs(), SiStripPedestalsDQM::fillSummaryMEs(), BeamMonitor::FitAndFill(), SiStripCablingDQM::getActiveDetIds(), CSCMonitorObject::GetBinError(), CSCMonitorObject::GetEntries(), CSCMonitorObject::GetMaximumBin(), CSCMonitorObject::getTH1(), MuIsoValidation::GetTH1FromMonitorElement(), MuonIsolationDQM::GetTH1FromMonitorElement(), CSCMonitorObject::getTH1Lock(), SiStripHistoPlotter::makeCondDBPlots(), PlotCombiner::makePlot(), SiStripHistoPlotter::makePlot(), EcalSelectiveReadoutValidation::normalizeHists(), ecaldqm::SummaryClient::producePlots(), SusyPostProcessor::QuantilePlots(), CSCMonitorObject::SetAxisRange(), CSCMonitorObject::SetBinError(), CSCMonitorObject::SetMaximum(), CSCMonitorObject::SetNormFactor(), DTLocalTriggerBaseTask::setQLabels(), DTLocalTriggerTask::setQLabels(), ecaldqm::MESetTrend::shift_(), BTagHLTOfflineSource::TriggerPosition(), JetMETHLTOfflineSource::TriggerPosition(), SiStripFEDCheckPlugin::updateHistograms(), L1TTestsSummary::updateL1TOccupancyMonitor(), L1TTestsSummary::updateL1TRateMonitor(), and L1TTestsSummary::updateL1TSyncMonitor().
{ const_cast<MonitorElement *>(this)->update(); return accessRootObject(__PRETTY_FUNCTION__, 0); }
TH1D * MonitorElement::getTH1D | ( | void | ) | const |
Definition at line 1502 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_TH1D, kind(), and update().
Referenced by DQMStore::collate1DD(), MEtoEDMConverter::putData(), ContentsYRange::runTest(), ContentsXRange::runTest(), Comp2RefKolmogorov::runTest(), MeanWithinExpected::runTest(), DeadChannel::runTest(), NoisyChannel::runTest(), Comp2RefChi2::runTest(), and Comp2RefEqualH::runTest().
{ assert(kind() == DQM_KIND_TH1D); const_cast<MonitorElement *>(this)->update(); return static_cast<TH1D *>(accessRootObject(__PRETTY_FUNCTION__, 1)); }
TH1F * MonitorElement::getTH1F | ( | void | ) | const |
Definition at line 1486 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_TH1F, kind(), and update().
Referenced by SiStripGainFromData::algoBeginJob(), HLTJetMETDQMSource::analyze(), APVValidationPlots::beginJob(), RPCMonitorLinkSynchro::beginJob(), HLTMonPhotonClient::beginJob(), StripValidationPlots::beginJob(), HLTMonElectronConsumer::beginJob(), TrackEfficiencyClient::beginJob(), L1TGMTClient::beginRun(), HLTMonBitSummary::beginRun(), DQMProvInfo::beginRun(), HLTInclusiveVBFSource::beginRun(), TriggerValidator::beginRun(), HLTTauDQMSummaryPlotter::bookEfficiencyHisto(), ElectronDqmAnalyzerBase::bookH1(), ElectronDqmAnalyzerBase::bookH1andDivide(), ElectronDqmAnalyzerBase::bookH1withSumw2(), RPCValidHistograms::bookHistograms(), L1TDTTFClient::buildSummaries(), ElectronDqmAnalyzerBase::cloneH1(), DQMStore::collate1D(), EffPurFromHistos::compute(), HTrackVariables::computeEfficiency(), TrigResRateMon::countHLTGroupHitsEndLumiBlock(), FourVectorHLTOnline::countHLTGroupHitsEndLumiBlock(), FourVectorHLTOffline::countHLTGroupHitsEndLumiBlock(), FourVectorHLTOnline::countHLTGroupL1HitsEndLumiBlock(), FourVectorHLTOffline::countHLTGroupL1HitsEndLumiBlock(), TrigResRateMon::countHLTGroupL1HitsEndLumiBlock(), PFClient::createEfficiencyPlots(), L1TdeRCT::DivideME1D(), MuonTestSummary::doEnergyTests(), HDQMfitUtilities::doGaussFit(), fitUtilities::doGaussFit(), MuonTestSummary::doKinematicsTests(), HDQMfitUtilities::doLanGaussFit(), fitUtilities::doLanGaussFit(), MuonTestSummary::doMuonIDTests(), DQMHcalIsoTrackPostProcessor::endJob(), RPCMonitorRaw::endJob(), ESPedestalClient::endJob(), HarvestingAnalyzer::endJob(), DTtTrigCalibrationTest::endLuminosityBlock(), DQMProvInfo::endLuminosityBlock(), DQMDcsInfoClient::endLuminosityBlock(), DTEfficiencyTest::endLuminosityBlock(), TrigResRateMon::endLuminosityBlock(), RPCMonitorLinkSynchro::endLuminosityBlock(), RPCDcsInfoClient::endLuminosityBlock(), TrackEfficiencyClient::endLuminosityBlock(), DTDataIntegrityTest::endLuminosityBlock(), DTResolutionAnalysisTest::endRun(), MuonRecoTest::endRun(), TauDQMHistPlotter::endRun(), RPCRecHitProbabilityClient::endRun(), FourVectorHLTClient::endRun(), TopHLTDiMuonDQMClient::endRun(), RPCBxTest::endRun(), PFMETAnalyzer::endRun(), CaloMETAnalyzer::endRun(), EfficiencyPlotter::endRun(), MuCorrMETAnalyzer::endRun(), TauDQMHistEffProducer::endRun(), EcalZmassClient::endRun(), TcMETAnalyzer::endRun(), METAnalyzer::endRun(), HltSusyExoPostProcessor::endRun(), RPCEfficiencySecond::endRun(), LaserDQM::fillAdcCounts(), SiStripQualityChecker::fillDetectorStatusAtLumi(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), BTagDifferentialPlot::fillHisto(), HLXMonitor::FillHistograms(), DQMFEDIntegrityClient::fillHistograms(), SiStripSummaryCreator::fillHistos(), OccupancyPlotter::fillHltMatrix(), GeneralHLTOffline::fillHltMatrix(), FourVectorHLTOffline::fillHltMatrix(), FourVectorHLTOnline::fillHltMatrix(), TrigResRateMon::fillHltMatrix(), EgHLTOfflineClient::FillHLTvsOfflineHist(), TrigResRateMon::DatasetInfo::fillRawCountsForPath(), StorageAccount::fillSummary(), FastTimerServiceClient::fillSummaryPlots(), TrigResRateMon::filltestHisto(), TrigResRateMon::fillXsecPerDataset(), FlavourHistograms< T >::FlavourHistograms(), MuonTestSummary::GaussFit(), L1TGMTClient::get1DHisto(), HLTEventInfoClient::get1DHisto(), FourVectorHLTClient::get1DHisto(), getAnyHisto(), SiPixelActionExecutor::getData(), BTagDifferentialPlot::getDifferentialHistoB_b(), BTagDifferentialPlot::getDifferentialHistoB_c(), BTagDifferentialPlot::getDifferentialHistoB_d(), BTagDifferentialPlot::getDifferentialHistoB_dus(), BTagDifferentialPlot::getDifferentialHistoB_dusg(), BTagDifferentialPlot::getDifferentialHistoB_g(), BTagDifferentialPlot::getDifferentialHistoB_ni(), BTagDifferentialPlot::getDifferentialHistoB_s(), BTagDifferentialPlot::getDifferentialHistoB_u(), EffPurFromHistos::getEffFlavVsBEff_b(), EffPurFromHistos::getEffFlavVsBEff_c(), EffPurFromHistos::getEffFlavVsBEff_d(), EffPurFromHistos::getEffFlavVsBEff_dus(), EffPurFromHistos::getEffFlavVsBEff_dusg(), EffPurFromHistos::getEffFlavVsBEff_g(), EffPurFromHistos::getEffFlavVsBEff_ni(), EffPurFromHistos::getEffFlavVsBEff_s(), EffPurFromHistos::getEffFlavVsBEff_u(), getHisto(), EmDQMPostProcessor::getHistogram(), PFClient::getHistogramParameters(), SiStripHistoPlotter::getProjection(), getTH1F(), L1TDTTFClient::getTH1F(), FlavourHistograms< int >::histo_all(), FlavourHistograms< int >::histo_b(), FlavourHistograms< int >::histo_c(), FlavourHistograms< int >::histo_d(), FlavourHistograms< int >::histo_dus(), FlavourHistograms< int >::histo_dusg(), FlavourHistograms< int >::histo_g(), FlavourHistograms< int >::histo_ni(), FlavourHistograms< int >::histo_s(), FlavourHistograms< int >::histo_u(), RPCMonitorLinkSynchro::histos(), HLTTauDQMCaloPlotter::HLTTauDQMCaloPlotter(), HLTTauDQML1Plotter::HLTTauDQML1Plotter(), HLTTauDQMLitePathPlotter::HLTTauDQMLitePathPlotter(), HLTTauDQMTrkPlotter::HLTTauDQMTrkPlotter(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), L1TGMTClient::makeEfficiency1D(), DTLocalTriggerEfficiencyTest::makeEfficiencyME(), EgHLTOfflineClient::makeEffMonElem2Leg(), EgHLTOfflineClient::makeEffMonElemFromPassAndAll(), TopElectronHLTOfflineClient::makeEffMonElemFromPassAndAll(), EgHLTOfflineClient::makeEffMonElemFromPassAndFail(), EgHLTOfflineClient::makeEffMonElemFromPassAndFailAndTagTag(), PFMETAnalyzer::makeRatePlot(), METAnalyzer::makeRatePlot(), MuCorrMETAnalyzer::makeRatePlot(), CaloMETAnalyzer::makeRatePlot(), TcMETAnalyzer::makeRatePlot(), L1TGMTClient::makeRatio1D(), DTLocalTriggerSynchTest::makeRatioME(), L1TDTTFClient::makeSummary(), TrigResRateMon::normalizeHLTMatrix(), FourVectorHLTClient::normalizeHLTMatrix(), DQMClientExample::performClient(), DTSegmentAnalysisTest::performClientDiagnostic(), BTagDifferentialPlot::plot(), FlavourHistograms< T >::plot(), EffPurFromHistos::plot(), HLTTauDQMSummaryPlotter::plotEfficiencyHisto(), HLTTauDQMSummaryPlotter::plotIntegratedEffHisto(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), FastTimerService::postBeginJob(), L1TCSCTFClient::processHistograms(), MEtoEDMConverter::putData(), SiStripNoisesDQMService::readNoises(), SiStripPedestalsDQMService::readPedestals(), MuonTestSummary::ResidualCheck(), JetMETHLTOfflineClient::runClient_(), JetMETDQMOfflineClient::runClient_(), BTagHLTOfflineClient::runClient_(), ContentsYRange::runTest(), ContentsXRange::runTest(), Comp2RefKolmogorov::runTest(), MeanWithinExpected::runTest(), DeadChannel::runTest(), NoisyChannel::runTest(), Comp2RefEqualH::runTest(), Comp2RefChi2::runTest(), DTTimeEvolutionHisto::setTimeSlotValue(), HcalRecHitMonitor::setup(), HcalBeamMonitor::setup(), GeneralHLTOffline::setupHltMatrix(), FourVectorHLTOnline::setupHltMatrix(), TrigResRateMon::setupStreamMatrix(), TrackIPHistograms< T >::TrackIPHistograms(), and HLTMonBTagClient::update().
{ assert(kind() == DQM_KIND_TH1F); const_cast<MonitorElement *>(this)->update(); return static_cast<TH1F *>(accessRootObject(__PRETTY_FUNCTION__, 1)); }
TH1S * MonitorElement::getTH1S | ( | void | ) | const |
Definition at line 1494 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_TH1S, kind(), and update().
Referenced by DQMStore::collate1S(), MEtoEDMConverter::putData(), ContentsYRange::runTest(), ContentsXRange::runTest(), Comp2RefKolmogorov::runTest(), MeanWithinExpected::runTest(), DeadChannel::runTest(), NoisyChannel::runTest(), Comp2RefChi2::runTest(), and Comp2RefEqualH::runTest().
{ assert(kind() == DQM_KIND_TH1S); const_cast<MonitorElement *>(this)->update(); return static_cast<TH1S *>(accessRootObject(__PRETTY_FUNCTION__, 1)); }
TH2D * MonitorElement::getTH2D | ( | void | ) | const |
Definition at line 1526 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_TH2D, kind(), and update().
Referenced by DQMStore::collate2DD(), MEtoEDMConverter::putData(), ContentsWithinExpected::runTest(), DeadChannel::runTest(), NoisyChannel::runTest(), and Comp2RefEqualH::runTest().
{ assert(kind() == DQM_KIND_TH2D); const_cast<MonitorElement *>(this)->update(); return static_cast<TH2D *>(accessRootObject(__PRETTY_FUNCTION__, 2)); }
TH2F * MonitorElement::getTH2F | ( | void | ) | const |
Definition at line 1510 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_TH2F, kind(), and update().
Referenced by SiStripGainFromData::algoBeginJob(), EESelectiveReadoutTask::analyze(), HcalDigiClient::analyze(), FourVectorHLTOnline::analyze(), HcalSummaryClient::analyze(), EBSelectiveReadoutTask::analyze(), CastorMonitorModule::analyze(), APVValidationPlots::beginJob(), RPCMonitorLinkSynchro::beginJob(), L1TCSCTF::beginJob(), DQMHcalIsoTrackAlCaReco::beginJob(), L1TdeRCT::beginJob(), ValidationHcalIsoTrackAlCaReco::beginJob(), StripValidationPlots::beginJob(), DQMHcalIsoTrackHLT::beginJob(), CastorMonitorModule::beginJob(), L1TDTTF::beginJob(), BeamMonitor::beginJob(), RPCMonitorRaw::beginJob(), HcalBeamMonitor::beginLuminosityBlock(), ZDCMonitorClient::beginRun(), L1TGMTClient::beginRun(), DQMProvInfo::beginRun(), HLTMonBitSummary::beginRun(), CaloTowerAnalyzer::beginRun(), HcalSummaryClient::beginRun(), HLTInclusiveVBFSource::beginRun(), ElectronDqmAnalyzerBase::bookH2(), ElectronDqmAnalyzerBase::bookH2andDivide(), ElectronDqmAnalyzerBase::bookH2withSumw2(), RPCValidHistograms::bookHistograms(), HcalDeadCellClient::calculateProblems(), HcalDetDiagPedestalClient::calculateProblems(), HcalCoarsePedestalClient::calculateProblems(), HcalRecHitClient::calculateProblems(), HcalDigiClient::calculateProblems(), HcalTrigPrimClient::calculateProblems(), HcalDetDiagNoiseMonitorClient::calculateProblems(), HcalNZSClient::calculateProblems(), HcalDetDiagTimingClient::calculateProblems(), HcalBeamClient::calculateProblems(), HcalHotCellClient::calculateProblems(), HcalRawDataClient::calculateProblems(), DQMStore::collate2D(), GlobalMuonMatchAnalyzer::computeEfficiencyEta(), GlobalMuonMatchAnalyzer::computeEfficiencyPt(), FourVectorHLTOnline::countHLTGroupBXHitsEndLumiBlock(), FourVectorHLTOffline::countHLTGroupBXHitsEndLumiBlock(), TrigResRateMon::countHLTGroupBXHitsEndLumiBlock(), TrigResRateMon::countHLTGroupHitsEndLumiBlock(), TrigResRateMon::countHLTPathHitsEndLumiBlock(), FourVectorHLTOffline::countHLTPathHitsEndLumiBlock(), FourVectorHLTOnline::countHLTPathHitsEndLumiBlock(), PFClient::createResolutionPlots(), L1TdeRCT::DivideME2D(), MTVHistoProducerAlgo::doProfileX(), MuonTrackValidatorBase::doProfileX(), L1TEMUEventInfoClient::dumpContentMonitorElements(), RPCMonitorRaw::endJob(), DTChamberEfficiencyTest::endLuminosityBlock(), RPCMonitorLinkSynchro::endLuminosityBlock(), DTOccupancyTest::endLuminosityBlock(), HcalBeamMonitor::endLuminosityBlock(), DTDeadChannelTest::endLuminosityBlock(), DTResolutionTest::endLuminosityBlock(), DTNoiseTest::endLuminosityBlock(), DTNoiseAnalysisTest::endLuminosityBlock(), DTDataIntegrityTest::endLuminosityBlock(), MuonRecoTest::endRun(), DataCertificationJetMET::endRun(), FourVectorHLTClient::endRun(), DTChamberEfficiencyClient::endRun(), PhotonDataCertification::endRun(), HLTMuonCertSummary::endRun(), HLTOverallSummary::endRun(), SiStripSummaryCreator::fillHistos(), OccupancyPlotter::fillHltMatrix(), GeneralHLTOffline::fillHltMatrix(), FourVectorHLTOffline::fillHltMatrix(), FourVectorHLTOnline::fillHltMatrix(), SiPixelActionExecutor::fillOccupancy(), SiStripQualityChecker::fillStatusHistogram(), SiPixelInformationExtractor::findNoisyPixels(), FitSlicesYTool::FitSlicesYTool(), FlavourHistograms2D< T, G >::FlavourHistograms2D(), HLTEventInfoClient::get2DHisto(), L1TGMTClient::get2DHisto(), FourVectorHLTClient::get2DHisto(), getAnyHisto(), getHisto2(), SiStripHistoPlotter::getProjection(), L1TDTTFClient::getTH2F(), getTH2F(), MuIsoValidation::GetTH2FromMonitorElement(), HcalTrigPrimClient::hasErrors_Temp(), HcalDetDiagNoiseMonitorClient::hasErrors_Temp(), HcalDeadCellClient::hasErrors_Temp(), HcalRawDataClient::hasErrors_Temp(), HcalRecHitClient::hasErrors_Temp(), HcalDetDiagPedestalClient::hasErrors_Temp(), HcalDigiClient::hasErrors_Temp(), HcalNZSClient::hasErrors_Temp(), HcalBeamClient::hasErrors_Temp(), HcalHotCellClient::hasErrors_Temp(), HcalDetDiagTimingClient::hasErrors_Temp(), HcalCoarsePedestalClient::hasErrors_Temp(), HcalTimingMonitorModule::HcalTimingMonitorModule(), FlavourHistograms2D< double, double >::histo_all(), FlavourHistograms2D< double, double >::histo_b(), FlavourHistograms2D< double, double >::histo_c(), FlavourHistograms2D< double, double >::histo_d(), FlavourHistograms2D< double, double >::histo_dus(), FlavourHistograms2D< double, double >::histo_dusg(), FlavourHistograms2D< double, double >::histo_g(), FlavourHistograms2D< double, double >::histo_ni(), FlavourHistograms2D< double, double >::histo_s(), FlavourHistograms2D< double, double >::histo_u(), RPCMonitorLinkSynchro::histos(), HcalBaseDQClient::htmlOutput(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), DQMGenericClient::limitedFit(), L1TGMTClient::makeEfficiency2D(), DTTriggerEfficiencyTest::makeEfficiencyME(), DTLocalTriggerEfficiencyTest::makeEfficiencyME2D(), L1TDTTPGClient::makeRatioHisto(), L1TDTTFClient::makeSummary(), CSCOfflineMonitor::normalize(), TrigResRateMon::normalizeHLTMatrix(), FourVectorHLTClient::normalizeHLTMatrix(), DTSegmentAnalysisTest::performClientDiagnostic(), CastorDataIntegrityMonitor::processEvent(), CastorPSMonitor::processEvent(), CastorChannelQualityMonitor::processEvent(), HcalBeamMonitor::processEvent(), L1TGCTClient::processHistograms(), ElectronDqmAnalyzerBase::profileX(), ElectronDqmAnalyzerBase::profileY(), MEtoEDMConverter::putData(), ContentsWithinExpected::runTest(), DeadChannel::runTest(), NoisyChannel::runTest(), Comp2RefEqualH::runTest(), HcalBeamMonitor::SetEtaLabels(), CastorChannelQualityMonitor::setup(), HcalBaseDQMonitor::setup(), CastorPSMonitor::setup(), HLXMonitor::SetupEventInfo(), FourVectorHLTOffline::setupHltBxPlots(), FourVectorHLTOnline::setupHltBxPlots(), TrigResRateMon::setupHltBxPlots(), FourVectorHLTOffline::setupHltLsPlots(), FourVectorHLTOnline::setupHltLsPlots(), TrigResRateMon::setupHltLsPlots(), FourVectorHLTOnline::setupHltMatrix(), and TrigResRateMon::setupStreamMatrix().
{ assert(kind() == DQM_KIND_TH2F); const_cast<MonitorElement *>(this)->update(); return static_cast<TH2F *>(accessRootObject(__PRETTY_FUNCTION__, 2)); }
TH2S * MonitorElement::getTH2S | ( | void | ) | const |
Definition at line 1518 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_TH2S, kind(), and update().
Referenced by DQMStore::collate2S(), MEtoEDMConverter::putData(), ContentsWithinExpected::runTest(), DeadChannel::runTest(), NoisyChannel::runTest(), and Comp2RefEqualH::runTest().
{ assert(kind() == DQM_KIND_TH2S); const_cast<MonitorElement *>(this)->update(); return static_cast<TH2S *>(accessRootObject(__PRETTY_FUNCTION__, 2)); }
TH3F * MonitorElement::getTH3F | ( | void | ) | const |
Definition at line 1534 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_TH3F, kind(), and update().
Referenced by DQMStore::collate3D(), getAnyHisto(), getHistoTH3F(), getTH3F(), CastorEventDisplay::processEvent(), MEtoEDMConverter::putData(), Comp2RefEqualH::runTest(), and CastorEventDisplay::setup().
{ assert(kind() == DQM_KIND_TH3F); const_cast<MonitorElement *>(this)->update(); return static_cast<TH3F *>(accessRootObject(__PRETTY_FUNCTION__, 3)); }
std::string MonitorElement::getTitle | ( | void | ) | const |
get MonitorElement title
Definition at line 805 of file MonitorElement.cc.
References accessRootObject().
Referenced by TkHistoMap::getDetId(), SiStripHistoPlotter::getProjection(), and SiPixelSCurveCalibrationAnalysis::makeThresholdSummary().
{ return accessRootObject(__PRETTY_FUNCTION__, 1) ->GetTitle(); }
TProfile * MonitorElement::getTProfile | ( | void | ) | const |
Definition at line 1542 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_TPROFILE, kind(), and update().
Referenced by EBTrendTask::analyze(), EETrendTask::analyze(), StripValidationPlots::beginJob(), ElectronDqmAnalyzerBase::bookP1(), TrigResRateMon::bookTestHisto(), DQMStore::collateProfile(), EmDQMPostProcessor::dividehistos(), MTVHistoProducerAlgo::doProfileX(), MuonTrackValidatorBase::doProfileX(), AlcaBeamMonitorClient::endLuminosityBlock(), AlcaBeamMonitor::endLuminosityBlock(), HltSusyExoPostProcessor::endRun(), EmDQMPostProcessor::endRun(), SiStripApvGainsDQM::fillSummaryMEs(), SiStripBaseCondObjDQM::fillSummaryMEs(), SiStripLorentzAngleDQM::fillSummaryMEs(), SiStripPedestalsDQM::fillSummaryMEs(), FastTimerServiceClient::fillSummaryPlots(), TrigResRateMon::filltestHisto(), ElectronMcSignalPostValidator::finalize(), ElectronMcFakePostValidator::finalize(), BeamMonitor::FitAndFill(), FlavourHistograms2D< T, G >::FlavourHistograms2D(), FourVectorHLTClient::get1DProfile(), HLTEventInfoClient::get1DProfile(), getAnyHisto(), getHistoTProfile(), SiStripHistoPlotter::getProjection(), getTProfile(), MuIsoValidation::GetTProfileFromMonitorElement(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), HLTTauDQMSummaryPlotter::plotEfficiencyHisto(), HLTTauDQMSummaryPlotter::plotIntegratedEffHisto(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), FastTimerService::postBeginJob(), FlavourHistograms2D< double, double >::profile_all(), FlavourHistograms2D< double, double >::profile_b(), FlavourHistograms2D< double, double >::profile_c(), FlavourHistograms2D< double, double >::profile_d(), FlavourHistograms2D< double, double >::profile_dus(), FlavourHistograms2D< double, double >::profile_dusg(), FlavourHistograms2D< double, double >::profile_g(), FlavourHistograms2D< double, double >::profile_ni(), FlavourHistograms2D< double, double >::profile_s(), FlavourHistograms2D< double, double >::profile_u(), MEtoEDMConverter::putData(), Comp2RefKolmogorov::runTest(), ContentsWithinExpected::runTest(), Comp2RefChi2::runTest(), HcalNZSMonitor::setup(), HcalBeamMonitor::setup(), HcalRawDataMonitor::setup(), HcalDeadCellMonitor::setup(), HcalHotCellMonitor::setup(), HcalTrigPrimMonitor::setup(), and GeneralHLTOffline::setupHltMatrix().
{ assert(kind() == DQM_KIND_TPROFILE); const_cast<MonitorElement *>(this)->update(); return static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 1)); }
TProfile2D * MonitorElement::getTProfile2D | ( | void | ) | const |
Definition at line 1550 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_TPROFILE2D, kind(), and update().
Referenced by DQMStore::collateProfile2D(), FourVectorHLTClient::get2DProfile(), HLTEventInfoClient::get2DProfile(), getAnyHisto(), getHistoTProfile2D(), getTProfile2D(), SiStripTrackerMapCreator::paintTkMapFromHistogram(), MEtoEDMConverter::putData(), CompareToMedian::runTest(), and ContentsWithinExpected::runTest().
{ assert(kind() == DQM_KIND_TPROFILE2D); const_cast<MonitorElement *>(this)->update(); return static_cast<TProfile2D *>(accessRootObject(__PRETTY_FUNCTION__, 2)); }
double MonitorElement::getYmax | ( | void | ) | const [private] |
get max Y value (for profiles)
Definition at line 785 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_TPROFILE, incompatible(), and kind().
{ if (kind() == DQM_KIND_TPROFILE) return static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 1)) ->GetYmax(); else { incompatible(__PRETTY_FUNCTION__); return 0; } }
double MonitorElement::getYmin | ( | void | ) | const [private] |
get min Y value (for profiles)
Definition at line 771 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_TPROFILE, incompatible(), and kind().
{ if (kind() == DQM_KIND_TPROFILE) return static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 1)) ->GetYmin(); else { incompatible(__PRETTY_FUNCTION__); return 0; } }
bool MonitorElement::hasError | ( | void | ) | const [inline] |
true if at least of one of the quality tests returned an error
Definition at line 182 of file MonitorElement.h.
References data_, DQMNet::DQM_PROP_REPORT_ERROR, and DQMNet::CoreObject::flags.
Referenced by SiPixelDataQuality::computeGlobalQualityFlag(), SiStripUtility::getMEStatus(), SiPixelUtility::getStatus(), QTestStatusChecker::processAlarms(), and SiPixelHistoPlotter::setLines().
{ return data_.flags & DQMNet::DQM_PROP_REPORT_ERROR; }
bool MonitorElement::hasOtherReport | ( | void | ) | const [inline] |
true if at least of one of the tests returned some other (non-ok) status
Definition at line 190 of file MonitorElement.h.
References data_, DQMNet::DQM_PROP_REPORT_OTHER, and DQMNet::CoreObject::flags.
Referenced by SiStripUtility::getMEStatus(), SiPixelUtility::getStatus(), QTestStatusChecker::processAlarms(), and SiPixelHistoPlotter::setLines().
{ return data_.flags & DQMNet::DQM_PROP_REPORT_OTHER; }
bool MonitorElement::hasWarning | ( | void | ) | const [inline] |
true if at least of one of the quality tests returned a warning
Definition at line 186 of file MonitorElement.h.
References data_, DQMNet::DQM_PROP_REPORT_WARN, and DQMNet::CoreObject::flags.
Referenced by SiPixelActionExecutor::checkQTestResults(), SiStripUtility::getMEStatus(), SiPixelUtility::getStatus(), QTestStatusChecker::processAlarms(), and SiPixelHistoPlotter::setLines().
{ return data_.flags & DQMNet::DQM_PROP_REPORT_WARN; }
void MonitorElement::incompatible | ( | const char * | func | ) | const [private] |
Definition at line 648 of file MonitorElement.cc.
References data_, DQMNet::CoreObject::objname, and raiseDQMError().
Referenced by copyFrom(), disableSoftReset(), doFill(), Fill(), getBinEntries(), getYmax(), getYmin(), packScalarData(), setBinEntries(), ShiftFillLast(), softReset(), and valueString().
{ raiseDQMError("MonitorElement", "Method '%s' cannot be invoked on monitor" " element '%s'", func, data_.objname.c_str()); }
MonitorElement * MonitorElement::initialise | ( | Kind | kind, |
const std::string & | value | ||
) | [private] |
Definition at line 134 of file MonitorElement.cc.
References DQM_KIND_STRING, initialise(), raiseDQMError(), scalar_, MonitorElement::Scalar::str, and relativeConstraints::value.
{ initialise(kind); if (kind == DQM_KIND_STRING) scalar_.str = value; else raiseDQMError("MonitorElement", "cannot initialise monitor element" " as a string with type %d", (int) kind); return this; }
MonitorElement * MonitorElement::initialise | ( | Kind | kind, |
TH1 * | rootobj | ||
) | [private] |
Definition at line 63 of file MonitorElement.cc.
References data_, DQM_KIND_TH1D, DQM_KIND_TH1F, DQM_KIND_TH1S, DQM_KIND_TH2D, DQM_KIND_TH2F, DQM_KIND_TH2S, DQM_KIND_TH3F, DQM_KIND_TPROFILE, DQM_KIND_TPROFILE2D, DQMNet::DQM_PROP_HAS_REFERENCE, DQMNet::CoreObject::flags, initialise(), object_, raiseDQMError(), and reference_.
{ initialise(kind); switch (kind) { case DQM_KIND_TH1F: assert(dynamic_cast<TH1F *>(rootobj)); assert(! reference_ || dynamic_cast<TH1F *>(reference_)); object_ = rootobj; break; case DQM_KIND_TH1S: assert(dynamic_cast<TH1S *>(rootobj)); assert(! reference_ || dynamic_cast<TH1S *>(reference_)); object_ = rootobj; break; case DQM_KIND_TH1D: assert(dynamic_cast<TH1D *>(rootobj)); assert(! reference_ || dynamic_cast<TH1D *>(reference_)); object_ = rootobj; break; case DQM_KIND_TH2F: assert(dynamic_cast<TH2F *>(rootobj)); assert(! reference_ || dynamic_cast<TH2F *>(reference_)); object_ = rootobj; break; case DQM_KIND_TH2S: assert(dynamic_cast<TH2S *>(rootobj)); assert(! reference_ || dynamic_cast<TH2S *>(reference_)); object_ = rootobj; break; case DQM_KIND_TH2D: assert(dynamic_cast<TH2D *>(rootobj)); assert(! reference_ || dynamic_cast<TH1D *>(reference_)); object_ = rootobj; break; case DQM_KIND_TH3F: assert(dynamic_cast<TH3F *>(rootobj)); assert(! reference_ || dynamic_cast<TH3F *>(reference_)); object_ = rootobj; break; case DQM_KIND_TPROFILE: assert(dynamic_cast<TProfile *>(rootobj)); assert(! reference_ || dynamic_cast<TProfile *>(reference_)); object_ = rootobj; break; case DQM_KIND_TPROFILE2D: assert(dynamic_cast<TProfile2D *>(rootobj)); assert(! reference_ || dynamic_cast<TProfile2D *>(reference_)); object_ = rootobj; break; default: raiseDQMError("MonitorElement", "cannot initialise monitor element" " as a root object with type %d", (int) kind); } if (reference_) data_.flags |= DQMNet::DQM_PROP_HAS_REFERENCE; return this; }
MonitorElement * MonitorElement::initialise | ( | Kind | kind | ) | [private] |
Definition at line 34 of file MonitorElement.cc.
References data_, DQM_KIND_INT, DQM_KIND_REAL, DQM_KIND_STRING, DQM_KIND_TH1D, DQM_KIND_TH1F, DQM_KIND_TH1S, DQM_KIND_TH2D, DQM_KIND_TH2F, DQM_KIND_TH2S, DQM_KIND_TH3F, DQM_KIND_TPROFILE, DQM_KIND_TPROFILE2D, DQMNet::CoreObject::flags, kind(), and raiseDQMError().
Referenced by DQMStore::bookFloat(), DQMStore::bookInt(), DQMStore::bookString(), and initialise().
{ switch (kind) { case DQM_KIND_INT: case DQM_KIND_REAL: case DQM_KIND_STRING: case DQM_KIND_TH1F: case DQM_KIND_TH1S: case DQM_KIND_TH1D: case DQM_KIND_TH2F: case DQM_KIND_TH2S: case DQM_KIND_TH2D: case DQM_KIND_TH3F: case DQM_KIND_TPROFILE: case DQM_KIND_TPROFILE2D: data_.flags &= ~DQMNet::DQM_PROP_TYPE_MASK; data_.flags |= kind; break; default: raiseDQMError("MonitorElement", "cannot initialise monitor element" " to invalid type %d", (int) kind); } return this; }
bool MonitorElement::isAccumulateEnabled | ( | void | ) | const [inline, private] |
whether ME contents should be accumulated over multiple monitoring periods; default: false
Definition at line 274 of file MonitorElement.h.
References data_, DQMNet::DQM_PROP_ACCUMULATE, and DQMNet::CoreObject::flags.
Referenced by copyFrom(), and copyFunctions().
{ return data_.flags & DQMNet::DQM_PROP_ACCUMULATE; }
bool MonitorElement::isEfficiency | ( | void | ) | const [inline] |
true if the plot has been marked as an efficiency plot, which will not be normalized when rendered within the DQM GUI.
Definition at line 195 of file MonitorElement.h.
References data_, DQMNet::DQM_PROP_EFFICIENCY_PLOT, and DQMNet::CoreObject::flags.
{ return data_.flags & DQMNet::DQM_PROP_EFFICIENCY_PLOT; }
bool MonitorElement::isSoftResetEnabled | ( | void | ) | const [inline, private] |
whether soft-reset is enabled; default is false
Definition at line 270 of file MonitorElement.h.
References refvalue_.
Referenced by copyFrom(), and copyFunctions().
{ return refvalue_ != 0; }
Kind MonitorElement::kind | ( | void | ) | const [inline] |
Get the type of the monitor element.
Definition at line 91 of file MonitorElement.h.
References data_, DQMNet::DQM_PROP_TYPE_MASK, and DQMNet::CoreObject::flags.
Referenced by accessRootObject(), MEtoEDMConverter::beginRun(), copyFrom(), PFClient::createEfficiencyPlots(), SiStripMonitorDigi::createMEs(), PFClient::createResolutionPlots(), SiStripMonitorCluster::createSubDetMEs(), SiStripMonitorDigi::createSubDetMEs(), disableSoftReset(), HLTMonSimpleBTag::doEffCalc(), doFill(), MEtoEDMConverter::endJob(), TrigResRateMon::endLuminosityBlock(), Fill(), SiStripQualityChecker::fillDetectorStatusAtLumi(), SiStripSummaryCreator::fillHistos(), ecaldqm::fillME(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), SiStripQualityChecker::fillStatusHistogram(), SiStripCertificationInfo::fillTrackingCertificationMEs(), DQMService::flushStandalone(), ecaldqm::getBinContentME(), getBinEntries(), ecaldqm::getBinEntriesME(), ecaldqm::getBinErrorME(), ecaldqm::getBinME(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), getFloatValue(), PFClient::getHistogramParameters(), getIntValue(), SiStripUtility::getMEValue(), SiStripQualityChecker::getModuleStatus(), SiStripHistoPlotter::getProjection(), getRefTH1D(), getRefTH1F(), getRefTH1S(), getRefTH2D(), getRefTH2F(), getRefTH2S(), getRefTH3F(), getRefTProfile(), getRefTProfile2D(), getStringValue(), getTH1D(), getTH1F(), getTH1S(), getTH2D(), getTH2F(), getTH2S(), getTH3F(), getTProfile(), getTProfile2D(), getYmax(), getYmin(), initialise(), SiPixelHistoPlotter::makePlot(), SiStripHistoPlotter::makePlot(), packScalarData(), SiStripTrackerMapCreator::paintTkMapFromHistogram(), MEtoEDMConverter::putData(), Reset(), ContentsYRange::runTest(), CompareToMedian::runTest(), ContentsXRange::runTest(), Comp2RefKolmogorov::runTest(), ContentsWithinExpected::runTest(), MeanWithinExpected::runTest(), DeadChannel::runTest(), NoisyChannel::runTest(), Comp2RefEqualH::runTest(), Comp2RefChi2::runTest(), ecaldqm::setBinContentME(), setBinEntries(), ecaldqm::setBinEntriesME(), ecaldqm::setBinErrorME(), ShiftFillLast(), softReset(), and valueString().
{ return Kind(data_.flags & DQMNet::DQM_PROP_TYPE_MASK); }
bool MonitorElement::operator< | ( | const MonitorElement & | x | ) | const [inline] |
Compare monitor elements, for ordering in sets.
Definition at line 85 of file MonitorElement.h.
References data_, and DQMNet::setOrder().
{ return DQMNet::setOrder(data_, x.data_); }
MonitorElement & MonitorElement::operator= | ( | const MonitorElement & | x | ) |
Definition at line 189 of file MonitorElement.cc.
References data_, object_, qreports_, reference_, refvalue_, and scalar_.
{ if (this != &x) { delete object_; delete refvalue_; data_ = x.data_; scalar_ = x.scalar_; object_ = x.object_; reference_ = x.reference_; refvalue_ = x.refvalue_; qreports_ = x.qreports_; if (object_) object_ = static_cast<TH1 *>(object_->Clone()); if (refvalue_) refvalue_ = static_cast<TH1 *>(refvalue_->Clone()); } return *this; }
void MonitorElement::packQualityData | ( | std::string & | into | ) | const |
serialise quality report information into a string.
Definition at line 463 of file MonitorElement.cc.
References data_, and DQMNet::CoreObject::qreports.
{ DQMNet::packQualityData(into, data_.qreports); }
void MonitorElement::packScalarData | ( | std::string & | into, |
const char * | prefix | ||
) | const |
convert scalar data into a string.
Definition at line 438 of file MonitorElement.cc.
References DQM_KIND_INT, DQM_KIND_REAL, DQM_KIND_STRING, incompatible(), kind(), MonitorElement::Scalar::num, prof2calltree::prefix, MonitorElement::Scalar::real, scalar_, and MonitorElement::Scalar::str.
Referenced by DQMService::flushStandalone(), and valueString().
{ char buf[64]; if (kind() == DQM_KIND_INT) { snprintf(buf, sizeof(buf), "%s%" PRId64, prefix, scalar_.num); into = buf; } else if (kind() == DQM_KIND_REAL) { snprintf(buf, sizeof(buf), "%s%.*g", prefix, DBL_DIG+2, scalar_.real); into = buf; } else if (kind() == DQM_KIND_STRING) { into.reserve(strlen(prefix) + scalar_.str.size()); into += prefix; into += scalar_.str; } else incompatible(__PRETTY_FUNCTION__); }
std::string MonitorElement::qualityTagString | ( | const DQMNet::QValue & | qv | ) | const |
Definition at line 530 of file MonitorElement.cc.
References DQMNet::QValue::algorithm, DQMNet::QValue::code, data_, DQMNet::QValue::message, DQMNet::CoreObject::objname, DQMNet::QValue::qtname, DQMNet::QValue::qtresult, and query::result.
{ char buf[64]; std::string result; size_t titlelen = data_.objname.size() + qv.qtname.size() + 1; size_t buflen = sprintf(buf, "qr=st:%d:%.*g:", qv.code, DBL_DIG+2, qv.qtresult); result.reserve(7 + 2*titlelen + buflen + qv.algorithm.size() + qv.message.size()); result += '<'; result += data_.objname; result += '.'; result += qv.qtname; result += '>'; result += buf; result += qv.algorithm; result += ':'; result += qv.message; result += '<'; result += '/'; result += data_.objname; result += '.'; result += qv.qtname; result += '>'; return result; }
void MonitorElement::Reset | ( | void | ) |
reset ME (ie. contents, errors, etc)
Definition at line 422 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_INT, DQM_KIND_REAL, DQM_KIND_STRING, kind(), MonitorElement::Scalar::num, MonitorElement::Scalar::real, scalar_, MonitorElement::Scalar::str, and update().
Referenced by SiStripDcsInfo::addBadModules(), EBTriggerTowerClient::analyze(), SiPixelClusterSource::analyze(), HcalDigiClient::analyze(), EEPedestalClient::analyze(), EETimingClient::analyze(), EESummaryClient::analyze(), HcalRecHitClient::analyze(), EBTimingClient::analyze(), EELaserClient::analyze(), EEIntegrityClient::analyze(), EETestPulseClient::analyze(), EEPedestalOnlineClient::analyze(), SiPixelDigiSource::analyze(), EcalBarrelSimHitsValidation::analyze(), EBSummaryClient::analyze(), HcalSummaryClient::analyze(), EETriggerTowerClient::analyze(), EBLaserClient::analyze(), EBTestPulseClient::analyze(), EELedClient::analyze(), EcalEndcapSimHitsValidation::analyze(), EBIntegrityClient::analyze(), EBPedestalClient::analyze(), EBPedestalOnlineClient::analyze(), HcalTrigPrimMonitor::beginLuminosityBlock(), HcalCoarsePedestalMonitor::beginLuminosityBlock(), EBStatusFlagsTask::beginLuminosityBlock(), EERawDataTask::beginLuminosityBlock(), EEIntegrityTask::beginLuminosityBlock(), HcalDigiMonitor::beginLuminosityBlock(), AlcaBeamMonitor::beginLuminosityBlock(), HcalHotCellMonitor::beginLuminosityBlock(), HcalBaseDQMonitor::beginLuminosityBlock(), EBIntegrityTask::beginLuminosityBlock(), SiPixelEDAClient::beginLuminosityBlock(), SiStripMonitorDigi::beginLuminosityBlock(), EBRawDataTask::beginLuminosityBlock(), HcalBeamMonitor::beginLuminosityBlock(), EEStatusFlagsTask::beginLuminosityBlock(), HLTScalers::beginLuminosityBlock(), HcalRawDataMonitor::beginLuminosityBlock(), HcalLSbyLSMonitor::beginLuminosityBlock(), MEtoEDMConverter::beginRun(), SiStripMonitorRawData::beginRun(), MuonAlignmentSummary::beginRun(), L1TOccupancyClient::beginRun(), SiStripDaqInfo::beginRun(), DQMStore::book(), DQMLumiMonitor::bookHistograms(), L1TDTTFClient::buildSummaries(), HcalDeadCellClient::calculateProblems(), HcalCoarsePedestalClient::calculateProblems(), HcalDetDiagPedestalClient::calculateProblems(), HcalDigiClient::calculateProblems(), HcalRecHitClient::calculateProblems(), HcalDetDiagNoiseMonitorClient::calculateProblems(), HcalTrigPrimClient::calculateProblems(), HcalDetDiagTimingClient::calculateProblems(), HcalNZSClient::calculateProblems(), HcalBeamClient::calculateProblems(), HcalHotCellClient::calculateProblems(), HcalRawDataClient::calculateProblems(), HcalDetDiagPedestalMonitor::CheckStatus(), PFClient::createEfficiencyPlots(), PFClient::createResolutionPlots(), HcalRawDataMonitor::endLuminosityBlock(), HcalDigiMonitor::endLuminosityBlock(), HcalDeadCellMonitor::endLuminosityBlock(), SiStripMonitorDigi::endLuminosityBlock(), DTSummaryClients::endLuminosityBlock(), EELedTask::endRun(), DTOfflineSummaryClients::endRun(), QcdLowPtDQM::filldNdeta(), SiStripDcsInfo::fillDummyStatus(), SiStripDaqInfo::fillDummyStatus(), SiStripQualityChecker::fillFaultyModuleStatus(), HcalDetDiagLEDMonitor::fillHistos(), HcalDetDiagPedestalMonitor::fillHistos(), HcalDetDiagLaserMonitor::fillHistos(), RPCChamberQuality::fillMonitorElements(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), SiStripDcsInfo::fillStatus(), SiStripDaqInfo::findExcludedModule(), BeamMonitor::FitAndFill(), DQMStore::forceReset(), SiPixelActionExecutor::getFEDSummaryME(), SiPixelActionExecutor::getGrandSummaryME(), SiStripBaseCondObjDQM::getModMEs(), SiStripMonitorQuality::getQualityME(), SiStripSummaryCreator::getSummaryME(), DTBlockedROChannelsTest::performClientDiagnostic(), RPCChamberQuality::performeClientOperation(), HcalBaseMonitor::periodicReset(), CastorEventDisplay::processEvent(), EcalBarrelMonitorModule::reset(), EBStatusFlagsTask::reset(), HcalBeamMonitor::reset(), EBDataCertificationTask::reset(), EBDcsInfoTask::reset(), EBHltTask::reset(), EEIntegrityTask::reset(), EBRawDataTask::reset(), EBSelectiveReadoutTask::reset(), HcalDataIntegrityTask::reset(), EBTrendClient::reset(), EBCosmicTask::reset(), EcalEndcapMonitorModule::reset(), EEStatusFlagsTask::reset(), EBOccupancyTask::reset(), EEDataCertificationTask::reset(), EELaserTask::reset(), EECosmicTask::reset(), HcalDeadCellMonitor::reset(), RPCFEDIntegrity::reset(), EERawDataTask::reset(), EETimingTask::reset(), EBLaserTask::reset(), EETestPulseTask::reset(), EBTriggerTowerTask::reset(), EEClusterTask::reset(), EEDaqInfoTask::reset(), EEOccupancyTask::reset(), EESelectiveReadoutTask::reset(), HcalLSbyLSMonitor::reset(), EBClusterTask::reset(), EBTimingTask::reset(), EEPedestalTask::reset(), HcalMonitorModule::reset(), HcalHotCellMonitor::reset(), EETrendTask::reset(), HcalDigiMonitor::reset(), DQMStore::reset(), EBPedestalOnlineTask::reset(), EEDcsInfoTask::reset(), EEPedestalOnlineTask::reset(), EETriggerTowerTask::reset(), EBDaqInfoTask::reset(), EBIntegrityTask::reset(), EBTestPulseTask::reset(), EETrendClient::reset(), HcalBaseDQMonitor::reset(), EBPedestalTask::reset(), EBTrendTask::reset(), HcalNZSMonitor::reset(), EEHltTask::reset(), SiStripMonitorPedestals::resetMEs(), SiStripMonitorDigi::ResetModuleMEs(), SiStripMonitorCluster::ResetModuleMEs(), SiStripCertificationInfo::resetSiStripCertificationMEs(), SiStripQualityChecker::resetStatus(), SiStripCertificationInfo::resetTrackingCertificationMEs(), BeamMonitor::RestartFitting(), EEPedestalClient::setup(), EBTriggerTowerClient::setup(), EBTestPulseClient::setup(), EBIntegrityClient::setup(), EELaserClient::setup(), EBTimingClient::setup(), EETriggerTowerClient::setup(), EEPedestalOnlineClient::setup(), EBPedestalOnlineClient::setup(), EETimingClient::setup(), EBPedestalClient::setup(), EETestPulseClient::setup(), EBLaserClient::setup(), EELedClient::setup(), HcalBaseDQMonitor::setup(), EEIntegrityClient::setup(), PFMETDQMAnalyzer::storeBadEvents(), PFJetDQMAnalyzer::storeBadEvents(), and PFCandidateDQMAnalyzer::storeBadEvents().
{ update(); if (kind() == DQM_KIND_INT) scalar_.num = 0; else if (kind() == DQM_KIND_REAL) scalar_.real = 0; else if (kind() == DQM_KIND_STRING) scalar_.str.clear(); else return accessRootObject(__PRETTY_FUNCTION__, 1) ->Reset(); }
bool MonitorElement::resetMe | ( | void | ) | const [inline, private] |
true if ME should be reset at end of monitoring cycle
Definition at line 283 of file MonitorElement.h.
References data_, DQMNet::DQM_PROP_RESET, and DQMNet::CoreObject::flags.
Referenced by DQMStore::reset().
{ return data_.flags & DQMNet::DQM_PROP_RESET; }
void MonitorElement::resetUpdate | ( | void | ) | [inline, private] |
reset "was updated" flag
Definition at line 279 of file MonitorElement.h.
References data_, and DQMNet::CoreObject::flags.
Referenced by DQMStore::forceReset(), and DQMStore::reset().
void MonitorElement::runQTests | ( | void | ) |
run all quality tests
Definition at line 616 of file MonitorElement.cc.
References DQMNet::QValue::code, data_, alignCSCRings::e, QCriterion::getName(), i, DQMNet::QValue::message, QReport::qcriterion_, DQMNet::CoreObject::qreports, qreports_, DQMNet::QValue::qtname, QReport::qvalue_, QCriterion::runTest(), update(), updateQReportStats(), and wasUpdated().
Referenced by SiPixelActionExecutor::checkQTestResults(), and DQMStore::runQTests().
{ assert(qreports_.size() == data_.qreports.size()); // Rerun quality tests where the ME or the quality algorithm was modified. bool dirty = wasUpdated(); for (size_t i = 0, e = data_.qreports.size(); i < e; ++i) { DQMNet::QValue &qv = data_.qreports[i]; QReport &qr = qreports_[i]; QCriterion *qc = qr.qcriterion_; qr.qvalue_ = &qv; // if (qc && (dirty || qc->wasModified())) // removed for new QTest (abm-090503) if (qc && dirty) { assert(qc->getName() == qv.qtname); std::string oldMessage = qv.message; int oldStatus = qv.code; qc->runTest(this, qr, qv); if (oldStatus != qv.code || oldMessage != qv.message) update(); } } // Update QReport statistics. updateQReportStats(); }
void MonitorElement::setAccumulate | ( | bool | ) | [inline, private] |
if true, will accumulate ME contents (over many periods) until method is called with flag = false again
Definition at line 288 of file MonitorElement.h.
References data_, DQMNet::DQM_PROP_ACCUMULATE, and DQMNet::CoreObject::flags.
Referenced by DQMStore::setAccumulate().
{ data_.flags |= DQMNet::DQM_PROP_ACCUMULATE; }
void MonitorElement::setAxisRange | ( | double | xmin, |
double | xmax, | ||
int | axis = 1 |
||
) |
set x-, y- or z-axis range (axis=1, 2, 3 respectively)
Definition at line 907 of file MonitorElement.cc.
References getAxis(), and update().
Referenced by HcalDCSInfo::beginJob(), HcalDAQInfo::beginJob(), HcalDataCertification::beginJob(), HcalDetDiagPedestalMonitor::beginRun(), HcalDetDiagLaserMonitor::beginRun(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), RPCEfficiencySecond::endRun(), HLXMonitor::FillHistograms(), HcalDetDiagLaserMonitor::fillHistos(), and DTDataIntegrityTask::TimeHistos().
void MonitorElement::setAxisTimeDisplay | ( | int | value, |
int | axis = 1 |
||
) |
void MonitorElement::setAxisTimeFormat | ( | const char * | format = "" , |
int | axis = 1 |
||
) |
void MonitorElement::setAxisTimeOffset | ( | double | toffset, |
const char * | option = "local" , |
||
int | axis = 1 |
||
) | [private] |
void MonitorElement::setAxisTitle | ( | const std::string & | title, |
int | axis = 1 |
||
) |
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
Definition at line 916 of file MonitorElement.cc.
References getAxis(), and update().
Referenced by CSCOfflineMonitor::applyCSClabels(), BxTiming::beginJob(), EEDaqInfoTask::beginJob(), EEDcsInfoTask::beginJob(), TrackAnalyzer::beginJob(), PFJetAnalyzer::beginJob(), HaloTrigger::beginJob(), Vx3DHLTAnalyzer::beginJob(), ESSummaryClient::beginJob(), TkAlCaRecoMonitor::beginJob(), MuonSeedsAnalyzer::beginJob(), DQMFEDIntegrityClient::beginJob(), L1EmulatorErrorFlagClient::beginJob(), L1TEventInfoClient::beginJob(), HLTMon::beginJob(), L1TCSCTF::beginJob(), SiStripFEDCheckPlugin::beginJob(), DTBlockedROChannelsTest::beginJob(), EBDataCertificationTask::beginJob(), TrackEfficiencyMonitor::beginJob(), TrackSplittingMonitor::beginJob(), DQMHcalPhiSymHLT::beginJob(), AlcaBeamMonitor::beginJob(), DQMHcalIsoTrackAlCaReco::beginJob(), MuonEnergyDepositAnalyzer::beginJob(), ValidationHcalIsoTrackAlCaReco::beginJob(), BeamConditionsMonitor::beginJob(), L1TRPCTF::beginJob(), L1TDTTFClient::beginJob(), TrackBuildingAnalyzer::beginJob(), TauValidation::beginJob(), EBDaqInfoTask::beginJob(), EBDcsInfoTask::beginJob(), L1TCompare::beginJob(), L1TDTTPG::beginJob(), DQMHcalDiJetsAlCaReco::beginJob(), DQMHOAlCaRecoStream::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), DQMHcalIsoTrackHLT::beginJob(), MuonRecoAnalyzer::beginJob(), SegmentTrackAnalyzer::beginJob(), L1TdeCSCTF::beginJob(), VertexMonitor::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), ValHcalIsoTrackHLT::beginJob(), DTDataIntegrityTest::beginJob(), HLTAlCaMonPi0::beginJob(), BeamMonitor::beginJob(), EEDataCertificationTask::beginJob(), L1TDTTF::beginJob(), MuonRecoOneHLT::beginJob(), DQMSourcePi0::beginJob(), JetAnalyzer::beginJob(), HLTAlCaMonEcalPhiSym::beginJob(), TrackingMonitor::beginJob(), HLTEventInfoClient::beginJob(), TrackEfficiencyClient::beginJob(), PiZeroAnalyzer::beginJob(), DTOfflineSummaryClients::beginRun(), L1TGMTClient::beginRun(), RPCBxTest::beginRun(), HLTSeedL1LogicScalers::beginRun(), DQMProvInfo::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), AlcaBeamMonitor::beginRun(), SiStripMonitorRawData::beginRun(), SiStripLAProfileBooker::beginRun(), EcalBarrelMonitorClient::beginRun(), SiPixelTrackResidualSource::beginRun(), FourVectorHLTOffline::beginRun(), DTSummaryClients::beginRun(), HcalDetDiagLaserMonitor::beginRun(), EcalEndcapMonitorClient::beginRun(), FourVectorHLTOnline::beginRun(), HLTMonBTagIPSource::book(), SiPixelHitEfficiencyModule::book(), ecaldqm::MESetEcal::book(), HLTMonBTagMuSource::book(), SiPixelClusterModule::book(), SiPixelTrackResidualModule::book(), SiPixelRecHitModule::book(), HLTMonBTagClient::book(), SiPixelDigiModule::book(), JPTJetAnalyzer::book2DHistogram(), L1TGMT::book_(), DTLocalTriggerTask::bookBarrelHistos(), DTLocalTriggerBaseTest::bookCmsHistos(), DTTriggerLutTest::bookCmsHistos1d(), SiStripBaseCondObjDQM::bookCumulMEs(), SiPixelRawDataErrorModule::bookFED(), SiPixelDataQuality::bookGlobalQualityFlag(), JPTJetAnalyzer::bookHistogram(), L1TGT::bookHistograms(), L1TEMUEventInfoClient::bookHistograms(), DTDataIntegrityTask::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), TrackAnalyzer::bookHistosForState(), SiPixelHLTSource::bookMEs(), SiPixelDigiSource::bookMEs(), SiStripMonitorDigi::bookMETrend(), SiStripMonitorCluster::bookMETrend(), SiPixelInformationExtractor::bookNoisyPixels(), SiPixelActionExecutor::bookOccupancyPlots(), HLTOniaSource::bookOniaTriggerMEs(), JPTJetAnalyzer::bookProfile(), SiStripBaseCondObjDQM::bookProfileMEs(), RPCMonitorDigi::bookSectorRingME(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripQualityChecker::bookStatus(), SiStripBaseCondObjDQM::bookSummaryCumulMEs(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), TrigResRateMon::bookTestHisto(), DTTriggerEfficiencyTask::bookWheelHistos(), HcalTrigPrimMonitor::create_fg_correlation(), HcalTrigPrimMonitor::create_tp_correlation(), SiStripMonitorCluster::createMEs(), SiStripMonitorDigi::createMEs(), MonitorTrackResiduals::createMEs(), SiStripMonitorCluster::createModuleMEs(), SiStripMonitorDigi::createModuleMEs(), SiStripMonitorCluster::createSubDetMEs(), SiStripMonitorDigi::createSubDetMEs(), TrackAnalyzer::doTrackerSpecificInitialization(), BTagValidator::endJob(), RPCDcsInfoClient::endRun(), DQMDcsInfoClient::endRun(), RPCEfficiencySecond::endRun(), SiStripQualityDQM::fillGrandSummaryMEs(), BeamMonitor::FitAndFill(), SiStripCablingDQM::getActiveDetIds(), SiStripMonitorQuality::getQualityME(), GlobalDigisAnalyzer::GlobalDigisAnalyzer(), GlobalDigisHistogrammer::GlobalDigisHistogrammer(), GlobalHitsAnalyzer::GlobalHitsAnalyzer(), GlobalHitsHistogrammer::GlobalHitsHistogrammer(), GlobalRecHitsAnalyzer::GlobalRecHitsAnalyzer(), GlobalRecHitsHistogrammer::GlobalRecHitsHistogrammer(), MuIsoValidation::InitHistos(), MuonIsolationDQM::InitHistos(), L1TScalersSCAL::L1TScalersSCAL(), rpcdqm::utils::labelXAxisSegment(), JetMETDQMOfflineClient::runClient_(), CSCMonitorObject::setAxisTitle(), L1TDTTPGClient::setMapPhLabel(), L1TDTTPG::setMapPhLabel(), L1TDTTPGClient::setMapThLabel(), L1TDTTPG::setMapThLabel(), L1TDTTF::setQualLabel(), L1TDTTFClient::setQualLabel(), EBClusterTask::setup(), EBIntegrityTask::setup(), EBTestPulseTask::setup(), EBTimingTask::setup(), EEPedestalClient::setup(), EETrendClient::setup(), EcalBarrelMonitorModule::setup(), EBStatusFlagsTask::setup(), EBTrendTask::setup(), EEPedestalOnlineTask::setup(), HcalNZSMonitor::setup(), HcalZDCMonitor::setup(), EBTriggerTowerClient::setup(), HcalDigiMonitor::setup(), EBPedestalTask::setup(), EBTestPulseClient::setup(), EBSelectiveReadoutTask::setup(), HcalNoiseMonitor::setup(), EBIntegrityClient::setup(), EBOccupancyTask::setup(), EELaserClient::setup(), EELaserTask::setup(), EBTimingClient::setup(), EBTrendClient::setup(), EETriggerTowerClient::setup(), EEStatusFlagsTask::setup(), HcalBeamMonitor::setup(), HcalRawDataMonitor::setup(), EBRawDataTask::setup(), EEPedestalOnlineClient::setup(), EBCosmicTask::setup(), EEIntegrityTask::setup(), EBPedestalOnlineClient::setup(), EBTriggerTowerTask::setup(), EETimingClient::setup(), EESelectiveReadoutTask::setup(), EBPedestalClient::setup(), EBLaserTask::setup(), EETestPulseClient::setup(), EcalEndcapMonitorModule::setup(), EECosmicTask::setup(), EBSummaryClient::setup(), EERawDataTask::setup(), EBLaserClient::setup(), EETrendTask::setup(), EBPedestalOnlineTask::setup(), EELedClient::setup(), EEOccupancyTask::setup(), EETimingTask::setup(), EETriggerTowerTask::setup(), EELedTask::setup(), EEPedestalTask::setup(), EETestPulseTask::setup(), EEIntegrityClient::setup(), EESummaryClient::setup(), EEClusterTask::setup(), HcalBaseMonitor::setupDepthHists1D(), HcalBaseMonitor::setupDepthHists2D(), HcalBaseMonitor::SetupEtaPhiHists(), HLXMonitor::SetupHists(), FourVectorHLTOffline::setupHltBxPlots(), FourVectorHLTOnline::setupHltBxPlots(), TrigResRateMon::setupHltBxPlots(), FourVectorHLTOffline::setupHltLsPlots(), FourVectorHLTOnline::setupHltLsPlots(), TrigResRateMon::setupHltLsPlots(), FourVectorHLTOnline::setupHltMatrix(), L1TDTTF::setWheelLabel(), and L1TDTTFClient::setWheelLabel().
void MonitorElement::setBinContent | ( | int | binx, |
double | content | ||
) |
set content of bin (1-D)
Definition at line 813 of file MonitorElement.cc.
References accessRootObject(), and update().
Referenced by HCALRecHitAnalyzer::analyze(), BxTiming::analyze(), EBTriggerTowerClient::analyze(), L1TScalersSCAL::analyze(), ESSummaryClient::analyze(), EESelectiveReadoutTask::analyze(), HcalDigiClient::analyze(), EETimingClient::analyze(), EEPedestalClient::analyze(), HLTJetMETDQMSource::analyze(), EESummaryClient::analyze(), EELaserClient::analyze(), EBTimingClient::analyze(), EEIntegrityClient::analyze(), HLTMonBitSummary::analyze(), EETestPulseClient::analyze(), SiPixelDigiSource::analyze(), EEPedestalOnlineClient::analyze(), HcalSummaryClient::analyze(), ESIntegrityClient::analyze(), EBSummaryClient::analyze(), EETriggerTowerClient::analyze(), HLTScalers::analyze(), EELedClient::analyze(), EBSelectiveReadoutTask::analyze(), EBTestPulseClient::analyze(), EBLaserClient::analyze(), SiPixelRawDataErrorSource::analyze(), EBPedestalOnlineClient::analyze(), EBPedestalClient::analyze(), EBIntegrityClient::analyze(), ESSummaryClient::beginJob(), BeamMonitor::beginJob(), EERawDataTask::beginLuminosityBlock(), EBRawDataTask::beginLuminosityBlock(), DQMProvInfo::beginRun(), RPCEventSummary::beginRun(), RPCDataCertification::beginRun(), HcalSummaryClient::beginRun(), EcalBarrelMonitorClient::beginRun(), RPCDCSSummary::beginRun(), EcalEndcapMonitorClient::beginRun(), SiPixelDataQuality::bookGlobalQualityFlag(), HCALRecHitAnalyzer::BookHistos(), ECALRecHitAnalyzer::BookHistos(), SiPixelSCurveCalibrationAnalysis::buildACurveHistogram(), L1TDTTFClient::buildHighQualityPlot(), L1TDTTFClient::buildPhiEtaPlotO(), L1TDTTFClient::buildPhiEtaPlotOFC(), L1TDTTFClient::buildSummaries(), EcalMixingModuleValidation::bunchSumTest(), HcalDeadCellClient::calculateProblems(), HcalDetDiagPedestalClient::calculateProblems(), HcalCoarsePedestalClient::calculateProblems(), HcalRecHitClient::calculateProblems(), HcalDigiClient::calculateProblems(), HcalTrigPrimClient::calculateProblems(), HcalDetDiagNoiseMonitorClient::calculateProblems(), HcalNZSClient::calculateProblems(), HcalDetDiagTimingClient::calculateProblems(), HcalBeamClient::calculateProblems(), HcalHotCellClient::calculateProblems(), HcalRawDataClient::calculateProblems(), HcalDataCertification::CertifyHcal(), HcalDetDiagTimingMonitor::CheckTiming(), RPCEventSummary::clientOperation(), RPCDeadChannelTest::clientOperation(), SiPixelHitEfficiencyModule::computeEfficiencies(), GlobalMuonMatchAnalyzer::computeEfficiencyEta(), GlobalMuonMatchAnalyzer::computeEfficiencyPt(), PFClient::createEfficiencyPlots(), PFClient::createResolutionPlots(), PhotonPostprocessing::dividePlots(), PhotonOfflineClient::dividePlots(), ConversionPostprocessing::dividePlots(), HLTMonSimpleBTag::doEffCalc(), BTagValidator::endJob(), MuonAlignment::endJob(), HcalSimHitsValidation::endJob(), DQMHcalPhiSymAlCaReco::endJob(), HcalRawDataMonitor::endLuminosityBlock(), DQMProvInfo::endLuminosityBlock(), L1EmulatorErrorFlagClient::endLuminosityBlock(), EEDataCertificationTask::endLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), HcalLSbyLSMonitor::endLuminosityBlock(), EERawDataTask::endLuminosityBlock(), EBDataCertificationTask::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), DQMDcsInfo::endLuminosityBlock(), HcalDeadCellMonitor::endLuminosityBlock(), EBRawDataTask::endLuminosityBlock(), RPCDcsInfo::endLuminosityBlock(), HcalDAQInfo::endLuminosityBlock(), HcalZDCMonitor::endLuminosityBlock(), HcalDCSInfo::endLuminosityBlock(), DTDataIntegrityTest::endLuminosityBlock(), MuonAlignmentSummary::endRun(), RPCDcsInfoClient::endRun(), DQMDcsInfoClient::endRun(), EcalEndcapMonitorClient::endRun(), EEDataCertificationTask::endRun(), RPCEfficiencyPerRingLayer::endRun(), EcalBarrelMonitorClient::endRun(), DQMHcalPhiSymAlCaReco::endRun(), RPCEfficiencyShiftHisto::endRun(), EBDataCertificationTask::endRun(), HltSusyExoPostProcessor::endRun(), RPCEfficiencySecond::endRun(), HcalRecHitMonitor::fill_Nevents(), SiPixelActionExecutor::fillDeviations(), QcdLowPtDQM::filldNdeta(), evf::iDie::fillDQMModFractionHist(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), ECALRecHitAnalyzer::FillGeometry(), HCALRecHitAnalyzer::FillGeometry(), RPCNoisyStripTest::fillGlobalME(), RPCMultiplicityTest::fillGlobalME(), RPCOccupancyTest::fillGlobalME(), SiPixelDataQuality::fillGlobalQualityPlot(), HLXMonitor::FillHistograms(), DQMFEDIntegrityClient::fillHistograms(), SiStripSummaryCreator::fillHistos(), HcalDetDiagLaserMonitor::fillHistos(), EBDcsInfoTask::fillMonitorElements(), EBDaqInfoTask::fillMonitorElements(), RPCChamberQuality::fillMonitorElements(), EEDcsInfoTask::fillMonitorElements(), EEDaqInfoTask::fillMonitorElements(), SiPixelActionExecutor::fillOccupancy(), MTVHistoProducerAlgo::fillPlotFromVector(), MuonTrackValidatorBase::fillPlotFromVector(), MTVHistoProducerAlgo::fillPlotFromVectors(), MuonTrackValidatorBase::fillPlotFromVectors(), HLXMonitor::FillReportSummary(), HcalSummaryClient::fillReportSummary(), HcalSummaryClient::fillReportSummaryLSbyLS(), FillUnphysicalHEHFBins(), DTTriggerLutTest::fillWhPlot(), DTLocalTriggerLutTest::fillWhPlot(), ElectronMcSignalPostValidator::finalize(), ElectronMcFakePostValidator::finalize(), BeamMonitor::FitAndFill(), DQMGenericClient::generic_eff(), FitSlicesYTool::getFittedMean(), FitSlicesYTool::getFittedMeanWithError(), FitSlicesYTool::getFittedSigma(), FitSlicesYTool::getFittedSigmaWithError(), CSCOfflineMonitor::harvestChamberMeans(), HcalRecHitsClient::HcalRecHitsEndjob(), HcalBaseMonitor::hideKnownBadCells(), CSCOfflineMonitor::histoEfficiency(), DQMGenericClient::limitedFit(), L1TGCTClient::makeXProjection(), L1TGCTClient::makeYProjection(), DTTimeEvolutionHisto::normalizeTo(), HcalNZSMonitor::processEvent(), HcalTrigPrimMonitor::processEvent(), L1TdeRCT::readFEDVector(), L1TEMUEventInfoClient::readQtResults(), EgHLTOfflineSummaryClient::runClient_(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), CSCMonitorObject::SetBinContent(), ecaldqm::MESet::setBinContent_(), L1TDTTFClient::setGMTsummary(), HcalSubdetDigiMonitor::setMeElementBinContent(), DTTimeEvolutionHisto::setTimeSlotValue(), EEPedestalClient::setup(), HcalDetDiagTimingMonitor::setup(), EBTestPulseClient::setup(), EBIntegrityClient::setup(), EELaserClient::setup(), EBTimingClient::setup(), EEPedestalOnlineClient::setup(), EETimingClient::setup(), EBPedestalOnlineClient::setup(), EETestPulseClient::setup(), EBPedestalClient::setup(), EBLaserClient::setup(), EELedClient::setup(), EEIntegrityClient::setup(), HLXMonitor::SetupEventInfo(), ecaldqm::MESetTrend::shift_(), ShiftFillLast(), HcalEEUSMonitor::unpack(), HcalRawDataMonitor::UpdateMEs(), evf::iDie::updateRollingHistos(), and ECALRecHitAnalyzer::WriteECALRecHits().
{ update(); accessRootObject(__PRETTY_FUNCTION__, 1) ->SetBinContent(binx, content); }
void MonitorElement::setBinContent | ( | int | binx, |
int | biny, | ||
int | binz, | ||
double | content | ||
) |
set content of bin (3-D)
Definition at line 830 of file MonitorElement.cc.
References accessRootObject(), and update().
{ update(); accessRootObject(__PRETTY_FUNCTION__, 3) ->SetBinContent(binx, biny, binz, content); }
void MonitorElement::setBinContent | ( | int | binx, |
int | biny, | ||
double | content | ||
) |
set content of bin (2-D)
Definition at line 822 of file MonitorElement.cc.
References accessRootObject(), and update().
{ update(); accessRootObject(__PRETTY_FUNCTION__, 2) ->SetBinContent(binx, biny, content); }
void MonitorElement::setBinEntries | ( | int | bin, |
double | nentries | ||
) |
set # of bin entries (to be used for profiles)
Definition at line 865 of file MonitorElement.cc.
References accessRootObject(), DQM_KIND_TPROFILE, DQM_KIND_TPROFILE2D, incompatible(), kind(), and update().
Referenced by HltSusyExoPostProcessor::endRun(), ecaldqm::MESet::setBinEntries_(), and ecaldqm::MESetTrend::shift_().
{ update(); if (kind() == DQM_KIND_TPROFILE) static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 1)) ->SetBinEntries(bin, nentries); else if (kind() == DQM_KIND_TPROFILE2D) static_cast<TProfile2D *>(accessRootObject(__PRETTY_FUNCTION__, 1)) ->SetBinEntries(bin, nentries); else incompatible(__PRETTY_FUNCTION__); }
void MonitorElement::setBinError | ( | int | binx, |
double | error | ||
) |
set uncertainty on content of bin (1-D)
Definition at line 838 of file MonitorElement.cc.
References accessRootObject(), and update().
Referenced by EESelectiveReadoutTask::analyze(), EETimingClient::analyze(), HLTJetMETDQMSource::analyze(), EBTimingClient::analyze(), EELaserClient::analyze(), EEStatusFlagsClient::analyze(), EETestPulseClient::analyze(), HLTMonBitSummary::analyze(), EBStatusFlagsClient::analyze(), EBLaserClient::analyze(), EBTestPulseClient::analyze(), EBSelectiveReadoutTask::analyze(), EELedClient::analyze(), SiPixelSCurveCalibrationAnalysis::buildACurveHistogram(), EcalMixingModuleValidation::bunchSumTest(), SiPixelHitEfficiencyModule::computeEfficiencies(), GlobalMuonMatchAnalyzer::computeEfficiencyEta(), GlobalMuonMatchAnalyzer::computeEfficiencyPt(), PhotonPostprocessing::dividePlots(), PhotonOfflineClient::dividePlots(), ConversionPostprocessing::dividePlots(), HLTMonSimpleBTag::doEffCalc(), BTagValidator::endJob(), HLTScalersClient::endLuminosityBlock(), RPCEfficiencyPerRingLayer::endRun(), HltSusyExoPostProcessor::endRun(), RPCEfficiencySecond::endRun(), QcdLowPtDQM::filldNdeta(), HLXMonitor::FillHistograms(), HcalDetDiagLaserMonitor::fillHistos(), MTVHistoProducerAlgo::fillPlotFromVectors(), MuonTrackValidatorBase::fillPlotFromVectors(), DQMGenericClient::generic_eff(), CSCOfflineMonitor::histoEfficiency(), DQMGenericClient::limitedFit(), DTTimeEvolutionHisto::setTimeSlotValue(), ecaldqm::MESetTrend::shift_(), ShiftFillLast(), and evf::iDie::updateRollingHistos().
{ update(); accessRootObject(__PRETTY_FUNCTION__, 1) ->SetBinError(binx, error); }
void MonitorElement::setBinError | ( | int | binx, |
int | biny, | ||
int | binz, | ||
double | error | ||
) |
set uncertainty on content of bin (3-D)
Definition at line 856 of file MonitorElement.cc.
References accessRootObject(), and update().
{ update(); accessRootObject(__PRETTY_FUNCTION__, 3) ->SetBinError(binx, biny, binz, error); }
void MonitorElement::setBinError | ( | int | binx, |
int | biny, | ||
double | error | ||
) |
set uncertainty on content of bin (2-D)
Definition at line 847 of file MonitorElement.cc.
References accessRootObject(), and update().
{ update(); accessRootObject(__PRETTY_FUNCTION__, 2) ->SetBinError(binx, biny, error); }
void MonitorElement::setBinLabel | ( | int | bin, |
const std::string & | label, | ||
int | axis = 1 |
||
) |
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
Definition at line 889 of file MonitorElement.cc.
References gather_cfg::cout, getAxis(), and update().
Referenced by TriggerValidator::analyze(), BeamMonitor::analyze(), CSCOfflineMonitor::applyCSClabels(), PFJetAnalyzer::beginJob(), BasicHepMCValidation::beginJob(), HaloTrigger::beginJob(), DQMFEDIntegrityClient::beginJob(), HcalDCSInfo::beginJob(), L1EmulatorErrorFlagClient::beginJob(), HLTMonPhotonSource::beginJob(), HcalDAQInfo::beginJob(), METAnalyzer::beginJob(), RPCDaqInfo::beginJob(), L1TFED::beginJob(), TcMETAnalyzer::beginJob(), TopDiLeptonDQM::beginJob(), L1TCSCTF::beginJob(), HLTMon::beginJob(), LaserAlignmentT0ProducerDQM::beginJob(), HLTMonPhotonClient::beginJob(), PFMETAnalyzer::beginJob(), MonitorLTC::beginJob(), L1TDTTFClient::beginJob(), L1TRPCTF::beginJob(), TauValidation::beginJob(), JetPtAnalyzer::beginJob(), L1TDTTPG::beginJob(), L1TdeGCT::beginJob(), SegmentTrackAnalyzer::beginJob(), MuonRecoAnalyzer::beginJob(), MuCorrMETAnalyzer::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), L1TdeCSCTF::beginJob(), HcalDataCertification::beginJob(), L1TDEMON::beginJob(), HTMHTAnalyzer::beginJob(), L1TDTTF::beginJob(), BeamMonitor::beginJob(), EmDQMReco::beginJob(), JetAnalyzer::beginJob(), CaloMETAnalyzer::beginJob(), L1GtHwValidation::beginRun(), DQMProvInfo::beginRun(), RPCEfficiencyShiftHisto::beginRun(), HLTJetMETDQMSource::beginRun(), RPCEventSummary::beginRun(), RPCDataCertification::beginRun(), RPCChamberQuality::beginRun(), DTnoiseDBValidation::beginRun(), HcalSummaryClient::beginRun(), FourVectorHLTOffline::beginRun(), SiPixelTrackResidualSource::beginRun(), JetMETHLTOfflineSource::beginRun(), BTagHLTOfflineSource::beginRun(), RPCDCSSummary::beginRun(), HcalDetDiagLaserMonitor::beginRun(), FourVectorHLTOnline::beginRun(), ecaldqm::MESetEcal::book(), L1TGMT::book_(), HltSusyExoPostProcessor::bookEffMEProfileFromTH1(), SiPixelDataQuality::bookGlobalQualityFlag(), EwkMuTauHistManager::bookHistograms(), L1TEMUEventInfoClient::bookHistograms(), L1TGT::bookHistograms(), EwkElecTauHistManager::bookHistograms(), L1GtHwValidation::bookHistograms(), DTt0DBValidation::bookHistos(), DTDataIntegrityTask::bookHistos(), DTLocalTriggerBaseTest::bookSectorHistos(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripQualityChecker::bookStatus(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), RPCMonitorDigi::bookWheelDiskME(), DTTriggerEfficiencyTask::bookWheelHistos(), HcalTrigPrimMonitor::create_errorflag(), QcdUeDQM::createHistos(), QcdLowPtDQM::createHistos(), SiStripMonitorCluster::createMEs(), SiStripMonitorDigi::createMEs(), MuonAlignment::endJob(), L1ScalersClient::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), DataCertificationJetMET::endRun(), MuonAlignmentSummary::endRun(), RPCDcsInfoClient::endRun(), DQMDcsInfoClient::endRun(), RPCEfficiencyPerRingLayer::endRun(), HltSusyExoPostProcessor::endRun(), RPCEfficiencySecond::endRun(), evf::iDie::fillDQMModFractionHist(), SiPixelActionExecutor::fillFEDErrorSummary(), HLTScalersClient::HLTScalersClient(), HLTTauDQMLitePathPlotter::HLTTauDQMLitePathPlotter(), HLTTauDQMPathPlotter::HLTTauDQMPathPlotter(), evf::iDie::initMonitorElements(), L1ScalersClient::L1ScalersClient(), HcalRawDataMonitor::label_xChanns(), HcalRawDataMonitor::label_xFEDs(), HcalRawDataMonitor::label_ySpigots(), RPCFEDIntegrity::labelBins(), rpcdqm::utils::labelXAxisSector(), rpcdqm::utils::labelXAxisSegment(), rpcdqm::utils::labelYAxisRing(), rpcdqm::utils::labelYAxisRoll(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), RPCEfficiency::RPCEfficiency(), SetEtaPhiLabels(), L1TDTTPGClient::setMapPhLabel(), L1TDTTPG::setMapPhLabel(), L1TDTTPGClient::setMapThLabel(), L1TDTTPG::setMapThLabel(), L1TDTTF::setQualLabel(), L1TDTTFClient::setQualLabel(), DTTimeEvolutionHisto::setTimeSlotValue(), EBIntegrityTask::setup(), HcalZDCMonitor::setup(), HcalNZSMonitor::setup(), HcalEEUSMonitor::setup(), EBStatusFlagsTask::setup(), EcalBarrelMonitorModule::setup(), HcalRecHitMonitor::setup(), HcalDigiMonitor::setup(), HcalDetDiagTimingMonitor::setup(), HcalNoiseMonitor::setup(), EBSelectiveReadoutTask::setup(), HcalRawDataMonitor::setup(), HcalBeamMonitor::setup(), EEStatusFlagsTask::setup(), EBRawDataTask::setup(), EEIntegrityTask::setup(), EESelectiveReadoutTask::setup(), HcalDeadCellMonitor::setup(), HcalMonitorModule::setup(), EcalEndcapMonitorModule::setup(), EERawDataTask::setup(), EBSummaryClient::setup(), EESummaryClient::setup(), FourVectorHLTOnline::setupHltLsPlots(), TrigResRateMon::setupHltLsPlots(), HcalDigiMonitor::setupSubdetHists(), L1TDTTF::setWheelLabel(), L1TDTTFClient::setWheelLabel(), ShiftFillLast(), evf::iDie::updateRollingHistos(), and DTTimeEvolutionHisto::updateTimeSlot().
{ update(); if ( getAxis(__PRETTY_FUNCTION__, axis)->GetNbins() >= bin ) { getAxis(__PRETTY_FUNCTION__, axis) ->SetBinLabel(bin, label.c_str()); } else { // edm::LogWarning ("MonitorElement") std::cout << "*** MonitorElement: WARNING:" <<"setBinLabel: attempting to set label of non-existent bin number \n"; } }
void MonitorElement::setEfficiencyFlag | ( | void | ) | [inline] |
this ME is meant to be an efficiency plot that must not be normalized when drawn in the DQM GUI.
Definition at line 141 of file MonitorElement.h.
References data_, DQMNet::DQM_PROP_EFFICIENCY_PLOT, and DQMNet::CoreObject::flags.
Referenced by DQMStore::extract().
void MonitorElement::setEntries | ( | double | nentries | ) |
set # of entries
Definition at line 880 of file MonitorElement.cc.
References accessRootObject(), and update().
Referenced by EESummaryClient::analyze(), EELaserClient::analyze(), EETestPulseClient::analyze(), EBSummaryClient::analyze(), EBLaserClient::analyze(), EBTestPulseClient::analyze(), EELedClient::analyze(), PhotonOfflineClient::dividePlots(), CSCMonitorObject::SetEntries(), ecaldqm::MESetTrend::shift_(), and ShiftFillLast().
{ update(); accessRootObject(__PRETTY_FUNCTION__, 1) ->SetEntries(nentries); }
void MonitorElement::setLumiFlag | ( | void | ) | [inline] |
this ME is meant to be stored for each luminosity section
Definition at line 136 of file MonitorElement.h.
References data_, DQMNet::DQM_PROP_LUMI, and DQMNet::CoreObject::flags.
Referenced by AlcaBeamMonitor::beginJob(), DTDCSByLumiSummary::beginJob(), DQMDcsInfo::beginRun(), RPCDcsInfo::beginRun(), DTDCSByLumiTask::bookHistos(), SiPixelRawDataErrorSource::bookMEs(), SiPixelDigiSource::bookMEs(), SiStripDcsInfo::bookStatus(), EBIntegrityTask::setup(), EBStatusFlagsTask::setup(), EEStatusFlagsTask::setup(), EBRawDataTask::setup(), EEIntegrityTask::setup(), HcalLSbyLSMonitor::setup(), and EERawDataTask::setup().
{ data_.flags |= DQMNet::DQM_PROP_LUMI; }
void MonitorElement::setResetMe | ( | bool | ) | [inline] |
specify whether ME should be reset at end of monitoring cycle (default:false); (typically called by Sources that control the original ME)
Definition at line 128 of file MonitorElement.h.
References data_, DQMNet::DQM_PROP_RESET, and DQMNet::CoreObject::flags.
Referenced by LaserDQM::initMonitors(), EcalBarrelMonitorModule::setup(), EcalEndcapMonitorModule::setup(), and HLXMonitor::SetupHists().
{ data_.flags |= DQMNet::DQM_PROP_RESET; }
void MonitorElement::setTitle | ( | const std::string & | title | ) |
set (ie. change) histogram/profile title
Definition at line 952 of file MonitorElement.cc.
References accessRootObject(), and update().
Referenced by TopDiLeptonDQM::beginJob(), TopHLTDiMuonDQM::beginJob(), L1TOccupancyClient::beginRun(), HLTTauDQMSummaryPlotter::bookEfficiencyHisto(), L1ScalersClient::endLuminosityBlock(), HltSusyExoPostProcessor::endRun(), evf::iDie::perLumiFileSaver(), evf::iDie::perTimeFileSaver(), and JetMETDQMOfflineClient::runClient_().
{ update(); accessRootObject(__PRETTY_FUNCTION__, 1) ->SetTitle(title.c_str()); }
void MonitorElement::ShiftFillLast | ( | double | y, |
double | ye = 0. , |
||
int32_t | xscale = 1 |
||
) |
shift bin to the left and fill last bin with new entry 1st argument is y value, 2nd argument is y error (default 0) can be used with 1D or profile histograms only
Definition at line 308 of file MonitorElement.cc.
References a, b, DQM_KIND_TH1D, DQM_KIND_TH1F, DQM_KIND_TH1S, python::tagInventory::entries, getBinContent(), getBinError(), getEntries(), getNbinsX(), i, incompatible(), getHLTprescales::index, kind(), timingPdfMaker::mean, N, pileupCalc::nbins, alignCSCRings::s, setBinContent(), setBinError(), setBinLabel(), setEntries(), mathSSE::sqrt(), and update().
Referenced by BeamConditionsMonitor::endLuminosityBlock(), and BeamMonitor::FitAndFill().
{ update(); if (kind() == DQM_KIND_TH1F || kind() == DQM_KIND_TH1S || kind() == DQM_KIND_TH1D) { int nbins = getNbinsX(); int entries = (int)getEntries(); // first fill bins from left to right int index = entries + 1 ; int xlow = 2 ; int xup = nbins ; // if more entries than bins then start shifting if ( entries >= nbins ) { index = nbins; xlow = entries - nbins + 3 ; xup = entries+1 ; // average first bin double y1 = getBinContent(1); double y2 = getBinContent(2); double y1err = getBinError(1); double y2err = getBinError(2); double N = entries - nbins + 1.; if ( ye == 0. || y1err == 0. || y2err == 0.) { // for errors zero calculate unweighted mean and its error double sum = N*y1 + y2; y1 = sum/(N+1.) ; // FIXME check if correct double s=(N+1.)*(N*y1*y1 + y2*y2) - sum*sum; if (s>=0.) y1err = sqrt(s)/(N+1.); else y1err = 0.; } else { // for errors non-zero calculate weighted mean and its error double denom = (1./y1err + 1./y2err); double mean = (y1/y1err + y2/y2err)/denom; // FIXME check if correct y1err = sqrt(((y1-mean)*(y1-mean)/y1err + (y2-mean)*(y2-mean)/y2err)/denom/2.); y1 = mean; // set y1 to mean for filling below } setBinContent(1,y1); setBinError(1,y1err); // shift remaining bins to the left for ( int i = 3; i <= nbins ; i++) { setBinContent(i-1,getBinContent(i)); setBinError(i-1,getBinError(i)); } } // fill last bin with new values setBinContent(index,y); setBinError(index,ye); // set entries setEntries(entries+1); // set axis labels and reset drawing option char buffer [10]; sprintf (buffer, "%d", xlow*xscale); std::string a(buffer); setBinLabel(2,a); sprintf (buffer, "%d", xup*xscale); std::string b(buffer); setBinLabel(nbins,b); setBinLabel(1,"av."); } else incompatible(__PRETTY_FUNCTION__); }
void MonitorElement::softReset | ( | void | ) | [private] |
reset contents (does not erase contents permanently) (makes copy of current contents; will be subtracted from future contents)
Definition at line 984 of file MonitorElement.cc.
References addProfiles(), DQM_KIND_TH1D, DQM_KIND_TH1F, DQM_KIND_TH1S, DQM_KIND_TH2D, DQM_KIND_TH2F, DQM_KIND_TH2S, DQM_KIND_TH3F, DQM_KIND_TPROFILE, DQM_KIND_TPROFILE2D, incompatible(), kind(), object_, alignCSCRings::r, refvalue_, and update().
Referenced by DQMStore::softReset().
{ update(); // Create the reference object the first time this is called. // On subsequent calls accumulate the current value to the // reference, and then reset the current value. This way the // future contents will have the reference "subtracted". if (kind() == DQM_KIND_TH1F) { TH1F *orig = static_cast<TH1F *>(object_); TH1F *r = static_cast<TH1F *>(refvalue_); if (! r) { refvalue_ = r = new TH1F((std::string(orig->GetName()) + "_ref").c_str(), orig->GetTitle(), orig->GetNbinsX(), orig->GetXaxis()->GetXmin(), orig->GetXaxis()->GetXmax()); r->SetDirectory(0); r->Reset(); } r->Add(orig); orig->Reset(); } else if (kind() == DQM_KIND_TH1S) { TH1S *orig = static_cast<TH1S *>(object_); TH1S *r = static_cast<TH1S *>(refvalue_); if (! r) { refvalue_ = r = new TH1S((std::string(orig->GetName()) + "_ref").c_str(), orig->GetTitle(), orig->GetNbinsX(), orig->GetXaxis()->GetXmin(), orig->GetXaxis()->GetXmax()); r->SetDirectory(0); r->Reset(); } r->Add(orig); orig->Reset(); } else if (kind() == DQM_KIND_TH1D) { TH1D *orig = static_cast<TH1D *>(object_); TH1D *r = static_cast<TH1D *>(refvalue_); if (! r) { refvalue_ = r = new TH1D((std::string(orig->GetName()) + "_ref").c_str(), orig->GetTitle(), orig->GetNbinsX(), orig->GetXaxis()->GetXmin(), orig->GetXaxis()->GetXmax()); r->SetDirectory(0); r->Reset(); } r->Add(orig); orig->Reset(); } else if (kind() == DQM_KIND_TH2F) { TH2F *orig = static_cast<TH2F *>(object_); TH2F *r = static_cast<TH2F *>(refvalue_); if (! r) { refvalue_ = r = new TH2F((std::string(orig->GetName()) + "_ref").c_str(), orig->GetTitle(), orig->GetNbinsX(), orig->GetXaxis()->GetXmin(), orig->GetXaxis()->GetXmax(), orig->GetNbinsY(), orig->GetYaxis()->GetXmin(), orig->GetYaxis()->GetXmax()); r->SetDirectory(0); r->Reset(); } r->Add(orig); orig->Reset(); } else if (kind() == DQM_KIND_TH2S) { TH2S *orig = static_cast<TH2S *>(object_); TH2S *r = static_cast<TH2S *>(refvalue_); if (! r) { refvalue_ = r = new TH2S((std::string(orig->GetName()) + "_ref").c_str(), orig->GetTitle(), orig->GetNbinsX(), orig->GetXaxis()->GetXmin(), orig->GetXaxis()->GetXmax(), orig->GetNbinsY(), orig->GetYaxis()->GetXmin(), orig->GetYaxis()->GetXmax()); r->SetDirectory(0); r->Reset(); } r->Add(orig); orig->Reset(); } else if (kind() == DQM_KIND_TH2D) { TH2D *orig = static_cast<TH2D *>(object_); TH2D *r = static_cast<TH2D *>(refvalue_); if (! r) { refvalue_ = r = new TH2D((std::string(orig->GetName()) + "_ref").c_str(), orig->GetTitle(), orig->GetNbinsX(), orig->GetXaxis()->GetXmin(), orig->GetXaxis()->GetXmax(), orig->GetNbinsY(), orig->GetYaxis()->GetXmin(), orig->GetYaxis()->GetXmax()); r->SetDirectory(0); r->Reset(); } r->Add(orig); orig->Reset(); } else if (kind() == DQM_KIND_TH3F) { TH3F *orig = static_cast<TH3F *>(object_); TH3F *r = static_cast<TH3F *>(refvalue_); if (! r) { refvalue_ = r = new TH3F((std::string(orig->GetName()) + "_ref").c_str(), orig->GetTitle(), orig->GetNbinsX(), orig->GetXaxis()->GetXmin(), orig->GetXaxis()->GetXmax(), orig->GetNbinsY(), orig->GetYaxis()->GetXmin(), orig->GetYaxis()->GetXmax(), orig->GetNbinsZ(), orig->GetZaxis()->GetXmin(), orig->GetZaxis()->GetXmax()); r->SetDirectory(0); r->Reset(); } r->Add(orig); orig->Reset(); } else if (kind() == DQM_KIND_TPROFILE) { TProfile *orig = static_cast<TProfile *>(object_); TProfile *r = static_cast<TProfile *>(refvalue_); if (! r) { refvalue_ = r = new TProfile((std::string(orig->GetName()) + "_ref").c_str(), orig->GetTitle(), orig->GetNbinsX(), orig->GetXaxis()->GetXmin(), orig->GetXaxis()->GetXmax(), orig->GetYaxis()->GetXmin(), orig->GetYaxis()->GetXmax(), orig->GetErrorOption()); r->SetDirectory(0); r->Reset(); } addProfiles(r, orig, r, 1, 1); orig->Reset(); } else if (kind() == DQM_KIND_TPROFILE2D) { TProfile2D *orig = static_cast<TProfile2D *>(object_); TProfile2D *r = static_cast<TProfile2D *>(refvalue_); if (! r) { refvalue_ = r = new TProfile2D((std::string(orig->GetName()) + "_ref").c_str(), orig->GetTitle(), orig->GetNbinsX(), orig->GetXaxis()->GetXmin(), orig->GetXaxis()->GetXmax(), orig->GetNbinsY(), orig->GetYaxis()->GetXmin(), orig->GetYaxis()->GetXmax(), orig->GetZaxis()->GetXmin(), orig->GetZaxis()->GetXmax(), orig->GetErrorOption()); r->SetDirectory(0); r->Reset(); } addProfiles(r, orig, r, 1, 1); orig->Reset(); } else incompatible(__PRETTY_FUNCTION__); }
std::string MonitorElement::tagLabelString | ( | void | ) | const |
return label string for the monitor element tag (eg. <name>t=12345</name>)
Definition at line 503 of file MonitorElement.cc.
References data_, DQMNet::CoreObject::objname, query::result, and DQMNet::CoreObject::tag.
std::string MonitorElement::tagString | ( | void | ) | const |
return tagged value of ME in string format (eg. <name>f=3.14151926</name> for double numbers); relevant only for sending scalar or string MEs over TSocket
Definition at line 490 of file MonitorElement.cc.
References data_, DQMNet::CoreObject::objname, query::result, and valueString().
void MonitorElement::update | ( | void | ) | [inline] |
Mark the object updated.
Definition at line 123 of file MonitorElement.h.
References data_, DQMNet::DQM_PROP_NEW, and DQMNet::CoreObject::flags.
Referenced by addQReport(), copyFunctions(), doFill(), Fill(), BeamMonitor::FitAndFill(), getRefRootObject(), getRefTH1(), getRefTH1D(), getRefTH1F(), getRefTH1S(), getRefTH2D(), getRefTH2F(), getRefTH2S(), getRefTH3F(), getRefTProfile(), getRefTProfile2D(), getRootObject(), getTH1(), getTH1D(), getTH1F(), getTH1S(), getTH2D(), getTH2F(), getTH2S(), getTH3F(), getTProfile(), getTProfile2D(), HcalDigiMonitor::processEvent(), HcalDeadCellMonitor::processEvent(), CastorEventDisplay::processEvent(), HcalRawDataMonitor::processEvent(), HcalRecHitMonitor::processEvent_rechit(), Reset(), runQTests(), setAxisRange(), setAxisTimeDisplay(), setAxisTimeFormat(), setAxisTimeOffset(), setAxisTitle(), setBinContent(), setBinEntries(), setBinError(), setBinLabel(), setEntries(), setTitle(), ShiftFillLast(), softReset(), and HcalDigiMonitor::UpdateHists().
{ data_.flags |= DQMNet::DQM_PROP_NEW; }
void MonitorElement::updateQReportStats | ( | void | ) | [private] |
Refresh QReport stats, usually after MEs were read in from a file.
Definition at line 1450 of file MonitorElement.cc.
References data_, DQMNet::DQM_PROP_REPORT_ERROR, DQMNet::DQM_PROP_REPORT_OTHER, DQMNet::DQM_PROP_REPORT_WARN, alignCSCRings::e, dqm::qstatus::ERROR, DQMNet::CoreObject::flags, i, DQMNet::CoreObject::qreports, dqm::qstatus::STATUS_OK, and dqm::qstatus::WARNING.
Referenced by runQTests().
{ data_.flags &= ~DQMNet::DQM_PROP_REPORT_ALARM; for (size_t i = 0, e = data_.qreports.size(); i < e; ++i) switch (data_.qreports[i].code) { case dqm::qstatus::STATUS_OK: break; case dqm::qstatus::WARNING: data_.flags |= DQMNet::DQM_PROP_REPORT_WARN; break; case dqm::qstatus::ERROR: data_.flags |= DQMNet::DQM_PROP_REPORT_ERROR; break; default: data_.flags |= DQMNet::DQM_PROP_REPORT_OTHER; break; } }
std::string MonitorElement::valueString | ( | void | ) | const |
returns value of ME in string format (eg. "f = 3.14151926" for double numbers); relevant only for scalar or string MEs
Definition at line 471 of file MonitorElement.cc.
References DQM_KIND_INT, DQM_KIND_REAL, DQM_KIND_STRING, incompatible(), kind(), packScalarData(), and query::result.
Referenced by EcalBarrelMonitorClient::analyze(), EcalEndcapMonitorClient::analyze(), SiStripUtility::getMEValue(), HcalDetDiagLEDClient::htmlOutput(), HcalDetDiagPedestalClient::htmlOutput(), tagString(), HcalDetDiagLEDClient::validHtmlOutput(), HcalDetDiagPedestalClient::validHtmlOutput(), and HcalDetDiagLaserClient::validHtmlOutput().
{ std::string result; if (kind() == DQM_KIND_INT) packScalarData(result, "i="); else if (kind() == DQM_KIND_REAL) packScalarData(result, "f="); else if (kind() == DQM_KIND_STRING) packScalarData(result, "s="); else incompatible(__PRETTY_FUNCTION__); return result; }
bool MonitorElement::wasUpdated | ( | void | ) | const [inline] |
true if ME was updated in last monitoring cycle
Definition at line 119 of file MonitorElement.h.
References data_, DQMNet::DQM_PROP_NEW, and DQMNet::CoreObject::flags.
Referenced by DQMService::flushStandalone(), and runQTests().
{ return data_.flags & DQMNet::DQM_PROP_NEW; }
friend class DQMService [friend] |
Definition at line 37 of file MonitorElement.h.
friend class DQMStore [friend] |
Definition at line 36 of file MonitorElement.h.
DQMNet::CoreObject MonitorElement::data_ [private] |
Definition at line 66 of file MonitorElement.h.
Referenced by accessRootObject(), copyFunctions(), effLabelString(), DQMStore::findObject(), flags(), DQMService::flushStandalone(), DQMStore::get(), getAxis(), getFullname(), getLumiFlag(), getName(), getPathname(), getQErrors(), getQOthers(), getQReport(), getQReports(), getQWarnings(), getRefTH1(), getRefTH1D(), getRefTH1F(), getRefTH1S(), getRefTH2D(), getRefTH2F(), getRefTH2S(), getRefTH3F(), getRefTProfile(), getRefTProfile2D(), getTag(), getTags(), hasError(), hasOtherReport(), hasWarning(), incompatible(), initialise(), isAccumulateEnabled(), DQMStore::isCollateME(), isEfficiency(), kind(), MonitorElement(), operator<(), operator=(), packQualityData(), qualityTagString(), resetMe(), resetUpdate(), runQTests(), setAccumulate(), setEfficiencyFlag(), setLumiFlag(), setResetMe(), DQMStore::tag(), tagLabelString(), tagString(), update(), updateQReportStats(), and wasUpdated().
TH1* MonitorElement::object_ [private] |
Definition at line 68 of file MonitorElement.h.
Referenced by accessRootObject(), disableSoftReset(), DQMStore::extract(), DQMService::flushStandalone(), getRootObject(), initialise(), MonitorElement(), operator=(), softReset(), and ~MonitorElement().
std::vector<QReport> MonitorElement::qreports_ [private] |
Definition at line 71 of file MonitorElement.h.
Referenced by getQErrors(), getQOthers(), getQReport(), getQReports(), getQWarnings(), operator=(), and runQTests().
TH1* MonitorElement::reference_ [private] |
Definition at line 69 of file MonitorElement.h.
Referenced by DQMService::flushStandalone(), getRefRootObject(), getRefTH1(), getRefTH1D(), getRefTH1F(), getRefTH1S(), getRefTH2D(), getRefTH2F(), getRefTH2S(), getRefTH3F(), getRefTProfile(), getRefTProfile2D(), initialise(), and operator=().
TH1* MonitorElement::refvalue_ [private] |
Definition at line 70 of file MonitorElement.h.
Referenced by copyFrom(), disableSoftReset(), isSoftResetEnabled(), MonitorElement(), operator=(), softReset(), and ~MonitorElement().
Scalar MonitorElement::scalar_ [private] |
Definition at line 67 of file MonitorElement.h.
Referenced by doFill(), Fill(), getFloatValue(), getIntValue(), getStringValue(), initialise(), MonitorElement(), operator=(), packScalarData(), and Reset().