CMS 3D CMS Logo

Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends

MonitorElement Class Reference

#include <MonitorElement.h>

List of all members.

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

void Fill (long long x)
void Fill (unsigned long long x)
void Fill (unsigned long x)
void Fill (double x, double y, double z, double w)
 can be used with 3D (x, y, z, w) histograms
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
void Fill (double x, double y, double zw)
 can be used with 3D (x, y, z) or 2D (x, y, 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) const
 get uncertainty on content of bin (1-D) - See TH1::GetBinError for details
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 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 QReportgetQReport (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
Kind kind (void) const
 Get the type of the monitor element.
 MonitorElement (const std::string *path, const std::string &name)
 MonitorElement (const MonitorElement &)
 MonitorElement (void)
bool operator< (const MonitorElement &x) const
 Compare monitor elements, for ordering in sets.
MonitorElementoperator= (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, double content)
 set content of bin (2-D)
void setBinContent (int binx, int biny, int binz, double content)
 set content of bin (3-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, int binz, double error)
 set uncertainty on content of bin (3-D)
void setBinError (int binx, int biny, double error)
 set uncertainty on content of bin (2-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 setEntries (double nentries)
 set # of entries
void setLumiFlag (void)
 this ME is meant to be stored for each luminosity section
void setResetMe (bool flag)
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
MonitorElementinitialise (Kind kind)
MonitorElementinitialise (Kind kind, const std::string &value)
MonitorElementinitialise (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 flag)
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< QReportqreports_
TH1 * reference_
TH1 * refvalue_
Scalar scalar_

Friends

class DQMService
class DQMStore

Detailed Description

The base class for all MonitorElements (ME)

Definition at line 34 of file MonitorElement.h.


Member Typedef Documentation

typedef std::vector<QReport>::const_iterator MonitorElement::QReportIterator

Definition at line 63 of file MonitorElement.h.


Member Enumeration Documentation


Constructor & Destructor Documentation

MonitorElement::MonitorElement ( void  )
MonitorElement::MonitorElement ( const std::string *  path,
const std::string &  name 
)
MonitorElement::MonitorElement ( const MonitorElement x)

Definition at line 173 of file MonitorElement.cc.

References object_, and 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());
}
MonitorElement::~MonitorElement ( void  )

Definition at line 213 of file MonitorElement.cc.

References object_, and refvalue_.

{
  delete object_;
  delete refvalue_;
}

Member Function Documentation

TH1 * MonitorElement::accessRootObject ( const char *  func,
int  reqdim 
) const [private]
void MonitorElement::addProfiles ( TProfile *  h1,
TProfile *  h2,
TProfile *  sum,
float  c1,
float  c2 
) [private]

Definition at line 1209 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 1259 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 1413 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]
void MonitorElement::copyFrom ( TH1 *  from) [private]

Definition at line 1338 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 1309 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 1171 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_, csvReporter::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__);
}
void MonitorElement::Fill ( unsigned long  x) [inline]

Definition at line 149 of file MonitorElement.h.

References doFill().

{ fits_in_int64_t<unsigned long>(); doFill(static_cast<int64_t>(x)); }
void MonitorElement::Fill ( long  x) [inline]

Definition at line 150 of file MonitorElement.h.

References doFill().

{ fits_in_int64_t<long>(); doFill(static_cast<int64_t>(x)); }
void MonitorElement::Fill ( int  x) [inline]

Definition at line 152 of file MonitorElement.h.

References doFill().

{ fits_in_int64_t<int>(); doFill(static_cast<int64_t>(x)); }
void MonitorElement::Fill ( unsigned long long  x) [inline]

Definition at line 148 of file MonitorElement.h.

References doFill().

{ fits_in_int64_t<unsigned long long>(); doFill(static_cast<int64_t>(x)); }
void MonitorElement::Fill ( unsigned short  x) [inline]

Definition at line 154 of file MonitorElement.h.

References doFill().

{ fits_in_int64_t<unsigned short>(); doFill(static_cast<int64_t>(x)); }
void MonitorElement::Fill ( unsigned int  x) [inline]

Definition at line 151 of file MonitorElement.h.

References doFill().

{ fits_in_int64_t<unsigned int>(); doFill(static_cast<int64_t>(x)); }
void MonitorElement::Fill ( short  x) [inline]

Definition at line 153 of file MonitorElement.h.

References doFill().

{ fits_in_int64_t<short>(); doFill(static_cast<int64_t>(x)); }
void MonitorElement::Fill ( char  x) [inline]

Definition at line 155 of file MonitorElement.h.

References doFill().

{ fits_in_int64_t<char>(); doFill(static_cast<int64_t>(x)); }
void MonitorElement::Fill ( long long  x) [inline]

Definition at line 147 of file MonitorElement.h.

References doFill().

Referenced by SiStripDcsInfo::addBadModules(), edm::DQMHttpSource::addEventToDQMBackend(), EESelectiveReadoutTask::anaDigi(), EBSelectiveReadoutTask::anaDigi(), ElectronMcFakeValidator::analyze(), GlobalRecHitsHistogrammer::analyze(), MuonRecoAnalyzer::analyze(), HCALRecHitAnalyzer::analyze(), ElectronAnalyzer::analyze(), TrackSplittingMonitor::analyze(), SiStripMonitorFilter::analyze(), L1TGMT::analyze(), BxTiming::analyze(), HLTTauDQMTrkPlotter::analyze(), HLTMon::analyze(), EcalEndcapMonitorModule::analyze(), SiPixelDigiValid::analyze(), HcalSimHitsValidation::analyze(), GlobalHitsTester::analyze(), GlobalDigisHistogrammer::analyze(), EcalPreshowerDigisValidation::analyze(), MuonSeedsAnalyzer::analyze(), L1TGT::analyze(), HLTAlCaMonPi0::analyze(), HcalDetDiagLaserMonitor::analyze(), EELedTask::analyze(), EEIntegrityTask::analyze(), RecoMuonValidatorPF::analyze(), CSCComparatorDigiValidation::analyze(), WValidation::analyze(), EgammaBasicClusters::analyze(), EERecoSummary::analyze(), L1TScalersSCAL::analyze(), SiPixelClusterSource::analyze(), L1TRCT::analyze(), ESSummaryClient::analyze(), EESelectiveReadoutTask::analyze(), EBRawDataTask::analyze(), EBLaserTask::analyze(), ValidationHcalIsoTrackAlCaReco::analyze(), EmDQMReco::analyze(), SiStripDigiValid::analyze(), GlobalTest::analyze(), ESRecoSummary::analyze(), TrackingMonitor::analyze(), HLXMonitor::analyze(), HLTTauDQMLitePathPlotter::analyze(), EBTestPulseTask::analyze(), EBStatusFlagsTask::analyze(), EBCosmicTask::analyze(), TriggerValidator::analyze(), CSCCLCTDigiValidation::analyze(), DQMEventInfo::analyze(), DQMHcalPhiSymAlCaReco::analyze(), SiStripMonitorRawData::analyze(), L1TCompare::analyze(), EETimingClient::analyze(), EEPedestalClient::analyze(), EBTrendTask::analyze(), EBBeamHodoTask::analyze(), DTNoiseTask::analyze(), MuonIdVal::analyze(), MBUEandQCDValidation::analyze(), DQMProvInfo::analyze(), ElectronGeneralAnalyzer::analyze(), L1Scalers::analyze(), SiPixelTrackResidualSource::analyze(), EwkMuLumiMonitorDQM::analyze(), L1TRPCTPG::analyze(), HLTJetMETDQMSource::analyze(), EELaserTask::analyze(), EESummaryClient::analyze(), EBBeamCaloTask::analyze(), JPTJetTester::analyze(), PerformanceAnalyzer::analyze(), RPCDigiValid::analyze(), TkAlCaRecoMonitor::analyze(), TrackAnalyzer::analyze(), SiStripMonitorCluster::analyze(), RPCRecHitProbability::analyze(), L1TdeRCT::analyze(), L1TdeCSCTF::analyze(), HcalRecHitClient::analyze(), EERawDataTask::analyze(), EETrendClient::analyze(), EcalBarrelMonitorModule::analyze(), TauValidation::analyze(), DuplicationChecker::analyze(), BasicGenParticleValidation::analyze(), EcalDigisValidation::analyze(), SiStripMonitorHLT::analyze(), RPCMon_SS_Dbx_Global::analyze(), HcalRecHitMonitor::analyze(), HcalDetDiagTimingMonitor::analyze(), EETrendTask::analyze(), EECosmicTask::analyze(), EELaserClient::analyze(), EBTimingClient::analyze(), ElectronMcSignalValidator::analyze(), CSCWireDigiValidation::analyze(), EgammaSuperClusters::analyze(), SegmentTrackAnalyzer::analyze(), DQMHcalIsoTrackAlCaReco::analyze(), RPCEfficiency::analyze(), L1TECALTPG::analyze(), HLTTauDQMPathPlotter::analyze(), FourVectorHLTOnline::analyze(), HcalDetDiagPedestalMonitor::analyze(), EETimingTask::analyze(), EEOccupancyTask::analyze(), EEBeamHodoTask::analyze(), EBPedestalOnlineTask::analyze(), HLTOfflineReproducibilityDQM::analyze(), V0Validator::analyze(), SiPixelTrackingRecHitsValid::analyze(), DrellYanValidation::analyze(), EcalEndcapDigisValidation::analyze(), CSCSegmentValidation::analyze(), CaloTowersValidation::analyze(), EBRecoSummary::analyze(), SiStripMonitorQuality::analyze(), SiStripMonitorDigi::analyze(), RPCMonitorDigi::analyze(), HLTMonBitSummary::analyze(), HcalBaseDQMonitor::analyze(), EEBeamCaloTask::analyze(), EETestPulseClient::analyze(), AlcaBeamMonitor::analyze(), HLTJetMETValidation::analyze(), HcalRecHitsValidation::analyze(), EcalBarrelSimHitsValidation::analyze(), EcalPreshowerNoiseDistrib::analyze(), ECALRecHitAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), SiPixelDigiSource::analyze(), RPCMonitorRaw::analyze(), L1TDTTPG::analyze(), HLTAlCaMonEcalPhiSym::analyze(), HcalMonitorModule::analyze(), EEPedestalOnlineTask::analyze(), EEPedestalOnlineClient::analyze(), EBPedestalTask::analyze(), EBOccupancyTask::analyze(), EBIntegrityTask::analyze(), EBHltTask::analyze(), SiStripRecHitsValid::analyze(), CSCALCTDigiValidation::analyze(), BasicHepMCValidation::analyze(), EwkMuDQM::analyze(), L1TRPCTF::analyze(), HLTMuonDQMSource::analyze(), HcalNoiseMonitor::analyze(), EETestPulseTask::analyze(), EEHltTask::analyze(), EBSummaryClient::analyze(), GlobalMuonMatchAnalyzer::analyze(), EcalBarrelDigisValidation::analyze(), DQMSourceEleCalib::analyze(), HLTMonBTagIPSource::analyze(), HcalDetDiagLEDMonitor::analyze(), HcalDeadCellMonitor::analyze(), ZDCMonitorModule::analyze(), HcalTimingMonitorModule::analyze(), DTLocalTriggerBaseTask::analyze(), PixelVTXMonitor::analyze(), DQMHcalIsoTrackHLT::analyze(), RecoMuonValidator::analyze(), PFJetTester::analyze(), NoiseRates::analyze(), EcalTBValidation::analyze(), EcalSimHitsValidation::analyze(), DQMHcalDiJetsAlCaReco::analyze(), RPCMonitorLinkSynchro::analyze(), HLTTauDQML1Plotter::analyze(), HLTTauDQMCaloPlotter::analyze(), EEClusterTask::analyze(), EBTimingTask::analyze(), EBTrendClient::analyze(), DTSegmentAnalysisTask::analyze(), HLTHiggsBits::analyze(), DQMHcalPhiSymHLT::analyze(), CaloJetTester::analyze(), CSCStripDigiValidation::analyze(), CSCRecHit2DValidation::analyze(), ConverterTester::analyze(), MuonIdDQM::analyze(), HLTScalers::analyze(), EwkElecDQM::analyze(), L1TGCT::analyze(), L1TCSCTPG::analyze(), L1TCSCTF::analyze(), EELedClient::analyze(), EBSelectiveReadoutTask::analyze(), EBClusterTask::analyze(), EBTestPulseClient::analyze(), EBLaserClient::analyze(), SiPixelErrorsDigisToCalibDigis::analyze(), ValHcalIsoTrackHLT::analyze(), MuIsoValidation::analyze(), EcalEndcapSimHitsValidation::analyze(), MuonIsolationDQM::analyze(), HLTSeedL1LogicScalers::analyze(), SiPixelRawDataErrorSource::analyze(), RPCTTUMonitor::analyze(), L1TDTTF::analyze(), HLTMonBTagMuSource::analyze(), EEPedestalTask::analyze(), BeamMonitor::analyze(), SiStripTrackingRecHitsValid::analyze(), GlobalHitsHistogrammer::analyze(), EcalPreshowerSimHitsValidation::analyze(), EcalMixingModuleValidation::analyze(), EgHLTOfflineSource::analyze(), MuonEnergyDepositAnalyzer::analyze(), DQMSourcePi0::analyze(), MonitorLTC::analyze(), EEStatusFlagsTask::analyze(), EBPedestalOnlineClient::analyze(), EBPedestalClient::analyze(), CastorMonitorModule::analyze(), TopValidation::analyze(), ZdcSimHitStudy::analyzeHits(), SimHitsValidationHcal::analyzeHits(), HcalSimHitStudy::analyzeHits(), EEDcsInfoTask::beginJob(), EEDaqInfoTask::beginJob(), EcalBarrelMonitorClient::beginJob(), DQMFEDIntegrityClient::beginJob(), ESSummaryClient::beginJob(), Vx3DHLTAnalyzer::beginJob(), L1TEventInfoClient::beginJob(), RPCDaqInfo::beginJob(), EcalEndcapMonitorClient::beginJob(), EBDataCertificationTask::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), L1TEMUEventInfoClient::beginJob(), EBDcsInfoTask::beginJob(), EBDaqInfoTask::beginJob(), TrigResRateMon::beginJob(), CastorMonitorModule::beginJob(), SiPixelCertification::beginJob(), EEDataCertificationTask::beginJob(), BeamMonitor::beginJob(), HLTEventInfoClient::beginJob(), DQMDaqInfo::beginLuminosityBlock(), RPCDaqInfo::beginLuminosityBlock(), HcalBaseDQMonitor::beginLuminosityBlock(), DQMEventInfo::beginLuminosityBlock(), ZDCMonitorClient::beginRun(), DTOfflineSummaryClients::beginRun(), ZDCMonitorModule::beginRun(), DQMProvInfo::beginRun(), DQMEventInfo::beginRun(), RPCEventSummary::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), RPCDataCertification::beginRun(), HcalSummaryClient::beginRun(), RPCDCSSummary::beginRun(), HcalDetDiagLaserMonitor::beginRun(), DTSummaryClients::beginRun(), SiStripDaqInfo::beginRun(), DQMStore::bookFloat(), SiPixelDataQuality::bookGlobalQualityFlag(), DQMStore::bookInt(), 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(), CalibrationTask::checkAndSave(), CalibrationScanTask::checkAndSave(), HcalDetDiagPedestalMonitor::CheckStatus(), HcalMonitorModule::CheckSubdetectorStatus(), RPCEventSummary::clientOperation(), RPCClusterSizeTest::clientOperation(), Digi2Raw2Digi::compare(), L1GtHwValidation::compareFDL(), L1GtHwValidation::compareGTFE(), GlobalRecHitsAnalyzer::compute(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelDataQuality::computeGlobalQualityFlagByLumi(), EcalMixingModuleValidation::computeSDBunchDigi(), TkHistoMap::createTkHistoMap(), RPCTTUMonitor::discriminateDecision(), TrackAnalyzer::doTrackerSpecificFillHists(), DQMEventInfo::DQMEventInfo(), EcalSelectiveReadoutValidation::EcalSelectiveReadoutValidation(), EcalBarrelMonitorModule::endJob(), HcalMonitorModule::endJob(), MuonAlignment::endJob(), ZDCMonitorModule::endJob(), EcalEndcapMonitorModule::endJob(), RPCMonitorSync::endJob(), ESSummaryClient::endLumiAnalyze(), HcalRawDataMonitor::endLuminosityBlock(), DQMProvInfo::endLuminosityBlock(), EEDataCertificationTask::endLuminosityBlock(), HcalMonitorModule::endLuminosityBlock(), EBDataCertificationTask::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), L1Scalers::endLuminosityBlock(), L1TEventInfoClient::endLuminosityBlock(), HcalTrigPrimMonitor::endLuminosityBlock(), SiPixelCertification::endLuminosityBlock(), HcalBeamMonitor::endLuminosityBlock(), HLTScalers::endLuminosityBlock(), HcalDAQInfo::endLuminosityBlock(), QcdLowPtDQM::endLuminosityBlock(), HcalDCSInfo::endLuminosityBlock(), DTSummaryClients::endLuminosityBlock(), AlcaBeamMonitor::endLuminosityBlock(), DQMOfflineHLTEventInfoClient::endRun(), DataCertificationJetMET::endRun(), MuonAlignmentSummary::endRun(), SiPixelCertification::endRun(), RPCDcsInfoClient::endRun(), HcalMonitorModule::endRun(), DQMDcsInfoClient::endRun(), GlobalHitsTester::endRun(), EcalEndcapMonitorClient::endRun(), EcalBarrelMonitorModule::endRun(), EEDataCertificationTask::endRun(), EcalEndcapMonitorModule::endRun(), RPCBxTest::endRun(), L1TRPCTF::endRun(), EcalSelectiveReadoutValidation::endRun(), ConverterTester::endRun(), HLTTauCertifier::endRun(), EcalBarrelMonitorClient::endRun(), PhotonDataCertification::endRun(), RPCEfficiencyShiftHisto::endRun(), EBDataCertificationTask::endRun(), HLTMuonCertSummary::endRun(), HLTOverallSummary::endRun(), RPCEfficiencySecond::endRun(), DTOfflineSummaryClients::endRun(), ZDCMonitorClient::errorSummary(), DQMStore::extract(), DTDataIntegrityTask::fedEntry(), DTDataIntegrityTask::fedFatal(), DTDataIntegrityTask::fedNonFatal(), HResolution1DRecHit::Fill(), HTrackVariables::Fill(), MuonIdDQM::Fill(), SiPixelClusterModule::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(), FineDelayTask::fill(), SiPixelRawDataErrorModule::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(), SiStripQualityDQM::fillMEsForLayer(), SiStripApvGainsDQM::fillMEsForLayer(), SiStripThresholdDQM::fillMEsForLayer(), SiStripPedestalsDQM::fillMEsForLayer(), SiStripNoisesDQM::fillMEsForLayer(), EBDcsInfoTask::fillMonitorElements(), EBDaqInfoTask::fillMonitorElements(), EEDcsInfoTask::fillMonitorElements(), EEDaqInfoTask::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(), SiStripDaqInfo::findExcludedModule(), SiPixelInformationExtractor::findNoisyPixels(), BeamMonitor::FitAndFill(), SiStripCablingDQM::getActiveDetIds(), HLTJetMETValidation::getHLTResults(), CSCOfflineMonitor::harvestChamberMeans(), HcalRecHitsClient::HcalRecHitsEndjob(), HcalTimingMonitorModule::HcalTimingMonitorModule(), HcalDetDiagLaserMonitor::LoadDataset(), HcalDetDiagPedestalMonitor::LoadDataset(), DQMProvInfo::makeProvInfo(), HeavyFlavorValidation::match(), SiPixelRecHitModule::nfill(), SiPixelTrackResidualModule::nfill(), NoiseRatesClient::NoiseRatesEndjob(), 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(), HcalNZSMonitor::processEvent(), CastorDataIntegrityMonitor::processEvent(), HcalCaloTowerMonitor::processEvent(), HcalZDCMonitor::processEvent(), HcalRecHitMonitor::processEvent(), CastorPSMonitor::processEvent(), HcalDigiMonitor::processEvent(), HcalDeadCellMonitor::processEvent(), CastorRecHitMonitor::processEvent(), CastorHIMonitor::processEvent(), CastorLEDMonitor::processEvent(), CastorDigiMonitor::processEvent(), HcalTrigPrimMonitor::processEvent(), HcalEEUSMonitor::processEvent(), CastorEventDisplay::processEvent(), CastorChannelQualityMonitor::processEvent(), HcalBeamMonitor::processEvent(), HcalBaseMonitor::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(), HcalMonitorModule::reset(), HcalBaseDQMonitor::reset(), TauValidation::rtau(), EgHLTOfflineSummaryClient::runClient_(), DTLocalTriggerTask::runDCCAnalysis(), DQMFileSaver::saveForOffline(), DTTimeEvolutionHisto::setTimeSlotValue(), HcalZDCMonitor::setup(), EcalBarrelMonitorModule::setup(), CastorLEDMonitor::setup(), HcalRecHitMonitor::setup(), HcalDigiMonitor::setup(), HcalCoarsePedestalMonitor::setup(), CastorChannelQualityMonitor::setup(), HcalRawDataMonitor::setup(), HcalDeadCellMonitor::setup(), HcalMonitorModule::setup(), EcalEndcapMonitorModule::setup(), CastorDigiMonitor::setup(), HcalCaloTowerMonitor::setup(), HcalHotCellMonitor::setup(), HcalBaseDQMonitor::setup(), CastorTowerJetMonitor::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().

{ fits_in_int64_t<long long>(); doFill(static_cast<int64_t>(x)); }
void MonitorElement::Fill ( unsigned char  x) [inline]

Definition at line 156 of file MonitorElement.h.

References doFill().

{ fits_in_int64_t<unsigned char>(); doFill(static_cast<int64_t>(x)); }
void MonitorElement::Fill ( float  x) [inline]

Definition at line 158 of file MonitorElement.h.

References Fill().

Referenced by Fill().

{ Fill(static_cast<double>(x)); } 
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__);
}
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__);
}
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.

    { return data_.flags; }
TAxis * MonitorElement::getAxis ( const char *  func,
int  axis 
) const [private]

Definition at line 947 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 786 of file MonitorElement.cc.

References getAxis().

Referenced by PFClient::createEfficiencyPlots().

{ return getAxis(__PRETTY_FUNCTION__, axis)
    ->GetTitle(); }
double MonitorElement::getBinContent ( int  binx) const

get content of bin (1-D)

Definition at line 699 of file MonitorElement.cc.

References accessRootObject().

Referenced by EBBeamCaloClient::analyze(), HCALRecHitAnalyzer::analyze(), ESSummaryClient::analyze(), EEBeamCaloClient::analyze(), EBBeamCaloTask::analyze(), EESummaryClient::analyze(), EEBeamCaloTask::analyze(), HLTMonBitSummary::analyze(), EBSummaryClient::analyze(), SiPixelRawDataErrorSource::analyze(), SiPixelEDAClient::beginLuminosityBlock(), L1TDTTFClient::buildPhiEtaPlotO(), L1TDTTFClient::buildPhiEtaPlotOFC(), EcalMixingModuleValidation::bunchSumTest(), HcalDeadCellClient::calculateProblems(), HcalCoarsePedestalClient::calculateProblems(), HcalDetDiagPedestalClient::calculateProblems(), HcalDigiClient::calculateProblems(), HcalRecHitClient::calculateProblems(), HcalDetDiagNoiseMonitorClient::calculateProblems(), HcalTrigPrimClient::calculateProblems(), HcalDetDiagTimingClient::calculateProblems(), HcalNZSClient::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(), RPCDqmClient::endLuminosityBlock(), DQMProvInfo::endLuminosityBlock(), HcalLSbyLSMonitor::endLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), HcalBeamMonitor::endLuminosityBlock(), DTDCSByLumiSummary::endLuminosityBlock(), SiStripMonitorDigi::endLuminosityBlock(), DTDataIntegrityTest::endLuminosityBlock(), DTSummaryClients::endLuminosityBlock(), DTChamberEfficiencyClient::endRun(), DTCertificationSummary::endRun(), RPCEfficiencyPerRingLayer::endRun(), RPCEfficiencyShiftHisto::endRun(), DQMHcalPhiSymAlCaReco::endRun(), RPCDqmClient::endRun(), HltSusyExoPostProcessor::endRun(), DTOfflineSummaryClients::endRun(), RPCEfficiencySecond::endRun(), SiPixelActionExecutor::fillDeviations(), 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(), 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(), L1TEMUEventInfoClient::setSummary(), DTTimeEvolutionHisto::setTimeSlotValue(), ShiftFillLast(), DTDataIntegrityTask::TimeHistos(), HcalRawDataMonitor::UpdateMEs(), 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 705 of file MonitorElement.cc.

References accessRootObject().

{ return accessRootObject(__PRETTY_FUNCTION__, 2)
    ->GetBinContent(binx, biny); }
double MonitorElement::getBinContent ( int  binx,
int  biny,
int  binz 
) const

get content of bin (3-D)

Definition at line 711 of file MonitorElement.cc.

References accessRootObject().

{ return accessRootObject(__PRETTY_FUNCTION__, 3)
    ->GetBinContent(binx, biny, binz); }
double MonitorElement::getBinEntries ( int  bin) const

get # of bin entries (for profiles)

Definition at line 741 of file MonitorElement.cc.

References accessRootObject(), DQM_KIND_TPROFILE, DQM_KIND_TPROFILE2D, incompatible(), and kind().

{
  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,
int  biny,
int  binz 
) const

get uncertainty on content of bin (3-D) - See TH1::GetBinError for details

Definition at line 729 of file MonitorElement.cc.

References accessRootObject().

{ return accessRootObject(__PRETTY_FUNCTION__, 3)
    ->GetBinError(binx, biny, binz); }
double MonitorElement::getBinError ( int  binx) const
double MonitorElement::getBinError ( int  binx,
int  biny 
) const

get uncertainty on content of bin (2-D) - See TH1::GetBinError for details

Definition at line 723 of file MonitorElement.cc.

References accessRootObject().

{ return accessRootObject(__PRETTY_FUNCTION__, 2)
    ->GetBinError(binx, biny); }
double MonitorElement::getEntries ( void  ) const
double MonitorElement::getFloatValue ( void  ) const [inline]
const std::string MonitorElement::getFullname ( void  ) const [inline]
int64_t MonitorElement::getIntValue ( void  ) const [inline]
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().

double MonitorElement::getMean ( int  axis = 1) const
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 663 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(), EcalBarrelMonitorClient::beginJob(), ESSummaryClient::beginJob(), EcalEndcapMonitorClient::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(), HcalDetDiagPedestalClient::beginRun(), RPCNoisyStripTest::beginRun(), HcalCoarsePedestalClient::beginRun(), HcalDetDiagTimingClient::beginRun(), RPCRecHitProbability::beginRun(), HcalTrigPrimClient::beginRun(), HcalBeamClient::beginRun(), 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(), EEBeamCaloTask::cleanup(), EEBeamHodoTask::cleanup(), EBDataCertificationTask::cleanup(), EBHltTask::cleanup(), EBLaserTask::cleanup(), EBTrendTask::cleanup(), EEBeamCaloClient::cleanup(), EEClusterTask::cleanup(), EBBeamCaloClient::cleanup(), EBDaqInfoTask::cleanup(), EBDcsInfoTask::cleanup(), EERawDataTask::cleanup(), HcalMonitorModule::cleanup(), EcalBarrelMonitorModule::cleanup(), EEDataCertificationTask::cleanup(), EETimingTask::cleanup(), EBBeamCaloTask::cleanup(), EBBeamHodoTask::cleanup(), EBOccupancyTask::cleanup(), EESelectiveReadoutTask::cleanup(), EBSummaryClient::cleanup(), EBStatusFlagsTask::cleanup(), EEIntegrityTask::cleanup(), FourVectorHLTOnline::countHLTGroupBXHitsEndLumiBlock(), PFClient::createResolutionPlots(), HLTMonSimpleBTag::doEffCalc(), 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(), SiStripInformationExtractor::readStatusMessage(), SiPixelInformationExtractor::readStatusMessage(), SiPixelHistoricInfoEDAClient::retrieveMEs(), SiPixelHistoricInfoDQMClient::retrieveMEs(), SiPixelHistoryDQMService::returnDetComponent(), SiStripHistoryDQMService::returnDetComponent(), DTLocalTriggerSynchTest::runClientDiagnostic(), EBSummaryClient::setup(), EBBeamCaloClient::setup(), EEBeamCaloClient::setup(), EESummaryClient::setup(), SubTaskSummaryStatus::WriteThreshold(), and CSCRecHit2DValidation::~CSCRecHit2DValidation().

    { return data_.objname; }
int MonitorElement::getNbinsX ( void  ) const

get # of bins in X-axis

Definition at line 681 of file MonitorElement.cc.

References accessRootObject().

Referenced by SiStripMonitorQuality::analyze(), HLTMuonDQMSource::analyze(), 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(), L1TEventInfoClient::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), EEDataCertificationTask::endRun(), RPCEfficiencyShiftHisto::endRun(), HltSusyExoPostProcessor::endRun(), SiStripCertificationInfo::fillDummySiStripCertification(), SiStripQualityChecker::fillDummyStatus(), RPCOccupancyTest::fillGlobalME(), SiStripSummaryCreator::fillGrandSummaryHistos(), DQMMessageLoggerClient::fillHistograms(), DQMFEDIntegrityClient::fillHistograms(), SiStripSummaryCreator::fillHistos(), EEDaqInfoTask::fillMonitorElements(), EEDcsInfoTask::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(), ShiftFillLast(), and DTDataIntegrityTask::TimeHistos().

{ return accessRootObject(__PRETTY_FUNCTION__, 1)
    ->GetNbinsX(); }
int MonitorElement::getNbinsY ( void  ) const
int MonitorElement::getNbinsZ ( void  ) const

get # of bins in Z-axis

Definition at line 693 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().

    { return *data_.dirname; }
std::vector< QReport * > MonitorElement::getQErrors ( void  ) const

get errors from last set of quality tests

Definition at line 570 of file MonitorElement.cc.

References data_, 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 585 of file MonitorElement.cc.

References data_, 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
void MonitorElement::getQReport ( bool  create,
const std::string &  qtname,
QReport *&  qr,
DQMNet::QValue *&  qv 
) [private]

Definition at line 1381 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
std::vector< QReport * > MonitorElement::getQWarnings ( void  ) const

get warnings from last set of quality tests

Definition at line 555 of file MonitorElement.cc.

References data_, 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
TH1 * MonitorElement::getRefTH1 ( void  ) const
TH1D * MonitorElement::getRefTH1D ( void  ) const

Definition at line 1578 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 1560 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 1569 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 1605 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 1587 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 1596 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 1614 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 1623 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 1632 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
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 675 of file MonitorElement.cc.

References accessRootObject().

Referenced by BeamMonitor::FitAndFill().

{ return accessRootObject(__PRETTY_FUNCTION__, axis-1)
    ->GetRMSError(axis); }
TObject * MonitorElement::getRootObject ( void  ) const
const std::string& MonitorElement::getStringValue ( void  ) const [inline]

Definition at line 334 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 348 of file MonitorElement.h.

References data_, and DQMNet::CoreObject::tag.

    { return data_.tag; }
DQMNet::TagList MonitorElement::getTags ( void  ) const [inline]
TH1 * MonitorElement::getTH1 ( void  ) const

Definition at line 1466 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(), BeamMonitor::beginJob(), TrackingMonitor::beginJob(), JetMETHLTOfflineSource::beginRun(), BTagHLTOfflineSource::beginRun(), 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(), DT2DSegmentClients::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), DTRecHitClients::endLuminosityBlock(), DT4DSegmentClients::endLuminosityBlock(), RPCEfficiencyPerRingLayer::endRun(), DQMHistEffProducer::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(), SusyPostProcessor::QuantilePlots(), CSCMonitorObject::SetAxisRange(), CSCMonitorObject::SetBinError(), CSCMonitorObject::SetMaximum(), CSCMonitorObject::SetNormFactor(), DTLocalTriggerBaseTask::setQLabels(), DTLocalTriggerTask::setQLabels(), BTagHLTOfflineSource::TriggerPosition(), JetMETHLTOfflineSource::TriggerPosition(), and SiStripFEDCheckPlugin::updateHistograms().

{
  const_cast<MonitorElement *>(this)->update();
  return accessRootObject(__PRETTY_FUNCTION__, 0);
}
TH1D * MonitorElement::getTH1D ( void  ) const
TH1F * MonitorElement::getTH1F ( void  ) const

Definition at line 1473 of file MonitorElement.cc.

References accessRootObject(), DQM_KIND_TH1F, kind(), and update().

Referenced by SiStripGainFromData::algoBeginJob(), HLTJetMETDQMSource::analyze(), L1TCSCTFClient::analyze(), APVValidationPlots::beginJob(), RPCMonitorLinkSynchro::beginJob(), HLTMonPhotonClient::beginJob(), StripValidationPlots::beginJob(), HLTMonElectronConsumer::beginJob(), TrackEfficiencyClient::beginJob(), HLTMonBitSummary::beginRun(), DQMProvInfo::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(), L1TCSCTFClient::endLuminosityBlock(), DQMDcsInfoClient::endLuminosityBlock(), DTEfficiencyTest::endLuminosityBlock(), RPCMonitorLinkSynchro::endLuminosityBlock(), RPCDcsInfoClient::endLuminosityBlock(), TrackEfficiencyClient::endLuminosityBlock(), DTDataIntegrityTest::endLuminosityBlock(), DTResolutionAnalysisTest::endRun(), MuonRecoTest::endRun(), HLTOfflineReproducibilityDQM::endRun(), DQMHistPlotter::endRun(), RPCRecHitProbabilityClient::endRun(), FourVectorHLTClient::endRun(), TopHLTDiMuonDQMClient::endRun(), FastTimerServiceClient::endRun(), RPCBxTest::endRun(), PFMETAnalyzer::endRun(), DQMHistEffProducer::endRun(), CaloMETAnalyzer::endRun(), MuCorrMETAnalyzer::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(), FourVectorHLTOffline::fillHltMatrix(), FourVectorHLTOnline::fillHltMatrix(), TrigResRateMon::fillHltMatrix(), StorageAccount::fillSummary(), FlavourHistograms< T >::FlavourHistograms(), MuonTestSummary::GaussFit(), 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(), 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(), FourVectorHLTOffline::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
TH2D * MonitorElement::getTH2D ( void  ) const

Definition at line 1513 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 1497 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(), DQMProvInfo::beginRun(), HLTMonBitSummary::beginRun(), CaloTowerAnalyzer::beginRun(), HcalSummaryClient::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(), RPCMonitorRaw::endJob(), L1TGCTClient::endLuminosityBlock(), DTChamberEfficiencyTest::endLuminosityBlock(), RPCMonitorLinkSynchro::endLuminosityBlock(), DTOccupancyTest::endLuminosityBlock(), HcalBeamMonitor::endLuminosityBlock(), DTDeadChannelTest::endLuminosityBlock(), DTResolutionTest::endLuminosityBlock(), DTNoiseTest::endLuminosityBlock(), DTNoiseAnalysisTest::endLuminosityBlock(), DTDataIntegrityTest::endLuminosityBlock(), MuonRecoTest::endRun(), DataCertificationJetMET::endRun(), HLTOfflineReproducibilityDQM::endRun(), FourVectorHLTClient::endRun(), DTChamberEfficiencyClient::endRun(), L1TGCTClient::endRun(), PhotonDataCertification::endRun(), HLTMuonCertSummary::endRun(), HLTOverallSummary::endRun(), SiStripSummaryCreator::fillHistos(), FourVectorHLTOffline::fillHltMatrix(), TrigResRateMon::fillHltMatrix(), FourVectorHLTOnline::fillHltMatrix(), SiPixelActionExecutor::fillOccupancy(), SiStripQualityChecker::fillStatusHistogram(), SiPixelInformationExtractor::findNoisyPixels(), FitSlicesYTool::FitSlicesYTool(), FlavourHistograms2D< T, G >::FlavourHistograms2D(), HLTEventInfoClient::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(), HLTTauDQML1Plotter::HLTTauDQML1Plotter(), HcalBaseDQClient::htmlOutput(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), DQMGenericClient::limitedFit(), L1TGMTClient::makeEfficiency2D(), DTLocalTriggerEfficiencyTest::makeEfficiencyME2D(), DTTriggerEfficiencyTest::makeEfficiencyME2D(), L1TDTTPGClient::makeRatioHisto(), L1TDTTFClient::makeSummary(), CSCOfflineMonitor::normalize(), TrigResRateMon::normalizeHLTMatrix(), FourVectorHLTClient::normalizeHLTMatrix(), DTSegmentAnalysisTest::performClientDiagnostic(), CastorDataIntegrityMonitor::processEvent(), CastorPSMonitor::processEvent(), CastorChannelQualityMonitor::processEvent(), HcalBeamMonitor::processEvent(), ElectronDqmAnalyzerBase::profileX(), ElectronDqmAnalyzerBase::profileY(), MEtoEDMConverter::putData(), JetMETHLTOfflineClient::runClient_(), BTagHLTOfflineClient::runClient_(), 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(), FourVectorHLTOffline::setupHltMatrix(), 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 1505 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
std::string MonitorElement::getTitle ( void  ) const

get MonitorElement title

Definition at line 792 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 1529 of file MonitorElement.cc.

References accessRootObject(), DQM_KIND_TPROFILE, kind(), and update().

Referenced by EBTrendTask::analyze(), EETrendTask::analyze(), StripValidationPlots::beginJob(), ElectronDqmAnalyzerBase::bookP1(), DQMStore::collateProfile(), EmDQMPostProcessor::dividehistos(), MTVHistoProducerAlgo::doProfileX(), MuonTrackValidatorBase::doProfileX(), AlcaBeamMonitorClient::endLuminosityBlock(), AlcaBeamMonitor::endLuminosityBlock(), HltSusyExoPostProcessor::endRun(), EmDQMPostProcessor::endRun(), SiStripBaseCondObjDQM::fillSummaryMEs(), SiStripApvGainsDQM::fillSummaryMEs(), SiStripLorentzAngleDQM::fillSummaryMEs(), SiStripPedestalsDQM::fillSummaryMEs(), 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(), 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(), HcalRawDataMonitor::setup(), HcalBeamMonitor::setup(), HcalDeadCellMonitor::setup(), HcalTrigPrimMonitor::setup(), and HcalHotCellMonitor::setup().

{
  assert(kind() == DQM_KIND_TPROFILE);
  const_cast<MonitorElement *>(this)->update();
  return static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 1));
}
TProfile2D * MonitorElement::getTProfile2D ( void  ) const
double MonitorElement::getYmax ( void  ) const [private]

get max Y value (for profiles)

Definition at line 772 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 758 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]
bool MonitorElement::hasOtherReport ( void  ) const [inline]

true if at least of one of the tests returned some other (non-ok) status

Definition at line 184 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().

bool MonitorElement::hasWarning ( void  ) const [inline]
void MonitorElement::incompatible ( const char *  func) const [private]

Definition at line 635 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,
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;
}
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;
}
bool MonitorElement::isAccumulateEnabled ( void  ) const [inline, private]

whether ME contents should be accumulated over multiple monitoring periods; default: false

Definition at line 263 of file MonitorElement.h.

References data_, DQMNet::DQM_PROP_ACCUMULATE, and DQMNet::CoreObject::flags.

Referenced by copyFrom(), and copyFunctions().

bool MonitorElement::isSoftResetEnabled ( void  ) const [inline, private]

whether soft-reset is enabled; default is false

Definition at line 259 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(), Fill(), SiStripQualityChecker::fillDetectorStatusAtLumi(), SiStripSummaryCreator::fillHistos(), ecaldqm::fillME(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), SiStripQualityChecker::fillStatusHistogram(), SiStripCertificationInfo::fillTrackingCertificationMEs(), DQMService::flush(), 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().

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.

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::flush(), 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 517 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(), EBBeamHodoTask::analyze(), EEPedestalClient::analyze(), EETimingClient::analyze(), EBBeamCaloTask::analyze(), EESummaryClient::analyze(), HcalRecHitClient::analyze(), EBTimingClient::analyze(), EELaserClient::analyze(), EEIntegrityClient::analyze(), EEBeamHodoTask::analyze(), EETestPulseClient::analyze(), EEBeamCaloTask::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(), SiStripDaqInfo::beginRun(), DQMStore::book(), 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(), EEBeamCaloTask::reset(), EECosmicTask::reset(), HcalDeadCellMonitor::reset(), RPCFEDIntegrity::reset(), EERawDataTask::reset(), EETimingTask::reset(), EBLaserTask::reset(), EEBeamHodoTask::reset(), EETestPulseTask::reset(), EBTriggerTowerTask::reset(), EEClusterTask::reset(), EEDaqInfoTask::reset(), EEOccupancyTask::reset(), EESelectiveReadoutTask::reset(), HcalLSbyLSMonitor::reset(), EBBeamCaloTask::reset(), EBClusterTask::reset(), EBTimingTask::reset(), EEPedestalTask::reset(), HcalMonitorModule::reset(), HcalHotCellMonitor::reset(), EBBeamHodoTask::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(), EBBeamCaloClient::setup(), EBLaserClient::setup(), EELedClient::setup(), HcalBaseDQMonitor::setup(), EEBeamCaloClient::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 272 of file MonitorElement.h.

References data_, DQMNet::DQM_PROP_RESET, and DQMNet::CoreObject::flags.

Referenced by DQMStore::reset().

void MonitorElement::resetUpdate ( void  ) [inline, private]

reset "was updated" flag

Definition at line 268 of file MonitorElement.h.

References data_, and DQMNet::CoreObject::flags.

Referenced by DQMStore::forceReset(), and DQMStore::reset().

    { data_.flags &= ~DQMNet::DQM_PROP_NEW; }
void MonitorElement::runQTests ( void  )

run all quality tests

Definition at line 603 of file MonitorElement.cc.

References DQMNet::QValue::code, data_, 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  flag) [inline, private]

if true, will accumulate ME contents (over many periods) until method is called with flag = false again

Definition at line 277 of file MonitorElement.h.

References data_, DQMNet::DQM_PROP_ACCUMULATE, and DQMNet::CoreObject::flags.

Referenced by DQMStore::setAccumulate().

void MonitorElement::setAxisRange ( double  xmin,
double  xmax,
int  axis = 1 
)
void MonitorElement::setAxisTimeDisplay ( int  value,
int  axis = 1 
)

set x-, y-, or z-axis to display time values

Definition at line 912 of file MonitorElement.cc.

References getAxis(), and update().

{
  update();
  getAxis(__PRETTY_FUNCTION__, axis)
    ->SetTimeDisplay(value);
}
void MonitorElement::setAxisTimeFormat ( const char *  format = "",
int  axis = 1 
)

set the format of the time values that are displayed on an axis

Definition at line 921 of file MonitorElement.cc.

References getAxis(), and update().

{
  update();
  getAxis(__PRETTY_FUNCTION__, axis)
    ->SetTimeFormat(format);
}
void MonitorElement::setAxisTimeOffset ( double  toffset,
const char *  option = "local",
int  axis = 1 
) [private]

set the time offset, if option = "gmt" then the offset is treated as a GMT time

Definition at line 930 of file MonitorElement.cc.

References getAxis(), and update().

{
  update();
  getAxis(__PRETTY_FUNCTION__, axis)
    ->SetTimeOffset(toffset, option);
}
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 903 of file MonitorElement.cc.

References getAxis(), and update().

Referenced by BxTiming::beginJob(), HLTMuonDQMSource::beginJob(), TrackAnalyzer::beginJob(), EEDcsInfoTask::beginJob(), EEDaqInfoTask::beginJob(), EcalBarrelMonitorClient::beginJob(), DQMFEDIntegrityClient::beginJob(), MuonSeedsAnalyzer::beginJob(), TkAlCaRecoMonitor::beginJob(), ESSummaryClient::beginJob(), Vx3DHLTAnalyzer::beginJob(), HaloTrigger::beginJob(), L1TEventInfoClient::beginJob(), SiStripFEDCheckPlugin::beginJob(), L1TCSCTF::beginJob(), HLTMon::beginJob(), TrackSplittingMonitor::beginJob(), TrackEfficiencyMonitor::beginJob(), EcalEndcapMonitorClient::beginJob(), EBDataCertificationTask::beginJob(), DTBlockedROChannelsTest::beginJob(), MuonEnergyDepositAnalyzer::beginJob(), DQMHcalIsoTrackAlCaReco::beginJob(), L1TGT::beginJob(), AlcaBeamMonitor::beginJob(), DQMHcalPhiSymHLT::beginJob(), TauValidation::beginJob(), TrackBuildingAnalyzer::beginJob(), L1TDTTFClient::beginJob(), L1TRPCTF::beginJob(), BeamConditionsMonitor::beginJob(), ValidationHcalIsoTrackAlCaReco::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), DQMHOAlCaRecoStream::beginJob(), DQMHcalDiJetsAlCaReco::beginJob(), L1TEMUEventInfoClient::beginJob(), L1TDTTPG::beginJob(), L1TCompare::beginJob(), EBDcsInfoTask::beginJob(), EBDaqInfoTask::beginJob(), SegmentTrackAnalyzer::beginJob(), MuonRecoAnalyzer::beginJob(), DQMHcalIsoTrackHLT::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), L1TdeCSCTF::beginJob(), HLTAlCaMonPi0::beginJob(), DTDataIntegrityTest::beginJob(), ValHcalIsoTrackHLT::beginJob(), L1TDTTF::beginJob(), EEDataCertificationTask::beginJob(), BeamMonitor::beginJob(), DQMSourcePi0::beginJob(), TrackingMonitor::beginJob(), HLTAlCaMonEcalPhiSym::beginJob(), PiZeroAnalyzer::beginJob(), TrackEfficiencyClient::beginJob(), HLTEventInfoClient::beginJob(), DTOfflineSummaryClients::beginRun(), RPCBxTest::beginRun(), HLTSeedL1LogicScalers::beginRun(), DQMProvInfo::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), TrigResRateMon::beginRun(), AlcaBeamMonitor::beginRun(), SiStripMonitorRawData::beginRun(), FourVectorHLTOffline::beginRun(), SiPixelTrackResidualSource::beginRun(), SiStripLAProfileBooker::beginRun(), HcalDetDiagLaserMonitor::beginRun(), DTSummaryClients::beginRun(), FourVectorHLTOnline::beginRun(), HLTMonBTagIPSource::book(), SiPixelHitEfficiencyModule::book(), HLTMonBTagMuSource::book(), SiPixelClusterModule::book(), SiPixelTrackResidualModule::book(), SiPixelRecHitModule::book(), SiPixelDigiModule::book(), HLTMonBTagClient::book(), JPTJetAnalyzer::book2DHistogram(), L1TGMT::book_(), DTLocalTriggerTask::bookBarrelHistos(), DTLocalTriggerBaseTest::bookCmsHistos(), DTTriggerLutTest::bookCmsHistos1d(), SiStripBaseCondObjDQM::bookCumulMEs(), SiPixelRawDataErrorModule::bookFED(), SiPixelDataQuality::bookGlobalQualityFlag(), JPTJetAnalyzer::bookHistogram(), 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(), 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(), EETrendClient::setup(), EEPedestalClient::setup(), EBTimingTask::setup(), EBTestPulseTask::setup(), EBIntegrityTask::setup(), EBClusterTask::setup(), HcalZDCMonitor::setup(), HcalNZSMonitor::setup(), EEPedestalOnlineTask::setup(), EBTrendTask::setup(), EBStatusFlagsTask::setup(), EcalBarrelMonitorModule::setup(), HcalDigiMonitor::setup(), EBTriggerTowerClient::setup(), EBPedestalTask::setup(), HcalNoiseMonitor::setup(), EBSelectiveReadoutTask::setup(), EBTestPulseClient::setup(), EBIntegrityClient::setup(), EELaserTask::setup(), EELaserClient::setup(), EBOccupancyTask::setup(), HcalRawDataMonitor::setup(), HcalBeamMonitor::setup(), EEStatusFlagsTask::setup(), EEBeamCaloTask::setup(), EETriggerTowerClient::setup(), EBTrendClient::setup(), EBTimingClient::setup(), EEPedestalOnlineClient::setup(), EEIntegrityTask::setup(), EEBeamHodoTask::setup(), EBCosmicTask::setup(), EESelectiveReadoutTask::setup(), EETimingClient::setup(), EBTriggerTowerTask::setup(), EBPedestalOnlineClient::setup(), EECosmicTask::setup(), EcalEndcapMonitorModule::setup(), EETestPulseClient::setup(), EBLaserTask::setup(), EBBeamCaloTask::setup(), EBPedestalClient::setup(), EBSummaryClient::setup(), EETrendTask::setup(), EBBeamHodoTask::setup(), EBLaserClient::setup(), EBBeamCaloClient::setup(), EETriggerTowerTask::setup(), EETimingTask::setup(), EEOccupancyTask::setup(), EELedClient::setup(), EBPedestalOnlineTask::setup(), EETestPulseTask::setup(), EEPedestalTask::setup(), EELedTask::setup(), EEClusterTask::setup(), EESummaryClient::setup(), EEIntegrityClient::setup(), EEBeamCaloClient::setup(), HcalBaseMonitor::setupDepthHists1D(), HcalBaseMonitor::setupDepthHists2D(), HcalBaseMonitor::SetupEtaPhiHists(), HLXMonitor::SetupHists(), FourVectorHLTOffline::setupHltBxPlots(), FourVectorHLTOnline::setupHltBxPlots(), TrigResRateMon::setupHltBxPlots(), FourVectorHLTOffline::setupHltLsPlots(), FourVectorHLTOnline::setupHltLsPlots(), TrigResRateMon::setupHltLsPlots(), FourVectorHLTOffline::setupHltMatrix(), FourVectorHLTOnline::setupHltMatrix(), L1TDTTF::setWheelLabel(), and L1TDTTFClient::setWheelLabel().

{
  update();
  getAxis(__PRETTY_FUNCTION__, axis)
    ->SetTitle(title.c_str());
}
void MonitorElement::setBinContent ( int  binx,
double  content 
)

set content of bin (1-D)

Definition at line 800 of file MonitorElement.cc.

References accessRootObject(), and update().

Referenced by EBBeamCaloClient::analyze(), BxTiming::analyze(), HCALRecHitAnalyzer::analyze(), EBTriggerTowerClient::analyze(), EESelectiveReadoutTask::analyze(), ESSummaryClient::analyze(), L1TScalersSCAL::analyze(), HcalDigiClient::analyze(), EEBeamCaloClient::analyze(), EEPedestalClient::analyze(), EETimingClient::analyze(), EBBeamCaloTask::analyze(), EESummaryClient::analyze(), HLTJetMETDQMSource::analyze(), EBTimingClient::analyze(), EELaserClient::analyze(), EEIntegrityClient::analyze(), EETestPulseClient::analyze(), EEBeamCaloTask::analyze(), HLTMonBitSummary::analyze(), EEPedestalOnlineClient::analyze(), SiPixelDigiSource::analyze(), EBSummaryClient::analyze(), HcalSummaryClient::analyze(), HLTMuonDQMSource::analyze(), EETriggerTowerClient::analyze(), EBLaserClient::analyze(), EBTestPulseClient::analyze(), EBSelectiveReadoutTask::analyze(), EELedClient::analyze(), HLTScalers::analyze(), SiPixelRawDataErrorSource::analyze(), EBIntegrityClient::analyze(), EBPedestalClient::analyze(), EBPedestalOnlineClient::analyze(), EcalBarrelMonitorClient::beginJob(), ESSummaryClient::beginJob(), EcalEndcapMonitorClient::beginJob(), BeamMonitor::beginJob(), DQMProvInfo::beginRun(), RPCEventSummary::beginRun(), RPCDataCertification::beginRun(), HcalSummaryClient::beginRun(), RPCDCSSummary::beginRun(), SiPixelDataQuality::bookGlobalQualityFlag(), HCALRecHitAnalyzer::BookHistos(), ECALRecHitAnalyzer::BookHistos(), SiPixelSCurveCalibrationAnalysis::buildACurveHistogram(), L1TDTTFClient::buildHighQualityPlot(), L1TDTTFClient::buildPhiEtaPlotO(), L1TDTTFClient::buildPhiEtaPlotOFC(), L1TDTTFClient::buildSummaries(), EcalMixingModuleValidation::bunchSumTest(), L1THcalClient::calcEff(), 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(), 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(), EEDataCertificationTask::endLuminosityBlock(), DQMProvInfo::endLuminosityBlock(), HcalLSbyLSMonitor::endLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), EBDataCertificationTask::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), HcalDeadCellMonitor::endLuminosityBlock(), DQMDcsInfo::endLuminosityBlock(), HcalDAQInfo::endLuminosityBlock(), RPCDcsInfo::endLuminosityBlock(), HcalZDCMonitor::endLuminosityBlock(), HcalDCSInfo::endLuminosityBlock(), DTDataIntegrityTest::endLuminosityBlock(), MuonAlignmentSummary::endRun(), RPCDcsInfoClient::endRun(), DQMDcsInfoClient::endRun(), EcalEndcapMonitorClient::endRun(), EEDataCertificationTask::endRun(), RPCEfficiencyPerRingLayer::endRun(), EcalBarrelMonitorClient::endRun(), RPCEfficiencyShiftHisto::endRun(), DQMHcalPhiSymAlCaReco::endRun(), EBDataCertificationTask::endRun(), HltSusyExoPostProcessor::endRun(), RPCEfficiencySecond::endRun(), HcalRecHitMonitor::fill_Nevents(), SiPixelActionExecutor::fillDeviations(), QcdLowPtDQM::filldNdeta(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), ECALRecHitAnalyzer::FillGeometry(), HCALRecHitAnalyzer::FillGeometry(), RPCNoisyStripTest::fillGlobalME(), RPCMultiplicityTest::fillGlobalME(), RPCOccupancyTest::fillGlobalME(), SiPixelDataQuality::fillGlobalQualityPlot(), HLXMonitor::FillHistograms(), DQMFEDIntegrityClient::fillHistograms(), SiStripSummaryCreator::fillHistos(), HcalDetDiagLaserMonitor::fillHistos(), EBDaqInfoTask::fillMonitorElements(), EBDcsInfoTask::fillMonitorElements(), RPCChamberQuality::fillMonitorElements(), EEDaqInfoTask::fillMonitorElements(), EEDcsInfoTask::fillMonitorElements(), SiPixelActionExecutor::fillOccupancy(), MTVHistoProducerAlgo::fillPlotFromVector(), MuonTrackValidatorBase::fillPlotFromVector(), MTVHistoProducerAlgo::fillPlotFromVectors(), MuonTrackValidatorBase::fillPlotFromVectors(), L1TRPCTF::fillRateHistos(), 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(), EgHLTOfflineSummaryClient::runClient_(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), CSCMonitorObject::SetBinContent(), L1TDTTFClient::setGMTsummary(), HcalSubdetDigiMonitor::setMeElementBinContent(), DTTimeEvolutionHisto::setTimeSlotValue(), EEPedestalClient::setup(), HcalDetDiagTimingMonitor::setup(), EBTestPulseClient::setup(), EBIntegrityClient::setup(), EELaserClient::setup(), EBTimingClient::setup(), EEPedestalOnlineClient::setup(), EBPedestalOnlineClient::setup(), EETimingClient::setup(), EBPedestalClient::setup(), EETestPulseClient::setup(), EBBeamCaloClient::setup(), EBLaserClient::setup(), EELedClient::setup(), EEBeamCaloClient::setup(), EEIntegrityClient::setup(), HLXMonitor::SetupEventInfo(), ShiftFillLast(), HcalEEUSMonitor::unpack(), HcalRawDataMonitor::UpdateMEs(), and ECALRecHitAnalyzer::WriteECALRecHits().

{
  update();
  accessRootObject(__PRETTY_FUNCTION__, 1)
    ->SetBinContent(binx, content);
}
void MonitorElement::setBinContent ( int  binx,
int  biny,
double  content 
)

set content of bin (2-D)

Definition at line 809 of file MonitorElement.cc.

References accessRootObject(), and update().

{
  update();
  accessRootObject(__PRETTY_FUNCTION__, 2)
    ->SetBinContent(binx, biny, content); }
void MonitorElement::setBinContent ( int  binx,
int  biny,
int  binz,
double  content 
)

set content of bin (3-D)

Definition at line 817 of file MonitorElement.cc.

References accessRootObject(), and update().

{
  update();
  accessRootObject(__PRETTY_FUNCTION__, 3)
    ->SetBinContent(binx, biny, binz, content); }
void MonitorElement::setBinEntries ( int  bin,
double  nentries 
)

set # of bin entries (to be used for profiles)

Definition at line 852 of file MonitorElement.cc.

References accessRootObject(), DQM_KIND_TPROFILE, DQM_KIND_TPROFILE2D, incompatible(), kind(), and update().

Referenced by HltSusyExoPostProcessor::endRun().

{
  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 825 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(), HLTMuonDQMSource::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(), and ShiftFillLast().

{
  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 843 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 834 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 876 of file MonitorElement.cc.

References gather_cfg::cout, getAxis(), and update().

Referenced by TriggerValidator::analyze(), BeamMonitor::analyze(), HLTMuonDQMSource::beginJob(), PFJetAnalyzer::beginJob(), BasicHepMCValidation::beginJob(), HaloTrigger::beginJob(), HcalDCSInfo::beginJob(), DQMFEDIntegrityClient::beginJob(), HcalDAQInfo::beginJob(), HLTMonPhotonSource::beginJob(), L1TFED::beginJob(), RPCDaqInfo::beginJob(), METAnalyzer::beginJob(), HLTMon::beginJob(), L1TCSCTF::beginJob(), TopDiLeptonDQM::beginJob(), TcMETAnalyzer::beginJob(), HLTMonPhotonClient::beginJob(), LaserAlignmentT0ProducerDQM::beginJob(), L1TGT::beginJob(), L1TRPCTF::beginJob(), L1TDTTFClient::beginJob(), MonitorLTC::beginJob(), PFMETAnalyzer::beginJob(), TauValidation::beginJob(), L1TdeGCT::beginJob(), L1TDTTPG::beginJob(), JetPtAnalyzer::beginJob(), MuCorrMETAnalyzer::beginJob(), MuonRecoAnalyzer::beginJob(), SegmentTrackAnalyzer::beginJob(), HcalDataCertification::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), L1TDEMON::beginJob(), BeamMonitor::beginJob(), L1TDTTF::beginJob(), HTMHTAnalyzer::beginJob(), EmDQMReco::beginJob(), JetAnalyzer::beginJob(), CaloMETAnalyzer::beginJob(), L1GtHwValidation::beginRun(), HLTJetMETDQMSource::beginRun(), RPCEfficiencyShiftHisto::beginRun(), DQMProvInfo::beginRun(), RPCEventSummary::beginRun(), TrigResRateMon::beginRun(), RPCChamberQuality::beginRun(), RPCDataCertification::beginRun(), HcalSummaryClient::beginRun(), SiPixelTrackResidualSource::beginRun(), FourVectorHLTOffline::beginRun(), HcalDetDiagLaserMonitor::beginRun(), RPCDCSSummary::beginRun(), BTagHLTOfflineSource::beginRun(), JetMETHLTOfflineSource::beginRun(), FourVectorHLTOnline::beginRun(), L1TGMT::book_(), HltSusyExoPostProcessor::bookEffMEProfileFromTH1(), SiPixelDataQuality::bookGlobalQualityFlag(), EwkMuTauHistManager::bookHistograms(), EwkElecTauHistManager::bookHistograms(), L1GtHwValidation::bookHistograms(), 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(), MuonAlignmentSummary::endRun(), DataCertificationJetMET::endRun(), RPCDcsInfoClient::endRun(), DQMDcsInfoClient::endRun(), RPCEfficiencyPerRingLayer::endRun(), HltSusyExoPostProcessor::endRun(), RPCEfficiencySecond::endRun(), SiPixelActionExecutor::fillFEDErrorSummary(), HLTScalersClient::HLTScalersClient(), HLTTauDQMLitePathPlotter::HLTTauDQMLitePathPlotter(), HLTTauDQMPathPlotter::HLTTauDQMPathPlotter(), 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(), EcalBarrelMonitorModule::setup(), EBStatusFlagsTask::setup(), HcalEEUSMonitor::setup(), HcalNZSMonitor::setup(), HcalZDCMonitor::setup(), HcalDetDiagTimingMonitor::setup(), HcalDigiMonitor::setup(), HcalRecHitMonitor::setup(), EBSelectiveReadoutTask::setup(), HcalNoiseMonitor::setup(), EEStatusFlagsTask::setup(), HcalBeamMonitor::setup(), HcalRawDataMonitor::setup(), EBRawDataTask::setup(), EEIntegrityTask::setup(), EESelectiveReadoutTask::setup(), EcalEndcapMonitorModule::setup(), HcalMonitorModule::setup(), HcalDeadCellMonitor::setup(), EBSummaryClient::setup(), EERawDataTask::setup(), EESummaryClient::setup(), FourVectorHLTOnline::setupHltLsPlots(), TrigResRateMon::setupHltLsPlots(), HcalDigiMonitor::setupSubdetHists(), L1TDTTF::setWheelLabel(), L1TDTTFClient::setWheelLabel(), ShiftFillLast(), 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::setEntries ( double  nentries)
void MonitorElement::setLumiFlag ( void  ) [inline]
void MonitorElement::setResetMe ( bool  flag) [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().

void MonitorElement::setTitle ( const std::string &  title)
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, MultiGaussianStateTransform::N, RecoTauCommonJetSelections_cfi::nbins, asciidump::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 971 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_, csvReporter::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.

{
  char buf[32];
  std::string result;
  size_t len = sprintf(buf, "t=%" PRIu32, data_.tag);

  result.reserve(6 + 2*data_.objname.size() + len);
  result += '<'; result += data_.objname; result += '>';
  result += buf;
  result += '<'; result += '/'; result += data_.objname; result += '>';
  return result;
}
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().

{
  std::string result;
  std::string val(valueString());
  result.reserve(6 + 2*data_.objname.size() + val.size());
  result += '<'; result += data_.objname; result += '>';
  result += val;
  result += '<'; result += '/'; result += data_.objname; result += '>';
  return result;
}
void MonitorElement::update ( void  ) [inline]
void MonitorElement::updateQReportStats ( void  ) [private]

Refresh QReport stats, usually after MEs were read in from a file.

Definition at line 1437 of file MonitorElement.cc.

References data_, DQMNet::DQM_PROP_REPORT_ERROR, DQMNet::DQM_PROP_REPORT_OTHER, DQMNet::DQM_PROP_REPORT_WARN, 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::flush(), and runQTests().


Friends And Related Function Documentation

friend class DQMService [friend]

Definition at line 37 of file MonitorElement.h.

friend class DQMStore [friend]

Definition at line 36 of file MonitorElement.h.


Member Data Documentation

TH1* MonitorElement::object_ [private]
std::vector<QReport> MonitorElement::qreports_ [private]
TH1* MonitorElement::refvalue_ [private]