CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends
MonitorElement Class Reference

#include <MonitorElement.h>

Classes

struct  fits_in_int64_t
 
struct  Scalar
 

Public Types

enum  Kind {
  DQM_KIND_INVALID = DQMNet::DQM_PROP_TYPE_INVALID, DQM_KIND_INT = DQMNet::DQM_PROP_TYPE_INT, DQM_KIND_REAL = DQMNet::DQM_PROP_TYPE_REAL, DQM_KIND_STRING = DQMNet::DQM_PROP_TYPE_STRING,
  DQM_KIND_TH1F = DQMNet::DQM_PROP_TYPE_TH1F, DQM_KIND_TH1S = DQMNet::DQM_PROP_TYPE_TH1S, DQM_KIND_TH1D = DQMNet::DQM_PROP_TYPE_TH1D, DQM_KIND_TH2F = DQMNet::DQM_PROP_TYPE_TH2F,
  DQM_KIND_TH2S = DQMNet::DQM_PROP_TYPE_TH2S, DQM_KIND_TH2D = DQMNet::DQM_PROP_TYPE_TH2D, DQM_KIND_TH3F = DQMNet::DQM_PROP_TYPE_TH3F, DQM_KIND_TPROFILE = DQMNet::DQM_PROP_TYPE_TPROF,
  DQM_KIND_TPROFILE2D = DQMNet::DQM_PROP_TYPE_TPROF2D
}
 

Public Member Functions

std::string effLabelString () const
 return label string for the monitor element tag (eg. <name>t=12345</name>) More...
 
void Fill (long long x)
 
void Fill (unsigned long long x)
 
void Fill (unsigned long x)
 
void Fill (long x)
 
void Fill (unsigned int x)
 
void Fill (int x)
 
void Fill (short x)
 
void Fill (unsigned short x)
 
void Fill (char x)
 
void Fill (unsigned char x)
 
void Fill (float x)
 
void Fill (double x)
 "Fill" ME methods for double More...
 
void Fill (std::string &value)
 "Fill" ME methods for string More...
 
void Fill (double x, double yw)
 can be used with 2D (x,y) or 1D (x, w) histograms More...
 
void Fill (double x, double y, double zw)
 can be used with 3D (x, y, z) or 2D (x, y, w) histograms More...
 
void Fill (double x, double y, double z, double w)
 can be used with 3D (x, y, z, w) histograms More...
 
uint32_t flags () const
 Get the object flags. More...
 
std::string getAxisTitle (int axis=1) const
 get x-, y- or z-axis title (axis=1, 2, 3 respectively) More...
 
double getBinContent (int binx) const
 get content of bin (1-D) More...
 
double getBinContent (int binx, int biny) const
 get content of bin (2-D) More...
 
double getBinContent (int binx, int biny, int binz) const
 get content of bin (3-D) More...
 
double getBinEntries (int bin) const
 get # of bin entries (for profiles) More...
 
double getBinError (int binx) const
 get uncertainty on content of bin (1-D) - See TH1::GetBinError for details More...
 
double getBinError (int binx, int biny) const
 get uncertainty on content of bin (2-D) - See TH1::GetBinError for details More...
 
double getBinError (int binx, int biny, int binz) const
 get uncertainty on content of bin (3-D) - See TH1::GetBinError for details More...
 
double getEntries () const
 get # of entries More...
 
double getFloatValue () const
 
const std::string getFullname () const
 get full name of ME including Pathname More...
 
int64_t getIntValue () const
 
bool getLumiFlag () const
 true if ME is meant to be stored for each luminosity section More...
 
double getMean (int axis=1) const
 get mean value of histogram along x, y or z axis (axis=1, 2, 3 respectively) More...
 
double getMeanError (int axis=1) const
 
const std::string & getName () const
 get name of ME More...
 
int getNbinsX () const
 get # of bins in X-axis More...
 
int getNbinsY () const
 get # of bins in Y-axis More...
 
int getNbinsZ () const
 get # of bins in Z-axis More...
 
const std::string & getPathname () const
 get pathname of parent folder More...
 
std::vector< QReport * > getQErrors () const
 get errors from last set of quality tests More...
 
std::vector< QReport * > getQOthers () const
 
const QReportgetQReport (const std::string &qtname) const
 get QReport corresponding to <qtname> (null pointer if QReport does not exist) More...
 
std::vector< QReport * > getQReports () const
 get map of QReports More...
 
std::vector< QReport * > getQWarnings () const
 get warnings from last set of quality tests More...
 
TObject * getRefRootObject () const
 
TH1 * getRefTH1 () const
 
TH1D * getRefTH1D () const
 
TH1F * getRefTH1F () const
 
TH1S * getRefTH1S () const
 
TH2D * getRefTH2D () const
 
TH2F * getRefTH2F () const
 
TH2S * getRefTH2S () const
 
TH3F * getRefTH3F () const
 
TProfile * getRefTProfile () const
 
TProfile2D * getRefTProfile2D () const
 
double getRMS (int axis=1) const
 get RMS of histogram along x, y or z axis (axis=1, 2, 3 respectively) More...
 
double getRMSError (int axis=1) const
 get RMS uncertainty of histogram along x, y or z axis(axis=1,2,3 respectively) More...
 
TObject * getRootObject () const
 
const std::string & getStringValue () const
 
const uint32_t getTag () const
 
DQMNet::TagList getTags () const
 
TH1 * getTH1 () const
 
TH1D * getTH1D () const
 
TH1F * getTH1F () const
 
TH1S * getTH1S () const
 
TH2D * getTH2D () const
 
TH2F * getTH2F () const
 
TH2S * getTH2S () const
 
TH3F * getTH3F () const
 
std::string getTitle () const
 get MonitorElement title More...
 
TProfile * getTProfile () const
 
TProfile2D * getTProfile2D () const
 
bool hasError () const
 true if at least of one of the quality tests returned an error More...
 
bool hasOtherReport () const
 true if at least of one of the tests returned some other (non-ok) status More...
 
bool hasWarning () const
 true if at least of one of the quality tests returned a warning More...
 
bool isEfficiency () const
 
Kind kind () const
 Get the type of the monitor element. More...
 
const uint32_t lumi () const
 
const uint32_t moduleId () const
 
 MonitorElement ()
 
 MonitorElement (const std::string *path, const std::string &name)
 
 MonitorElement (const std::string *path, const std::string &name, uint32_t run, uint32_t moduleId)
 
 MonitorElement (const MonitorElement &, MonitorElementNoCloneTag)
 
 MonitorElement (const MonitorElement &)
 
 MonitorElement (MonitorElement &&)
 
bool operator< (const MonitorElement &x) const
 Compare monitor elements, for ordering in sets. More...
 
MonitorElementoperator= (const MonitorElement &)=delete
 
MonitorElementoperator= (MonitorElement &&)=delete
 
void packQualityData (std::string &into) const
 serialise quality report information into a string. More...
 
void packScalarData (std::string &into, const char *prefix) const
 convert scalar data into a string. More...
 
std::string qualityTagString (const DQMNet::QValue &qv) const
 
void Reset ()
 reset ME (ie. contents, errors, etc) More...
 
const uint32_t run () const
 
void runQTests ()
 run all quality tests More...
 
void setAxisRange (double xmin, double xmax, int axis=1)
 set x-, y- or z-axis range (axis=1, 2, 3 respectively) More...
 
void setAxisTimeDisplay (int value, int axis=1)
 set x-, y-, or z-axis to display time values More...
 
void setAxisTimeFormat (const char *format="", int axis=1)
 set the format of the time values that are displayed on an axis More...
 
void setAxisTitle (const std::string &title, int axis=1)
 set x-, y- or z-axis title (axis=1, 2, 3 respectively) More...
 
void setBinContent (int binx, double content)
 set content of bin (1-D) More...
 
void setBinContent (int binx, int biny, double content)
 set content of bin (2-D) More...
 
void setBinContent (int binx, int biny, int binz, double content)
 set content of bin (3-D) More...
 
void setBinEntries (int bin, double nentries)
 set # of bin entries (to be used for profiles) More...
 
void setBinError (int binx, double error)
 set uncertainty on content of bin (1-D) More...
 
void setBinError (int binx, int biny, double error)
 set uncertainty on content of bin (2-D) More...
 
void setBinError (int binx, int biny, int binz, double error)
 set uncertainty on content of bin (3-D) More...
 
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) More...
 
void setEfficiencyFlag ()
 
void setEntries (double nentries)
 set # of entries More...
 
void setLumiFlag ()
 this ME is meant to be stored for each luminosity section More...
 
void setResetMe (bool)
 
void setTitle (const std::string &title)
 set (ie. change) histogram/profile title More...
 
void ShiftFillLast (double y, double ye=0., int32_t xscale=1)
 
void softReset ()
 
std::string tagLabelString () const
 return label string for the monitor element tag (eg. <name>t=12345</name>) More...
 
std::string tagString () const
 
void update ()
 Mark the object updated. More...
 
std::string valueString () const
 
bool wasUpdated () const
 true if ME was updated in last monitoring cycle More...
 
 ~MonitorElement ()
 

Static Public Member Functions

static bool CheckBinLabels (const TAxis *a1, const TAxis *a2)
 Check the consistency of the axis labels. More...
 

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. More...
 
void addQReport (QCriterion *qc)
 
void copyFrom (TH1 *from)
 
void copyFunctions (TH1 *from, TH1 *to)
 
void disableSoftReset ()
 reverts action of softReset More...
 
void doFill (int64_t x)
 "Fill" ME method for int64_t More...
 
TAxis * getAxis (const char *func, int axis) const
 
void getQReport (bool create, const std::string &qtname, QReport *&qr, DQMNet::QValue *&qv)
 
double getYmax () const
 get max Y value (for profiles) More...
 
double getYmin () const
 get min Y value (for profiles) More...
 
void globalize ()
 
void incompatible (const char *func) const
 
MonitorElementinitialise (Kind kind)
 
MonitorElementinitialise (Kind kind, TH1 *rootobj)
 
MonitorElementinitialise (Kind kind, const std::string &value)
 
bool isAccumulateEnabled () const
 whether ME contents should be accumulated over multiple monitoring periods; default: false More...
 
bool isSoftResetEnabled () const
 whether soft-reset is enabled; default is false More...
 
bool markedToDelete () const
 true if ME is marked for deletion More...
 
void markToDelete ()
 
bool resetMe () const
 true if ME should be reset at end of monitoring cycle More...
 
void resetUpdate ()
 reset "was updated" flag More...
 
void setAccumulate (bool)
 
void setAxisTimeOffset (double toffset, const char *option="local", int axis=1)
 set the time offset, if option = "gmt" then the offset is treated as a GMT time More...
 
void setLumi (uint32_t ls)
 
void updateQReportStats ()
 Refresh QReport stats, usually after MEs were read in from a file. More...
 

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 37 of file MonitorElement.h.

Member Enumeration Documentation

Enumerator
DQM_KIND_INVALID 
DQM_KIND_INT 
DQM_KIND_REAL 
DQM_KIND_STRING 
DQM_KIND_TH1F 
DQM_KIND_TH1S 
DQM_KIND_TH1D 
DQM_KIND_TH2F 
DQM_KIND_TH2S 
DQM_KIND_TH2D 
DQM_KIND_TH3F 
DQM_KIND_TPROFILE 
DQM_KIND_TPROFILE2D 

Definition at line 49 of file MonitorElement.h.

50  {
64  };
static const uint32_t DQM_PROP_TYPE_TH1S
Definition: DQMNet.h:33
static const uint32_t DQM_PROP_TYPE_TPROF
Definition: DQMNet.h:41
static const uint32_t DQM_PROP_TYPE_TH2D
Definition: DQMNet.h:37
static const uint32_t DQM_PROP_TYPE_TH3F
Definition: DQMNet.h:38
static const uint32_t DQM_PROP_TYPE_TH1F
Definition: DQMNet.h:32
static const uint32_t DQM_PROP_TYPE_INT
Definition: DQMNet.h:29
static const uint32_t DQM_PROP_TYPE_TH1D
Definition: DQMNet.h:34
static const uint32_t DQM_PROP_TYPE_TH2S
Definition: DQMNet.h:36
static const uint32_t DQM_PROP_TYPE_STRING
Definition: DQMNet.h:31
static const uint32_t DQM_PROP_TYPE_REAL
Definition: DQMNet.h:30
static const uint32_t DQM_PROP_TYPE_INVALID
Definition: DQMNet.h:28
static const uint32_t DQM_PROP_TYPE_TPROF2D
Definition: DQMNet.h:42
static const uint32_t DQM_PROP_TYPE_TH2F
Definition: DQMNet.h:35

Constructor & Destructor Documentation

MonitorElement::MonitorElement ( )

Definition at line 151 of file MonitorElement.cc.

References data_, DQMNet::CoreObject::dirname, DQM_KIND_INVALID, DQMNet::DQM_PROP_NEW, DQMNet::CoreObject::flags, DQMNet::CoreObject::lumi, DQMNet::CoreObject::moduleId, MonitorElement::Scalar::num, MonitorElement::Scalar::real, DQMNet::CoreObject::run, scalar_, DQMNet::CoreObject::streamId, DQMNet::CoreObject::tag, and DQMNet::CoreObject::version.

152  : object_(nullptr),
153  reference_(nullptr),
154  refvalue_(nullptr)
155 {
156  data_.version = 0;
157  data_.dirname = nullptr;
158  data_.run = 0;
159  data_.lumi = 0;
160  data_.streamId = 0;
161  data_.moduleId = 0;
162  data_.tag = 0;
164  scalar_.num = 0;
165  scalar_.real = 0;
166 }
uint32_t moduleId
Definition: DQMNet.h:105
uint64_t version
Definition: DQMNet.h:101
uint32_t flags
Definition: DQMNet.h:99
uint32_t tag
Definition: DQMNet.h:100
const std::string * dirname
Definition: DQMNet.h:106
uint32_t run
Definition: DQMNet.h:102
uint32_t lumi
Definition: DQMNet.h:103
DQMNet::CoreObject data_
static const uint32_t DQM_PROP_NEW
Definition: DQMNet.h:59
uint32_t streamId
Definition: DQMNet.h:104
MonitorElement::MonitorElement ( const std::string *  path,
const std::string &  name 
)

Definition at line 168 of file MonitorElement.cc.

References data_, DQMNet::CoreObject::dirname, DQM_KIND_INVALID, DQMNet::DQM_PROP_NEW, DQMNet::CoreObject::flags, DQMNet::CoreObject::lumi, DQMNet::CoreObject::moduleId, dataset::name, MonitorElement::Scalar::num, DQMNet::CoreObject::objname, callgraph::path, MonitorElement::Scalar::real, DQMNet::CoreObject::run, scalar_, DQMNet::CoreObject::streamId, DQMNet::CoreObject::tag, and DQMNet::CoreObject::version.

170  : object_(nullptr),
171  reference_(nullptr),
172  refvalue_(nullptr)
173 {
174  data_.version = 0;
175  data_.run = 0;
176  data_.lumi = 0;
177  data_.streamId = 0;
178  data_.moduleId = 0;
179  data_.dirname = path;
180  data_.objname = name;
181  data_.tag = 0;
183  scalar_.num = 0;
184  scalar_.real = 0;
185 }
uint32_t moduleId
Definition: DQMNet.h:105
uint64_t version
Definition: DQMNet.h:101
uint32_t flags
Definition: DQMNet.h:99
uint32_t tag
Definition: DQMNet.h:100
const std::string * dirname
Definition: DQMNet.h:106
uint32_t run
Definition: DQMNet.h:102
uint32_t lumi
Definition: DQMNet.h:103
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
static const uint32_t DQM_PROP_NEW
Definition: DQMNet.h:59
uint32_t streamId
Definition: DQMNet.h:104
MonitorElement::MonitorElement ( const std::string *  path,
const std::string &  name,
uint32_t  run,
uint32_t  moduleId 
)

Definition at line 187 of file MonitorElement.cc.

References data_, DQMNet::CoreObject::dirname, DQM_KIND_INVALID, DQMNet::DQM_PROP_NEW, DQMNet::CoreObject::flags, DQMNet::CoreObject::lumi, DQMNet::CoreObject::moduleId, moduleId(), dataset::name, MonitorElement::Scalar::num, DQMNet::CoreObject::objname, callgraph::path, MonitorElement::Scalar::real, DQMNet::CoreObject::run, run(), scalar_, DQMNet::CoreObject::streamId, DQMNet::CoreObject::tag, and DQMNet::CoreObject::version.

191  : object_(nullptr),
192  reference_(nullptr),
193  refvalue_(nullptr)
194 {
195  data_.version = 0;
196  data_.run = run;
197  data_.lumi = 0;
198  data_.streamId = 0;
200  data_.dirname = path;
201  data_.objname = name;
202  data_.tag = 0;
204  scalar_.num = 0;
205  scalar_.real = 0;
206 }
uint32_t moduleId
Definition: DQMNet.h:105
uint64_t version
Definition: DQMNet.h:101
uint32_t flags
Definition: DQMNet.h:99
uint32_t tag
Definition: DQMNet.h:100
const std::string * dirname
Definition: DQMNet.h:106
uint32_t run
Definition: DQMNet.h:102
uint32_t lumi
Definition: DQMNet.h:103
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
const uint32_t moduleId() const
static const uint32_t DQM_PROP_NEW
Definition: DQMNet.h:59
uint32_t streamId
Definition: DQMNet.h:104
const uint32_t run() const
MonitorElement::MonitorElement ( const MonitorElement x,
MonitorElementNoCloneTag   
)

Definition at line 208 of file MonitorElement.cc.

209  : data_(x.data_),
210  scalar_(x.scalar_),
211  object_(nullptr),
213  refvalue_(nullptr),
215 {
216 }
std::vector< QReport > qreports_
DQMNet::CoreObject data_
MonitorElement::MonitorElement ( const MonitorElement x)

Definition at line 218 of file MonitorElement.cc.

References object_, and refvalue_.

220 {
221  if (x.object_)
222  object_ = static_cast<TH1 *>(x.object_->Clone());
223 
224  if (x.refvalue_)
225  refvalue_ = static_cast<TH1 *>(x.refvalue_->Clone());
226 }
MonitorElement::MonitorElement ( MonitorElement &&  o)

Definition at line 228 of file MonitorElement.cc.

References connectstrParser::o, object_, and refvalue_.

230 {
231  object_ = o.object_;
232  refvalue_ = o.refvalue_;
233 
234  o.object_ = nullptr;
235  o.refvalue_ = nullptr;
236 }
MonitorElement::~MonitorElement ( )

Definition at line 238 of file MonitorElement.cc.

References object_, and refvalue_.

239 {
240  delete object_;
241  delete refvalue_;
242 }

Member Function Documentation

TH1 * MonitorElement::accessRootObject ( const char *  func,
int  reqdim 
) const
private

Definition at line 708 of file MonitorElement.cc.

References checkRootObject(), data_, DQM_KIND_TH1F, kind(), object_, DQMNet::CoreObject::objname, and raiseDQMError().

Referenced by copyFrom(), doFill(), Fill(), getAxis(), getBinContent(), getBinEntries(), getBinError(), getEntries(), getMean(), getMeanError(), getNbinsX(), getNbinsY(), getNbinsZ(), getRMS(), getRMSError(), getTH1(), getTH1D(), getTH1F(), getTH1S(), getTH2D(), getTH2F(), getTH2S(), getTH3F(), getTitle(), getTProfile(), getTProfile2D(), getYmax(), getYmin(), Reset(), setBinContent(), setBinEntries(), setBinError(), setEntries(), and setTitle().

709 {
710  if (kind() < DQM_KIND_TH1F)
711  raiseDQMError("MonitorElement", "Method '%s' cannot be invoked on monitor"
712  " element '%s' because it is not a root object",
713  func, data_.objname.c_str());
714 
715  return checkRootObject(data_.objname, object_, func, reqdim);
716 }
static TH1 * checkRootObject(const std::string &name, TObject *tobj, const char *func, int reqdim)
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
Kind kind() const
Get the type of the monitor element.
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
void MonitorElement::addProfiles ( TProfile *  h1,
TProfile *  h2,
TProfile *  sum,
float  c1,
float  c2 
)
private

Definition at line 1219 of file MonitorElement.cc.

References Abs(), stringResolutionProvider_cfi::bin, ws_sso_content_reader::content, relativeConstraints::error, and mps_fire::i.

Referenced by DQMStore::collateProfile(), DQMStore::collateProfile2D(), copyFrom(), disableSoftReset(), and softReset().

1220 {
1221  assert(h1);
1222  assert(h2);
1223  assert(sum);
1224 
1225  static const Int_t NUM_STAT = 6;
1226  Double_t stats1[NUM_STAT];
1227  Double_t stats2[NUM_STAT];
1228  Double_t stats3[NUM_STAT];
1229 
1230  bool isRebinOn = sum->CanExtendAllAxes();
1231  sum->SetCanExtend(TH1::kNoAxis);
1232 
1233  for (Int_t i = 0; i < NUM_STAT; ++i)
1234  stats1[i] = stats2[i] = stats3[i] = 0;
1235 
1236  h1->GetStats(stats1);
1237  h2->GetStats(stats2);
1238 
1239  for (Int_t i = 0; i < NUM_STAT; ++i)
1240  stats3[i] = c1*stats1[i] + c2*stats2[i];
1241 
1242  stats3[1] = c1*TMath::Abs(c1)*stats1[1]
1243  + c2*TMath::Abs(c2)*stats2[1];
1244 
1245  Double_t entries = c1*h1->GetEntries() + c2* h2->GetEntries();
1246  TArrayD* h1sumw2 = h1->GetSumw2();
1247  TArrayD* h2sumw2 = h2->GetSumw2();
1248  for (Int_t bin = 0, nbin = sum->GetNbinsX()+1; bin <= nbin; ++bin)
1249  {
1250  Double_t entries = c1*h1->GetBinEntries(bin)
1251  + c2*h2->GetBinEntries(bin);
1252  Double_t content = c1*h1->GetBinEntries(bin)*h1->GetBinContent(bin)
1253  + c2*h2->GetBinEntries(bin)*h2->GetBinContent(bin);
1254  Double_t error = TMath::Sqrt(c1*TMath::Abs(c1)*h1sumw2->fArray[bin]
1255  + c2*TMath::Abs(c2)*h2sumw2->fArray[bin]);
1256  sum->SetBinContent(bin, content);
1257  sum->SetBinError(bin, error);
1258  sum->SetBinEntries(bin, entries);
1259  }
1260 
1261  sum->SetEntries(entries);
1262  sum->PutStats(stats3);
1263  if (isRebinOn) sum->SetCanExtend(TH1::kAllAxes);
1264 }
T Abs(T a)
Definition: MathUtil.h:49
bin
set the eta bin as selection string.
void MonitorElement::addProfiles ( TProfile2D *  h1,
TProfile2D *  h2,
TProfile2D *  sum,
float  c1,
float  c2 
)
private

Definition at line 1269 of file MonitorElement.cc.

References Abs(), stringResolutionProvider_cfi::bin, ws_sso_content_reader::content, relativeConstraints::error, and mps_fire::i.

1270 {
1271  assert(h1);
1272  assert(h2);
1273  assert(sum);
1274 
1275  static const Int_t NUM_STAT = 9;
1276  Double_t stats1[NUM_STAT];
1277  Double_t stats2[NUM_STAT];
1278  Double_t stats3[NUM_STAT];
1279 
1280  bool isRebinOn = sum->CanExtendAllAxes();
1281  sum->SetCanExtend(TH1::kNoAxis);
1282 
1283  for (Int_t i = 0; i < NUM_STAT; ++i)
1284  stats1[i] = stats2[i] = stats3[i] = 0;
1285 
1286  h1->GetStats(stats1);
1287  h2->GetStats(stats2);
1288 
1289  for (Int_t i = 0; i < NUM_STAT; i++)
1290  stats3[i] = c1*stats1[i] + c2*stats2[i];
1291 
1292  stats3[1] = c1*TMath::Abs(c1)*stats1[1]
1293  + c2*TMath::Abs(c2)*stats2[1];
1294 
1295  Double_t entries = c1*h1->GetEntries() + c2*h2->GetEntries();
1296  TArrayD *h1sumw2 = h1->GetSumw2();
1297  TArrayD *h2sumw2 = h2->GetSumw2();
1298  for (Int_t xbin = 0, nxbin = sum->GetNbinsX()+1; xbin <= nxbin; ++xbin)
1299  for (Int_t ybin = 0, nybin = sum->GetNbinsY()+1; ybin <= nybin; ++ybin)
1300  {
1301  Int_t bin = sum->GetBin(xbin, ybin);
1302  Double_t entries = c1*h1->GetBinEntries(bin)
1303  + c2*h2->GetBinEntries(bin);
1304  Double_t content = c1*h1->GetBinEntries(bin)*h1->GetBinContent(bin)
1305  + c2*h2->GetBinEntries(bin)*h2->GetBinContent(bin);
1306  Double_t error = TMath::Sqrt(c1*TMath::Abs(c1)*h1sumw2->fArray[bin]
1307  + c2*TMath::Abs(c2)*h2sumw2->fArray[bin]);
1308 
1309  sum->SetBinContent(bin, content);
1310  sum->SetBinError(bin, error);
1311  sum->SetBinEntries(bin, entries);
1312  }
1313  sum->SetEntries(entries);
1314  sum->PutStats(stats3);
1315  if (isRebinOn) sum->SetCanExtend(TH1::kAllAxes);
1316 }
T Abs(T a)
Definition: MathUtil.h:49
bin
set the eta bin as selection string.
void MonitorElement::addQReport ( const DQMNet::QValue desc,
QCriterion qc 
)
private

Add quality report, from DQMStore.

Definition at line 1423 of file MonitorElement.cc.

References getQReport(), QReport::qcriterion_, DQMNet::QValue::qtname, and update().

Referenced by DQMStore::book_(), and DQMStore::extract().

1424 {
1425  QReport *qr;
1426  DQMNet::QValue *qv;
1427  getQReport(true, desc.qtname, qr, qv);
1428  qr->qcriterion_ = qc;
1429  *qv = desc;
1430  update();
1431 }
QCriterion * qcriterion_
Definition: QReport.h:51
const QReport * getQReport(const std::string &qtname) const
get QReport corresponding to <qtname> (null pointer if QReport does not exist)
void update()
Mark the object updated.
std::string qtname
Definition: DQMNet.h:93
void MonitorElement::addQReport ( QCriterion qc)
private

Definition at line 1434 of file MonitorElement.cc.

References DQMNet::QValue::code, dqm::qstatus::DID_NOT_RUN, QCriterion::getName(), getQReport(), DQMNet::QValue::message, QReport::qcriterion_, and update().

1435 {
1436  QReport *qr;
1437  DQMNet::QValue *qv;
1438  getQReport(true, qc->getName(), qr, qv);
1440  qv->message = "NO_MESSAGE_ASSIGNED";
1441  qr->qcriterion_ = qc;
1442  update();
1443 }
QCriterion * qcriterion_
Definition: QReport.h:51
const QReport * getQReport(const std::string &qtname) const
get QReport corresponding to <qtname> (null pointer if QReport does not exist)
void update()
Mark the object updated.
static const int DID_NOT_RUN
std::string message
Definition: DQMNet.h:92
std::string getName() const
get name of quality test
Definition: QTest.h:60
bool MonitorElement::CheckBinLabels ( const TAxis *  a1,
const TAxis *  a2 
)
static

Check the consistency of the axis labels.

Definition at line 247 of file MonitorElement.cc.

References mps_fire::i.

Referenced by DQMStore::checkBinningMatches().

248 {
249  // check that axis have same labels
250  THashList *l1 = (const_cast<TAxis*>(a1))->GetLabels();
251  THashList *l2 = (const_cast<TAxis*>(a2))->GetLabels();
252 
253  if (!l1 && !l2 )
254  return true;
255  if (!l1 || !l2 ) {
256  return false;
257  }
258  // check now labels sizes are the same
259  if (l1->GetSize() != l2->GetSize() ) {
260  return false;
261  }
262  for (int i = 1; i <= a1->GetNbins(); ++i) {
263  TString label1 = a1->GetBinLabel(i);
264  TString label2 = a2->GetBinLabel(i);
265  if (label1 != label2) {
266  return false;
267  }
268  }
269  return true;
270 }
void MonitorElement::copyFrom ( TH1 *  from)
private

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

1349 {
1350  TH1 *orig = accessRootObject(__PRETTY_FUNCTION__, 1);
1351  if (orig->GetTitle() != from->GetTitle())
1352  orig->SetTitle(from->GetTitle());
1353 
1354  if (!isAccumulateEnabled())
1355  orig->Reset();
1356 
1357  if (isSoftResetEnabled())
1358  {
1359  if (kind() == DQM_KIND_TH1F
1360  || kind() == DQM_KIND_TH1S
1361  || kind() == DQM_KIND_TH1D
1362  || kind() == DQM_KIND_TH2F
1363  || kind() == DQM_KIND_TH2S
1364  || kind() == DQM_KIND_TH2D
1365  || kind() == DQM_KIND_TH3F)
1366  // subtract "reference"
1367  orig->Add(from, refvalue_, 1, -1);
1368  else if (kind() == DQM_KIND_TPROFILE)
1369  // subtract "reference"
1370  addProfiles(static_cast<TProfile *>(from),
1371  static_cast<TProfile *>(refvalue_),
1372  static_cast<TProfile *>(orig),
1373  1, -1);
1374  else if (kind() == DQM_KIND_TPROFILE2D)
1375  // subtract "reference"
1376  addProfiles(static_cast<TProfile2D *>(from),
1377  static_cast<TProfile2D *>(refvalue_),
1378  static_cast<TProfile2D *>(orig),
1379  1, -1);
1380  else
1381  incompatible(__PRETTY_FUNCTION__);
1382  }
1383  else
1384  orig->Add(from);
1385 
1386  copyFunctions(from, orig);
1387 }
void incompatible(const char *func) const
TH1 * accessRootObject(const char *func, int reqdim) const
bool isSoftResetEnabled() const
whether soft-reset is enabled; default is false
void addProfiles(TProfile *h1, TProfile *h2, TProfile *sum, float c1, float c2)
void copyFunctions(TH1 *from, TH1 *to)
Kind kind() const
Get the type of the monitor element.
bool isAccumulateEnabled() const
whether ME contents should be accumulated over multiple monitoring periods; default: false ...
void MonitorElement::copyFunctions ( TH1 *  from,
TH1 *  to 
)
private

Definition at line 1319 of file MonitorElement.cc.

References data_, mps_fire::i, isAccumulateEnabled(), isSoftResetEnabled(), haddnano::obj, DQMNet::CoreObject::objname, raiseDQMError(), and update().

Referenced by copyFrom().

1320 {
1321  // will copy functions only if local-copy and original-object are equal
1322  // (ie. no soft-resetting or accumulating is enabled)
1324  return;
1325 
1326  update();
1327  TList *fromf = from->GetListOfFunctions();
1328  TList *tof = to->GetListOfFunctions();
1329  for (int i = 0, nfuncs = fromf ? fromf->GetSize() : 0; i < nfuncs; ++i)
1330  {
1331  TObject *obj = fromf->At(i);
1332  // not interested in statistics
1333  if (!strcmp(obj->IsA()->GetName(), "TPaveStats"))
1334  continue;
1335 
1336  if (auto *fn = dynamic_cast<TF1 *>(obj))
1337  tof->Add(new TF1(*fn));
1338  //else if (dynamic_cast<TPaveStats *>(obj))
1339  // ; // FIXME? tof->Add(new TPaveStats(*stats));
1340  else
1341  raiseDQMError("MonitorElement", "Cannot extract function '%s' of type"
1342  " '%s' from monitor element '%s' for a copy",
1343  obj->GetName(), obj->IsA()->GetName(), data_.objname.c_str());
1344  }
1345 }
bool isSoftResetEnabled() const
whether soft-reset is enabled; default is false
void update()
Mark the object updated.
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
bool isAccumulateEnabled() const
whether ME contents should be accumulated over multiple monitoring periods; default: false ...
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
void MonitorElement::disableSoftReset ( )
private

reverts action of softReset

Definition at line 1181 of file MonitorElement.cc.

References addProfiles(), DQM_KIND_TH1D, DQM_KIND_TH1F, DQM_KIND_TH1S, DQM_KIND_TH2D, DQM_KIND_TH2F, DQM_KIND_TH2S, DQM_KIND_TH3F, DQM_KIND_TPROFILE, DQM_KIND_TPROFILE2D, incompatible(), kind(), object_, alignCSCRings::r, and refvalue_.

Referenced by DQMStore::disableSoftReset().

1182 {
1183  if (refvalue_)
1184  {
1185  if (kind() == DQM_KIND_TH1F
1186  || kind() == DQM_KIND_TH1S
1187  || kind() == DQM_KIND_TH1D
1188  || kind() == DQM_KIND_TH2F
1189  || kind() == DQM_KIND_TH2S
1190  || kind() == DQM_KIND_TH2D
1191  || kind() == DQM_KIND_TH3F)
1192  {
1193  auto *orig = static_cast<TH1 *>(object_);
1194  orig->Add(refvalue_);
1195  }
1196  else if (kind() == DQM_KIND_TPROFILE)
1197  {
1198  auto *orig = static_cast<TProfile *>(object_);
1199  auto *r = static_cast<TProfile *>(refvalue_);
1200  addProfiles(orig, r, orig, 1, 1);
1201  }
1202  else if (kind() == DQM_KIND_TPROFILE2D)
1203  {
1204  auto *orig = static_cast<TProfile2D *>(object_);
1205  auto *r = static_cast<TProfile2D *>(refvalue_);
1206  addProfiles(orig, r, orig, 1, 1);
1207  }
1208  else
1209  incompatible(__PRETTY_FUNCTION__);
1210 
1211  delete refvalue_;
1212  refvalue_ = nullptr;
1213  }
1214 }
void incompatible(const char *func) const
void addProfiles(TProfile *h1, TProfile *h2, TProfile *sum, float c1, float c2)
Kind kind() const
Get the type of the monitor element.
void MonitorElement::doFill ( int64_t  x)
private

"Fill" ME method for int64_t

Definition at line 307 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.

308 {
309  update();
310  if (kind() == DQM_KIND_INT)
311  scalar_.num = static_cast<int64_t>(x);
312  else if (kind() == DQM_KIND_REAL)
313  scalar_.real = static_cast<double>(x);
314  else if (kind() == DQM_KIND_TH1F)
315  accessRootObject(__PRETTY_FUNCTION__, 1)
316  ->Fill(static_cast<double>(x), 1);
317  else if (kind() == DQM_KIND_TH1S)
318  accessRootObject(__PRETTY_FUNCTION__, 1)
319  ->Fill(static_cast<double>(x), 1);
320  else if (kind() == DQM_KIND_TH1D)
321  accessRootObject(__PRETTY_FUNCTION__, 1)
322  ->Fill(static_cast<double>(x), 1);
323  else
324  incompatible(__PRETTY_FUNCTION__);
325 }
void incompatible(const char *func) const
TH1 * accessRootObject(const char *func, int reqdim) const
void update()
Mark the object updated.
Kind kind() const
Get the type of the monitor element.
std::string MonitorElement::effLabelString ( ) const

return label string for the monitor element tag (eg. <name>t=12345</name>)

Definition at line 571 of file MonitorElement.cc.

References data_, DQMNet::CoreObject::objname, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by DQMStore::saveMonitorElementToROOT().

572 {
574 
575  result.reserve(6 + 2*data_.objname.size() + 3);
576  result += '<'; result += data_.objname; result += '>';
577  result += "e=1";
578  result += '<'; result += '/'; result += data_.objname; result += '>';
579  return result;
580 }
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
void MonitorElement::Fill ( long long  x)
inline

Definition at line 166 of file MonitorElement.h.

References cuy::doFill.

Referenced by TPTask::_process(), RecHitTask::_process(), DigiPhase1Task::_process(), DigiTask::_process(), SiStripDcsInfo::addBadModules(), AlphaTVarAnalyzer::analyze(), GEMCoPadDigiValidation::analyze(), ME0HitsValidation::analyze(), GEMPadDigiValidation::analyze(), ScoutingTestAnalyzer::analyze(), GEMStripDigiValidation::analyze(), GEMRecHitsValidation::analyze(), ME0DigisValidation::analyze(), RazorVarAnalyzer::analyze(), GEMHitsValidation::analyze(), DQMHOAlCaRecoStream::analyze(), ME0RecHitsValidation::analyze(), CSCRecHit2DValidation::analyze(), CSCSegmentValidation::analyze(), CSCStripDigiValidation::analyze(), CSCWireDigiValidation::analyze(), CSCCLCTDigiValidation::analyze(), CSCALCTDigiValidation::analyze(), DiJetVarAnalyzer::analyze(), PerformanceAnalyzer::analyze(), CSCComparatorDigiValidation::analyze(), ME0SegmentsValidation::analyze(), ESRecoSummary::analyze(), HLTTauDQML1Plotter::analyze(), TrackingTruthValid::analyze(), SiStripDigiValid::analyze(), OuterTrackerMonitorTTCluster::analyze(), OuterTrackerMonitorTTStub::analyze(), L1TScalersSCAL::analyze(), OuterTrackerMonitorTTTrack::analyze(), L1TdeStage2EMTF::analyze(), L1Scalers::analyze(), SiPixelDigiValid::analyze(), EcalTBValidation::analyze(), ElectronMcSignalValidatorMiniAOD::analyze(), RPCMonitorRaw::analyze(), RPCRecHitProbability::analyze(), L1TStage2EMTF::analyze(), L1TStage2uGMTMuon::analyze(), RPCMonitorDigi::analyze(), SiStripMonitorFilter::analyze(), EgammaBasicClusters::analyze(), SiStripMonitorHLT::analyze(), L1TStage2MuonComp::analyze(), L1TStage2RegionalMuonCandComp::analyze(), OuterTrackerMonitorTrackingParticles::analyze(), EventShapeDQM::analyze(), HLTTauDQMPathSummaryPlotter::analyze(), MonitorLTC::analyze(), L1TStage2CaloLayer2::analyze(), ElectronMcSignalValidator::analyze(), DQMHcalPhiSymAlCaReco::analyze(), ElectronGeneralAnalyzer::analyze(), HCALRecHitAnalyzer::analyze(), L1THIonImp::analyze(), L1TPUM::analyze(), EgammaSuperClusters::analyze(), L1TStage2uGMT::analyze(), ElectronTagProbeAnalyzer::analyze(), RPCMonitorLinkSynchro::analyze(), HLTTauDQMTagAndProbePlotter::analyze(), GEMDQMStatusDigi::analyze(), TrackTypeMonitor::analyze(), DQMHcalDiJetsAlCaReco::analyze(), DQMHcalIsolatedBunchAlCaReco::analyze(), HeavyIonUCCDQM::analyze(), EwkMuDQM::analyze(), PrimaryVertexMonitor::analyze(), HLTTauDQMPathPlotter::analyze(), L1TMP7ZeroSupp::analyze(), DQMSourceEleCalib::analyze(), TotemDAQTriggerDQMSource::analyze(), SUSY_HLT_InclusiveHT::analyze(), L1TdeStage2CaloLayer1::analyze(), TrackerHitAnalyzer::analyze(), EcalPileUpDepMonitor::analyze(), AlcaBeamMonitor::analyze(), SUSY_HLT_DoubleMuon_Hadronic::analyze(), SUSY_HLT_Muon_BJet::analyze(), CaloTowersValidation::analyze(), EwkElecDQM::analyze(), StandaloneTrackMonitor::analyze(), SUSY_HLT_PhotonHT::analyze(), SUSY_HLT_PhotonMET::analyze(), TkAlCaRecoMonitor::analyze(), SiPixelRecHitsValid::analyze(), SUSY_HLT_DoubleEle_Hadronic::analyze(), SUSY_HLT_Electron_BJet::analyze(), SiStripMonitorDigi::analyze(), WValidation::analyze(), DQMSourcePi0::analyze(), DQMLumiMonitor::analyze(), PixelVTXMonitor::analyze(), BasicHepMCHeavyIonValidation::analyze(), TrackingRecoMaterialAnalyser::analyze(), EwkMuLumiMonitorDQM::analyze(), DrellYanValidation::analyze(), dqm::TrackAnalyzer::analyze(), ElectronMcFakeValidator::analyze(), RecoMuonValidator::analyze(), CTPPSPixelDQMSource::analyze(), ConverterTester::analyze(), SUSY_HLT_DiJet_MET::analyze(), SUSY_HLT_ElecFakes::analyze(), SUSY_HLT_Muon_Hadronic::analyze(), SUSY_HLT_MuonFakes::analyze(), SUSY_HLT_VBF_Mu::analyze(), EcalPreshowerNoiseDistrib::analyze(), BasicGenParticleValidation::analyze(), BasicHepMCValidation::analyze(), EtlDigiHitsValidation::analyze(), EtlRecHitsValidation::analyze(), L1TdeStage2uGT::analyze(), BeamMonitor::analyze(), L1TDTTF::analyze(), SUSY_HLT_MuEle_Hadronic::analyze(), MBUEandQCDValidation::analyze(), HGCalTriggerValidator::analyze(), BxTiming::analyze(), SUSY_HLT_alphaT::analyze(), SimplePhotonAnalyzer::analyze(), BPhysicsSpectrum::analyze(), BPhysicsValidation::analyze(), HiggsValidation::analyze(), ElectronAnalyzer::analyze(), CaloTowersAnalyzer::analyze(), Tau3MuMonitor::analyze(), DQMEventInfo::analyze(), L1TObjectsTiming::analyze(), SiStripMonitorCluster::analyze(), L1TStage2OMTF::analyze(), TrackBuildingAnalyzer::analyze(), L1TStage2uGTTiming::analyze(), BtlRecHitsValidation::analyze(), BtlDigiHitsValidation::analyze(), EcalBarrelSimHitsValidation::analyze(), EcalEndcapSimHitsValidation::analyze(), EcalPreshowerSimHitsValidation::analyze(), HotlineDQM::analyze(), EcalPreshowerDigisValidation::analyze(), DuplicationChecker::analyze(), HcalSimHitsValidation::analyze(), JetTester::analyze(), HcalNoiseRates::analyze(), NoiseRates::analyze(), TestSuite::analyze(), TrackSplittingMonitor::analyze(), DQMHcalIsoTrackAlCaReco::analyze(), EcalZmassTask::analyze(), GlobalTest::analyze(), V0Monitor::analyze(), EtlSimHitsValidation::analyze(), L1TDTTPG::analyze(), SUSY_HLT_Razor::analyze(), L1TRCT::analyze(), EcalBarrelDigisValidation::analyze(), EcalEndcapDigisValidation::analyze(), EcalSimHitsValidation::analyze(), SiStripMonitorQuality::analyze(), L1TStage2uGT::analyze(), HGCalShowerSeparation::analyze(), TrackEfficiencyMonitor::analyze(), GlobalMuonMatchAnalyzer::analyze(), L1TCSCTPG::analyze(), SiStripMonitorRawData::analyze(), SiPixelDigiSource::analyze(), DQMExample_Step1::analyze(), L1TGMT::analyze(), L1TRPCTF::analyze(), HLTSeedL1LogicScalers::analyze(), HGCGeometryValidation::analyze(), HcalCollapseAnalyzer::analyze(), MuonIdDQM::analyze(), GeneralHLTOffline::analyze(), DTSegmentAnalysisTask::analyze(), SiPixelTrackResidualSource::analyze(), SUSY_HLT_SingleLepton::analyze(), HLXMonitor::analyze(), BtlSimHitsValidation::analyze(), BDHadronTrackMonitoringAnalyzer::analyze(), B2GDoubleLeptonHLTValidation::analyze(), B2GHadronicHLTValidation::analyze(), B2GSingleLeptonHLTValidation::analyze(), TopSingleLeptonHLTValidation::analyze(), GlobalDigisHistogrammer::analyze(), RPCTTUMonitor::analyze(), DiJetMonitor::analyze(), DTScalerInfoTask::analyze(), __class__< T >::analyze(), HcalRecHitsValidation::analyze(), PhotonValidatorMiniAOD::analyze(), SiPixelRawDataErrorSource::analyze(), PixelLumiDQM::analyze(), TauValidation::analyze(), HcalRecHitsAnalyzer::analyze(), HigPhotonJetHLTOfflineSource::analyze(), METplusTrackMonitor::analyze(), TopDiLeptonHLTValidation::analyze(), TTbarSpinCorrHepMCAnalyzer::analyze(), ZDCDigiStudy::analyze(), DTNoiseTask::analyze(), DTLocalTriggerBaseTask::analyze(), LepHTMonitor::analyze(), TTbar_Kinematics::analyze(), ECALMultifitAnalyzer_HI::analyze(), DiDispStaMuonMonitor::analyze(), MuonIdVal::analyze(), L1TdeRCT::analyze(), L1TGT::analyze(), EcalDigisValidation::analyze(), L1TStage2BMTF::analyze(), GlobalRecHitsHistogrammer::analyze(), TopMonitor::analyze(), SiPixelClusterSource::analyze(), L1TStage2CaloLayer1::analyze(), ZdcSimHitStudy::analyze(), SiPixelErrorsDigisToCalibDigis::analyze(), DTDataIntegrityTask::analyze(), L1TRPCTPG::analyze(), L1TCSCTF::analyze(), PhotonMonitor::analyze(), TrackingMonitor::analyze(), MuIsoValidation::analyze(), HGCalHitValidation::analyze(), HLTScalers::analyze(), SiPixelTrackingRecHitsValid::analyze(), MuonMonitor::analyze(), L1TdeStage2CaloLayer2::analyze(), L1TCompare::analyze(), TauTagValidation::analyze(), GlobalHitsHistogrammer::analyze(), GlobalHitsTester::analyze(), JetMonitor::analyze(), JetTester_HeavyIons::analyze(), ECALRecHitAnalyzer::analyze(), JetAnalyzer_HeavyIons_matching::analyze(), L1TStage2uGTCaloLayer2Comp::analyze(), JetAnalyzer_HeavyIons::analyze(), L1TTauOffline::analyze(), EcalMixingModuleValidation::analyze(), EmDQMReco::analyze(), BPHMonitor::analyze(), EgHLTOfflineSource::analyze(), RPCEfficiency::analyze(), HLTObjectsMonitor::analyze(), L1TGCT::analyze(), PackedCandidateTrackValidator::analyze(), ZCounting::analyzeElectrons(), HGCalHitValidation::analyzeHGCalRecHit(), HGCalHitValidation::analyzeHGCalSimHit(), SimHitsValidationHcal::analyzeHits(), HcalSimHitStudy::analyzeHits(), ZdcSimHitStudy::analyzeHits(), ZCounting::analyzeMuons(), DQMProvInfo::analyzeProvInfo(), TrackBuildingAnalyzer::analyzeRegions(), CTPPSCommonDQMSource::analyzeTracks(), DQMFEDIntegrityClient::beginJob(), DQMDaqInfo::beginLuminosityBlock(), SiStripDaqInfo::beginRun(), L1TEMTFEventInfoClient::book(), L1TEventInfoClient::book(), DQMStore::bookFloat_(), SiPixelDataQuality::bookGlobalQualityFlag(), BeamMonitor::bookHistograms(), DQMEventInfo::bookHistograms(), L1TRCT::bookHistograms(), Vx3DHLTAnalyzer::bookHistograms(), DTLocalTriggerSynchTask::bookHistograms(), DQMProvInfo::bookHistogramsProvInfo(), DQMStore::bookInt_(), SiPixelPhase1Summary::bookSummaries(), RPCClusterSizeTest::clientOperation(), RPCEventSummary::clientOperation(), L1GtHwValidation::compareDaqRecord(), L1TStage2uGTCaloLayer2Comp::compareEGs(), L1TdeStage2CaloLayer2::compareEGs(), L1GtHwValidation::compareFDL(), L1GtHwValidation::compareGTFE(), L1TdeStage2CaloLayer2::compareJets(), L1TStage2uGTCaloLayer2Comp::compareJets(), L1TStage2uGTCaloLayer2Comp::compareSums(), L1TdeStage2CaloLayer2::compareSums(), L1TStage2uGTCaloLayer2Comp::compareTaus(), L1TdeStage2CaloLayer2::compareTaus(), GlobalRecHitsAnalyzer::compute(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelDataQuality::computeGlobalQualityFlagByLumi(), PrimaryVertexAnalyzer4PUSlimmed::computePairDistance(), EcalMixingModuleValidation::computeSDBunchDigi(), L1TGT::countPfsIndicesPerLs(), TkHistoMap::createTkHistoMap(), RPCTTUMonitor::discriminateDecision(), RPCDcsInfoClient::dqmEndJob(), RPCRecHitValidClient::dqmEndJob(), HLTTauCertifier::dqmEndJob(), RPCEfficiencySecond::dqmEndJob(), RPCEfficiencyShiftHisto::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), DQMDcsInfoClient::dqmEndJob(), DTOfflineSummaryClients::dqmEndJob(), MuonAlignmentSummary::dqmEndJob(), MuonTestSummary::dqmEndJob(), DQMCorrelationClient::dqmEndJob(), HLTMuonCertSummary::dqmEndJob(), RPCDaqInfo::dqmEndLuminosityBlock(), RPCEventSummary::dqmEndLuminosityBlock(), SiPixelDcsInfo::dqmEndLuminosityBlock(), SiPixelCertification::dqmEndLuminosityBlock(), DTDCSSummary::dqmEndLuminosityBlock(), SiPixelDaqInfo::dqmEndLuminosityBlock(), DTCertificationSummary::dqmEndLuminosityBlock(), DTDAQInfo::dqmEndLuminosityBlock(), DTSummaryClients::dqmEndLuminosityBlock(), ECALpedestalPCLHarvester::dqmPlots(), HcalNoiseRates::endJob(), MuonAlignment::endJob(), ESSummaryClient::endLumiAnalyze(), AlcaBeamMonitor::endLuminosityBlock(), DQMLumiMonitor::endLuminosityBlock(), SiStripMonitorDigi::endLuminosityBlock(), SiPixelDigiSource::endLuminosityBlock(), L1TStage2CaloLayer1::endLuminosityBlock(), HLTScalers::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), DQMProvInfo::endLuminosityBlockEventInfo(), ConverterTester::endRun(), EcalSelectiveReadoutValidation::endRun(), HLTOverallSummary::endRun(), DQMStore::extract(), DTDataIntegrityTask::fedEntry(), DTDataIntegrityTask::fedFatal(), DTDataIntegrityTask::fedNonFatal(), hcaldqm::ContainerI::fill(), hcaldqm::ContainerS::fill(), FineDelayTask::fill(), hcaldqm::ContainerD::fill(), SiPixelHitEfficiencyModule::fill(), CSCMonitorObject::Fill(), hcaldqm::ContainerSingleProf2D::fill(), hcaldqm::ContainerSingle1D::fill(), hcaldqm::ContainerSingle2D::fill(), SiPixelRecHitModule::fill(), MuonIdDQM::Fill(), ConcurrentMonitorElement::fill(), SiPixelClusterModule::fill(), BPhysicsValidation::ParticleMonitor::Fill(), MuonIdVal::Fill(), NanoAODDQM::Count1D::fill(), SiPixelDigiModule::fill(), EmDQMReco::FourVectorMonitorElements::fill(), HTrackVariables::Fill(), L1ValidatorHists::Fill(), BasicHepMCValidation::ParticleMonitor::Fill(), egHLT::MonElemManager< T, varType >::fill(), NanoAODDQM::Profile1D::fill(), egHLT::MonElemManager2D< T, varTypeX, varTypeY >::fill(), Fill(), HResolution::Fill(), RecoMuonValidator::MuonME::fill(), EcalSelectiveReadoutValidation::fill(), dqmoffline::l1t::fill2DWithinLimits(), ecaldqm::MESet::fill_(), DQMSourceEleCalib::fillAroundBarrel(), DQMSourceEleCalib::fillAroundEndcap(), SiPixelRecHitsValid::fillBarrel(), MixCollectionValidation::fillCaloHitTime(), SiPixelHitEfficiencySource::fillClusterProbability(), SiStripMonitorTrack::fillControlViewHistos(), BasicHepMCValidation::ParticleMonitor::FillCount(), HTrackVariables::FillDeltaR(), SiStripQualityChecker::fillDetectorStatus(), SiStripQualityChecker::fillDetectorStatusAtLumi(), MuonSimHitsValidAnalyzer::fillDT(), TrackingQualityChecker::fillDummyGlobalStatus(), TrackingQualityChecker::fillDummyLSStatus(), SiStripCertificationInfo::fillDummySiStripCertification(), SiStripQualityChecker::fillDummyStatus(), SiStripDaqInfo::fillDummyStatus(), SiStripDcsInfo::fillDummyStatus(), TrackingCertificationInfo::fillDummyTrackingCertification(), TrackingCertificationInfo::fillDummyTrackingCertificationAtLumi(), GlobalHitsAnalyzer::fillECal(), GlobalDigisAnalyzer::fillECal(), GlobalRecHitsAnalyzer::fillECal(), CSCSegmentValidation::fillEfficiencyPlots(), HLXMonitor::FillEventInfo(), SiStripFEDCheckPlugin::fillFatalError(), SiStripQualityChecker::fillFaultyModuleStatus(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelRecHitsValid::fillForward(), LaserAlignmentT0ProducerDQM::FillFromProcessedDigis(), LaserAlignmentT0ProducerDQM::FillFromRawDigis(), GlobalHitsAnalyzer::fillG4MC(), MixCollectionValidation::fillGenParticleMulti(), RPCNoisyStripTest::fillGlobalME(), RPCMultiplicityTest::fillGlobalME(), RPCOccupancyTest::fillGlobalME(), SiStripQualityDQM::fillGrandSummaryMEs(), GlobalHitsAnalyzer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), GlobalRecHitsAnalyzer::fillHCal(), DQMFEDIntegrityClient::fillHistograms(), HLXMonitor::FillHistograms(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), HLXMonitor::FillHistoHFCompare(), SiStripSummaryCreator::fillHistos(), dqm::TrackAnalyzer::fillHistosForState(), TkAlCaRecoMonitor::fillHitmaps(), ZdcSimHitStudy::FillHitValHist(), QcdUeDQM::fillHltBits(), QcdLowPtDQM::fillHltBits(), MuonPFAnalyzer::fillInRange(), HistogramManager::fillInternal(), ElectronTagProbeAnalyzer::fillMatchedHistos(), JetTester::fillMatchHists(), JetMonitor::FillME(), SiStripMonitorDigi::fillME(), SiStripMonitorCluster::fillME(), SiStripMonitorTrack::fillME(), SiStripRecHitsValid::fillME(), SiStripTrackingRecHitsValid::fillME(), JetMETHLTOfflineSource::fillMEforMonTriggerSummary(), L1TDTTF::fillMEs(), SiStripNoisesDQM::fillMEsForDet(), SiStripPedestalsDQM::fillMEsForDet(), SiStripThresholdDQM::fillMEsForDet(), SiStripApvGainsDQM::fillMEsForDet(), SiStripQualityDQM::fillMEsForDet(), SiStripNoisesDQM::fillMEsForLayer(), SiStripPedestalsDQM::fillMEsForLayer(), SiStripBackPlaneCorrectionDQM::fillMEsForLayer(), SiStripThresholdDQM::fillMEsForLayer(), SiStripLorentzAngleDQM::fillMEsForLayer(), SiStripApvGainsDQM::fillMEsForLayer(), SiStripQualityDQM::fillMEsForLayer(), MixCollectionValidation::fillMultiplicity(), GlobalHitsAnalyzer::fillMuon(), GlobalDigisAnalyzer::fillMuon(), GlobalRecHitsAnalyzer::fillMuon(), SiStripFEDCheckPlugin::fillNonFatalError(), L1ValidatorHists::FillNumber(), CSCStripDigiValidation::fillPedestalPlots(), MuonTrackValidatorBase::fillPlotNoFlow(), BeamSpotProblemMonitor::fillPlots(), FastTimerServiceClient::fillPlotsVsLumi(), SiStripFEDCheckPlugin::fillPresent(), RCTMonitor::FillRCT(), ESSummaryClient::fillReportSummary(), HLXMonitor::FillReportSummary(), CSCStripDigiValidation::fillSignalPlots(), MixCollectionValidation::fillSimHitTime(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), SiStripDcsInfo::fillStatus(), SiStripQualityChecker::fillSubDetStatus(), SiPixelPhase1Summary::fillSummaries(), SiPixelActionExecutor::fillSummary(), TrackingCertificationInfo::fillTrackingCertificationMEs(), TrackingCertificationInfo::fillTrackingCertificationMEsAtLumi(), TrackingQualityChecker::fillTrackingStatus(), TrackingQualityChecker::fillTrackingStatusAtLumi(), SiStripMonitorDigi::fillTrend(), GlobalHitsAnalyzer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), TrackIPHistograms< T >::fillVariable(), FlavourHistograms< T >::fillVariable(), FlavourHistograms2D< T, G >::fillVariable(), dqmoffline::l1t::fillWithinLimits(), HGCalHitCalibration::fillWithRecHits(), GEMTrackMatch::FillWithTrigger(), SiStripDaqInfo::findExcludedModule(), SiPixelInformationExtractor::findNoisyPixels(), BeamMonitor::FitAndFill(), SiStripGainsPCLHarvester::gainQualityMonitor(), SiStripCablingDQM::getActiveDetIds(), EDMtoMEConverter::Tokens< T >::getData(), L1TRate::getXSexFitsOMDS(), L1TRate::getXSexFitsPython(), SiPixelDigiModule::getZeroLoEffROCs(), L1Scalers::globalEndLuminosityBlock(), QcdLowPtDQM::globalEndLuminosityBlock(), DTTriggerEfficiencyTest::makeEfficiencyME(), HeavyFlavorValidation::match(), RPCDataCertification::myBooker(), RPCDaqInfo::myBooker(), RPCDCSSummary::myBooker(), SiPixelTrackResidualModule::nfill(), SiPixelRecHitModule::nfill(), NoiseRatesClient::NoiseRatesEndjob(), HcalNoiseRatesClient::NoiseRatesEndjob(), DTBlockedROChannelsTest::performClientDiagnostic(), RPCChamberQuality::performeClientOperation(), TauValidation::photons(), CSCWireDigiValidation::plotResolution(), CSCStripDigiValidation::plotResolution(), CSCSegmentValidation::plotResolution(), CSCRecHit2DValidation::plotResolution(), GlobalRecHitsAnalyzer::plotResolution(), StandaloneTrackMonitor::processClusters(), CastorLEDMonitor::processEvent(), DTDataIntegrityTask::processFED(), StandaloneTrackMonitor::processHit(), DTDataIntegrityTask::processROS25(), DTDataIntegrityTask::processuROS(), SiStripGainFromCalibTree::qualityMonitor(), SusyPostProcessor::QuantilePlots(), L1TEMTFEventInfoClient::readQtResults(), L1TEventInfoClient::readQtResults(), EgHLTOfflineSummaryClient::runClient_(), DTLocalTriggerTask::runTMAnalysis(), DQMFileSaver::saveForOffline(), DTTimeEvolutionHisto::setTimeSlotValue(), HLXMonitor::SetupEventInfo(), TauValidation::spinEffectsWHpm(), TauValidation::spinEffectsZH(), TauValidation::tauDecayChannel(), TauValidation::tauMother(), TrackEfficiencyMonitor::testSTATracks(), TrackEfficiencyMonitor::testTrackerTracks(), DQMNet::unpackQualityData(), PrimaryVertexMonitor::vertexPlots(), NanoAODDQM::Plot1D::vfill(), and ECALRecHitAnalyzer::WriteECALRecHits().

166 { fits_in_int64_t<long long>(); doFill(static_cast<int64_t>(x)); }
void doFill(int64_t x)
"Fill" ME method for int64_t
void MonitorElement::Fill ( unsigned long long  x)
inline

Definition at line 167 of file MonitorElement.h.

References cuy::doFill.

167 { fits_in_int64_t<unsigned long long>(); doFill(static_cast<int64_t>(x)); }
void doFill(int64_t x)
"Fill" ME method for int64_t
void MonitorElement::Fill ( unsigned long  x)
inline

Definition at line 168 of file MonitorElement.h.

References cuy::doFill.

168 { fits_in_int64_t<unsigned long>(); doFill(static_cast<int64_t>(x)); }
void doFill(int64_t x)
"Fill" ME method for int64_t
void MonitorElement::Fill ( long  x)
inline

Definition at line 169 of file MonitorElement.h.

References cuy::doFill.

169 { fits_in_int64_t<long>(); doFill(static_cast<int64_t>(x)); }
void doFill(int64_t x)
"Fill" ME method for int64_t
void MonitorElement::Fill ( unsigned int  x)
inline

Definition at line 170 of file MonitorElement.h.

References cuy::doFill.

170 { fits_in_int64_t<unsigned int>(); doFill(static_cast<int64_t>(x)); }
void doFill(int64_t x)
"Fill" ME method for int64_t
void MonitorElement::Fill ( int  x)
inline

Definition at line 171 of file MonitorElement.h.

References cuy::doFill.

171 { fits_in_int64_t<int>(); doFill(static_cast<int64_t>(x)); }
void doFill(int64_t x)
"Fill" ME method for int64_t
void MonitorElement::Fill ( short  x)
inline

Definition at line 172 of file MonitorElement.h.

References cuy::doFill.

172 { fits_in_int64_t<short>(); doFill(static_cast<int64_t>(x)); }
void doFill(int64_t x)
"Fill" ME method for int64_t
void MonitorElement::Fill ( unsigned short  x)
inline

Definition at line 173 of file MonitorElement.h.

References cuy::doFill.

173 { fits_in_int64_t<unsigned short>(); doFill(static_cast<int64_t>(x)); }
void doFill(int64_t x)
"Fill" ME method for int64_t
void MonitorElement::Fill ( char  x)
inline

Definition at line 174 of file MonitorElement.h.

References cuy::doFill.

174 { fits_in_int64_t<char>(); doFill(static_cast<int64_t>(x)); }
void doFill(int64_t x)
"Fill" ME method for int64_t
void MonitorElement::Fill ( unsigned char  x)
inline

Definition at line 175 of file MonitorElement.h.

References cuy::doFill.

175 { fits_in_int64_t<unsigned char>(); doFill(static_cast<int64_t>(x)); }
void doFill(int64_t x)
"Fill" ME method for int64_t
void MonitorElement::Fill ( float  x)
inline

Definition at line 177 of file MonitorElement.h.

References Fill(), HcalObjRepresent::Fill(), tablePrinter::prefix, HcalObjRepresent::Reset(), AlCaHLTBitMon_QueryRunRegistry::string, w, x, y, z, and zw().

Referenced by Fill().

177 { Fill(static_cast<double>(x)); }
void Fill(long long x)
void MonitorElement::Fill ( double  x)

"Fill" ME methods for double

Definition at line 285 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.

286 {
287  update();
288  if (kind() == DQM_KIND_INT)
289  scalar_.num = static_cast<int64_t>(x);
290  else if (kind() == DQM_KIND_REAL)
291  scalar_.real = x;
292  else if (kind() == DQM_KIND_TH1F)
293  accessRootObject(__PRETTY_FUNCTION__, 1)
294  ->Fill(x, 1);
295  else if (kind() == DQM_KIND_TH1S)
296  accessRootObject(__PRETTY_FUNCTION__, 1)
297  ->Fill(x, 1);
298  else if (kind() == DQM_KIND_TH1D)
299  accessRootObject(__PRETTY_FUNCTION__, 1)
300  ->Fill(x, 1);
301  else
302  incompatible(__PRETTY_FUNCTION__);
303 }
void incompatible(const char *func) const
TH1 * accessRootObject(const char *func, int reqdim) const
void update()
Mark the object updated.
Kind kind() const
Get the type of the monitor element.
void MonitorElement::Fill ( std::string &  value)

"Fill" ME methods for string

Definition at line 274 of file MonitorElement.cc.

References DQM_KIND_STRING, incompatible(), kind(), scalar_, MonitorElement::Scalar::str, update(), and relativeConstraints::value.

275 {
276  update();
277  if (kind() == DQM_KIND_STRING)
278  scalar_.str = value;
279  else
280  incompatible(__PRETTY_FUNCTION__);
281 }
void incompatible(const char *func) const
void update()
Mark the object updated.
Kind kind() const
Get the type of the monitor element.
void MonitorElement::Fill ( double  x,
double  yw 
)

can be used with 2D (x,y) or 1D (x, w) histograms

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

330 {
331  update();
332  if (kind() == DQM_KIND_TH1F)
333  accessRootObject(__PRETTY_FUNCTION__, 1)
334  ->Fill(x, yw);
335  else if (kind() == DQM_KIND_TH1S)
336  accessRootObject(__PRETTY_FUNCTION__, 1)
337  ->Fill(x, yw);
338  else if (kind() == DQM_KIND_TH1D)
339  accessRootObject(__PRETTY_FUNCTION__, 1)
340  ->Fill(x, yw);
341  else if (kind() == DQM_KIND_TH2F)
342  static_cast<TH2F *>(accessRootObject(__PRETTY_FUNCTION__, 2))
343  ->Fill(x, yw, 1);
344  else if (kind() == DQM_KIND_TH2S)
345  static_cast<TH2S *>(accessRootObject(__PRETTY_FUNCTION__, 2))
346  ->Fill(x, yw, 1);
347  else if (kind() == DQM_KIND_TH2D)
348  static_cast<TH2D *>(accessRootObject(__PRETTY_FUNCTION__, 2))
349  ->Fill(x, yw, 1);
350  else if (kind() == DQM_KIND_TPROFILE)
351  static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 1))
352  ->Fill(x, yw, 1);
353  else
354  incompatible(__PRETTY_FUNCTION__);
355 }
void incompatible(const char *func) const
TH1 * accessRootObject(const char *func, int reqdim) const
void Fill(long long x)
void update()
Mark the object updated.
Kind kind() const
Get the type of the monitor element.
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 433 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().

434 {
435  update();
436  if (kind() == DQM_KIND_TH2F)
437  static_cast<TH2F *>(accessRootObject(__PRETTY_FUNCTION__, 2))
438  ->Fill(x, y, zw);
439  else if (kind() == DQM_KIND_TH2S)
440  static_cast<TH2S *>(accessRootObject(__PRETTY_FUNCTION__, 2))
441  ->Fill(x, y, zw);
442  else if (kind() == DQM_KIND_TH2D)
443  static_cast<TH2D *>(accessRootObject(__PRETTY_FUNCTION__, 2))
444  ->Fill(x, y, zw);
445  else if (kind() == DQM_KIND_TH3F)
446  static_cast<TH3F *>(accessRootObject(__PRETTY_FUNCTION__, 2))
447  ->Fill(x, y, zw, 1);
448  else if (kind() == DQM_KIND_TPROFILE)
449  static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 2))
450  ->Fill(x, y, zw);
451  else if (kind() == DQM_KIND_TPROFILE2D)
452  static_cast<TProfile2D *>(accessRootObject(__PRETTY_FUNCTION__, 2))
453  ->Fill(x, y, zw, 1);
454  else
455  incompatible(__PRETTY_FUNCTION__);
456 }
void incompatible(const char *func) const
TH1 * accessRootObject(const char *func, int reqdim) const
void Fill(long long x)
void update()
Mark the object updated.
auto zw(V v) -> Vec2< typename std::remove_reference< decltype(v[0])>::type >
Definition: ExtVec.h:75
Kind kind() const
Get the type of the monitor element.
void MonitorElement::Fill ( double  x,
double  y,
double  z,
double  w 
)

can be used with 3D (x, y, z, w) histograms

Definition at line 460 of file MonitorElement.cc.

References accessRootObject(), DQM_KIND_TH3F, DQM_KIND_TPROFILE2D, Fill(), incompatible(), kind(), and update().

461 {
462  update();
463  if (kind() == DQM_KIND_TH3F)
464  static_cast<TH3F *>(accessRootObject(__PRETTY_FUNCTION__, 2))
465  ->Fill(x, y, z, w);
466  else if (kind() == DQM_KIND_TPROFILE2D)
467  static_cast<TProfile2D *>(accessRootObject(__PRETTY_FUNCTION__, 2))
468  ->Fill(x, y, z, w);
469  else
470  incompatible(__PRETTY_FUNCTION__);
471 }
void incompatible(const char *func) const
TH1 * accessRootObject(const char *func, int reqdim) const
const double w
Definition: UKUtility.cc:23
void Fill(long long x)
void update()
Mark the object updated.
Kind kind() const
Get the type of the monitor element.
uint32_t MonitorElement::flags ( ) const
inline

Get the object flags.

Definition at line 109 of file MonitorElement.h.

References DQMNet::CoreObject::flags.

110  { return data_.flags; }
uint32_t flags
Definition: DQMNet.h:99
DQMNet::CoreObject data_
TAxis * MonitorElement::getAxis ( const char *  func,
int  axis 
) const
private

Definition at line 1017 of file MonitorElement.cc.

References a, accessRootObject(), data_, h, DQMNet::CoreObject::objname, and raiseDQMError().

Referenced by getAxisTitle(), setAxisRange(), setAxisTimeDisplay(), setAxisTimeFormat(), setAxisTimeOffset(), setAxisTitle(), and setBinLabel().

1018 {
1019  TH1 *h = accessRootObject(func, axis-1);
1020  TAxis *a = nullptr;
1021  if (axis == 1)
1022  a = h->GetXaxis();
1023  else if (axis == 2)
1024  a = h->GetYaxis();
1025  else if (axis == 3)
1026  a = h->GetZaxis();
1027 
1028  if (! a)
1029  raiseDQMError("MonitorElement", "No such axis %d in monitor element"
1030  " '%s' of type '%s'", axis, data_.objname.c_str(),
1031  typeid(*h).name());
1032 
1033  return a;
1034 }
TH1 * accessRootObject(const char *func, int reqdim) const
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
double a
Definition: hdecay.h:121
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
std::string MonitorElement::getAxisTitle ( int  axis = 1) const

get x-, y- or z-axis title (axis=1, 2, 3 respectively)

Definition at line 852 of file MonitorElement.cc.

References getAxis(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by PFClient_JetRes::createEfficiencyPlots(), and PFClient::createEfficiencyPlots().

853 { return getAxis(__PRETTY_FUNCTION__, axis)
854  ->GetTitle(); }
TAxis * getAxis(const char *func, int axis) const
double MonitorElement::getBinContent ( int  binx) const

get content of bin (1-D)

Definition at line 765 of file MonitorElement.cc.

References accessRootObject().

Referenced by HCALRecHitAnalyzer::analyze(), L1TDTTFClient::buildPhiEtaPlotO(), L1TDTTFClient::buildPhiEtaPlotOFC(), EcalMixingModuleValidation::bunchSumTest(), PixelLumiDQM::calculateBunchMask(), CaloTowersDQMClient::CaloTowersEndjob(), TrackingAnalyser::checkTrackerFEDsInLS(), TrackingAnalyser::checkTrackerFEDsWdataInLS(), RPCClusterSizeTest::clientOperation(), RPCDeadChannelTest::clientOperation(), RPCEventSummary::clientOperation(), SiPixelHitEfficiencyModule::computeEfficiencies(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelDataQuality::computeGlobalQualityFlagByLumi(), PFClient_JetRes::createEfficiencyPlots(), ConversionPostprocessing::dividePlots(), PhotonPostprocessing::dividePlots(), PhotonOfflineClient::dividePlots(), MuonTestSummary::doMultiplicityTests(), MuonTestSummary::doMuonIDTests(), MuonTestSummary::doResidualsTests(), HltSusyExoPostProcessor::dqmEndJob(), RPCEfficiencyPerRingLayer::dqmEndJob(), DQMExample_Step2::dqmEndJob(), RPCDqmClient::dqmEndJob(), RPCEfficiencySecond::dqmEndJob(), RPCEfficiencyShiftHisto::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), JetTesterPostProcessor::dqmEndJob(), METTesterPostProcessorHarvesting::dqmEndJob(), DTCertificationSummary::dqmEndJob(), DTOfflineSummaryClients::dqmEndJob(), DTChamberEfficiencyClient::dqmEndJob(), RPCDqmClient::dqmEndLuminosityBlock(), SiPixelDaqInfo::dqmEndLuminosityBlock(), SiPixelEDAClient::dqmEndLuminosityBlock(), DTDCSByLumiSummary::dqmEndLuminosityBlock(), DTDataIntegrityTest::dqmEndLuminosityBlock(), DTSummaryClients::dqmEndLuminosityBlock(), HcalSimHitsValidation::endJob(), hcaldqm::RawRunSummary::endLuminosityBlock(), hcaldqm::DigiRunSummary::endLuminosityBlock(), SiStripMonitorDigi::endLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), PixelLumiDQM::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), DQMHcalPhiSymAlCaReco::endRun(), SiPixelActionExecutor::fillDeviations(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), HCALRecHitAnalyzer::FillGeometry(), ECALRecHitAnalyzer::FillGeometry(), RPCNoisyStripTest::fillGlobalME(), RPCOccupancyTest::fillGlobalME(), SiPixelDataQuality::fillGlobalQualityPlot(), DTLocalTriggerTest::fillGlobalSummary(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), HLXMonitor::FillHistograms(), SiStripSummaryCreator::fillHistos(), RPCChamberQuality::fillMonitorElements(), SiPixelActionExecutor::fillOccupancy(), ESSummaryClient::fillReportSummary(), SiPixelPhase1Summary::fillSummaries(), SiPixelActionExecutor::fillSummary(), SiPixelPhase1Summary::fillTrendPlots(), DTLocalTriggerLutTest::fillWhPlot(), DTTriggerLutTest::fillWhPlot(), ElectronMcSignalPostValidator::finalize(), ElectronMcFakePostValidator::finalize(), ecaldqm::MESetProjection::getBinContent(), ecaldqm::MESetDet1D::getBinContent(), hcaldqm::ContainerSingle1D::getBinContent(), hcaldqm::ContainerSingle2D::getBinContent(), CSCMonitorObject::GetBinContent(), ecaldqm::MESet::ConstBin::getBinContent(), SiPixelTrackResidualSource::getepixrococcupancyofftrk(), SiPixelTrackResidualSource::getepixrococcupancyontrk(), SiPixelClusterSource::getrococcupancye(), DTBlockedROChannelsTest::DTLinkBinsMap::getValueLinkBin(), DTBlockedROChannelsTest::DTRobBinsMap::getValueRobBin(), DTBlockedROChannelsTest::DTRobBinsMap::getValueRos(), SiPixelDigiModule::getZeroLoEffROCs(), HcalDigisClient::integralMETH2D(), TotemRPDQMHarvester::MakeHitNumberRatios(), TotemRPDQMHarvester::MakePlaneEfficiencyHistograms(), SiPixelSCurveCalibrationAnalysis::makeThresholdSummary(), SiPixelActionExecutor::normaliseAvDigiOcc(), SiPixelActionExecutor::normaliseAvDigiOccVsLumi(), DTTimeEvolutionHisto::normalizeTo(), SiStripTrackerMapCreator::paintTkMapFromHistogram(), RPCChamberQuality::performeClientOperation(), HLTTauPostProcessor::plotFilterEfficiencies(), L1TStage2CaloLayer2DEClientSummary::processHistograms(), SiStripPopConFEDErrorsHandlerFromDQM::readHistogram(), SiStripMonitorTrack::return2DME(), SiPixelDQMRocLevelAnalyzer::RocSumOneModule(), HcalDigisClient::scaleMETH2D(), L1EmulatorErrorFlagClient::setSummary(), DTTimeEvolutionHisto::setTimeSlotValue(), ecaldqm::MESetTrend::shift_(), ShiftFillLast(), HcalSimHitsClient::SimHitsEndjob(), DTTimeEvolutionHisto::updateTimeSlot(), and ECALRecHitAnalyzer::WriteECALRecHits().

766 { return accessRootObject(__PRETTY_FUNCTION__, 1)
767  ->GetBinContent(binx); }
TH1 * accessRootObject(const char *func, int reqdim) const
double MonitorElement::getBinContent ( int  binx,
int  biny 
) const

get content of bin (2-D)

Definition at line 771 of file MonitorElement.cc.

References accessRootObject().

772 { return accessRootObject(__PRETTY_FUNCTION__, 2)
773  ->GetBinContent(binx, biny); }
TH1 * accessRootObject(const char *func, int reqdim) const
double MonitorElement::getBinContent ( int  binx,
int  biny,
int  binz 
) const

get content of bin (3-D)

Definition at line 777 of file MonitorElement.cc.

References accessRootObject().

778 { return accessRootObject(__PRETTY_FUNCTION__, 3)
779  ->GetBinContent(binx, biny, binz); }
TH1 * accessRootObject(const char *func, int reqdim) const
double MonitorElement::getBinEntries ( int  bin) const

get # of bin entries (for profiles)

Definition at line 807 of file MonitorElement.cc.

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

Referenced by ecaldqm::MESetProjection::getBinEntries(), hcaldqm::ContainerSingle1D::getBinEntries(), ecaldqm::MESetDet1D::getBinEntries(), hcaldqm::ContainerSingle2D::getBinEntries(), ecaldqm::MESet::ConstBin::getBinEntries(), and ecaldqm::MESetTrend::shift_().

808 {
809  if (kind() == DQM_KIND_TPROFILE)
810  return static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 1))
811  ->GetBinEntries(bin);
812  else if (kind() == DQM_KIND_TPROFILE2D)
813  return static_cast<TProfile2D *>(accessRootObject(__PRETTY_FUNCTION__, 1))
814  ->GetBinEntries(bin);
815  else
816  {
817  incompatible(__PRETTY_FUNCTION__);
818  return 0;
819  }
820 }
void incompatible(const char *func) const
TH1 * accessRootObject(const char *func, int reqdim) const
bin
set the eta bin as selection string.
Kind kind() const
Get the type of the monitor element.
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 789 of file MonitorElement.cc.

References accessRootObject().

790 { return accessRootObject(__PRETTY_FUNCTION__, 2)
791  ->GetBinError(binx, biny); }
TH1 * accessRootObject(const char *func, int reqdim) const
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 795 of file MonitorElement.cc.

References accessRootObject().

796 { return accessRootObject(__PRETTY_FUNCTION__, 3)
797  ->GetBinError(binx, biny, binz); }
TH1 * accessRootObject(const char *func, int reqdim) const
double MonitorElement::getEntries ( ) const

get # of entries

Definition at line 801 of file MonitorElement.cc.

References accessRootObject().

Referenced by CaloTowersClient::CaloTowersEndjob(), CaloTowersDQMClient::CaloTowersEndjob(), RPCClusterSizeTest::clientOperation(), SiPixelDataQuality::computeGlobalQualityFlag(), PFClient::createProjectionPlots(), PhotonOfflineClient::dividePlots(), MuonTestSummary::doEnergyTests(), MuonTestSummary::doMultiplicityTests(), MuonTestSummary::doMuonIDTests(), MuonAlignmentSummary::dqmEndJob(), ECALpedestalPCLHarvester::dqmEndJob(), DTRunConditionVarClient::dqmEndJob(), hcaldqm::DigiRunSummary::endLuminosityBlock(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), RPCOccupancyTest::fillGlobalME(), SiPixelDataQuality::fillGlobalQualityPlot(), SiStripSummaryCreator::fillHistos(), RPCChamberQuality::fillMonitorElements(), SiPixelActionExecutor::fillSummary(), SiStripBadModuleFedErrESSource::getProcessedEvents(), SiPixelDigiModule::getZeroLoEffROCs(), HcalDigisClient::HcalDigisEndjob(), HcalRecHitsDQMClient::HcalRecHitsEndjob(), TrackingActionExecutor::printShiftHistoParameters(), SiStripActionExecutor::printShiftHistoParameters(), Comp2Ref2DChi2::runTest(), MeanWithinExpected::runTest(), SiStripDQMHistoryHelper::setDBValuesForStat(), ShiftFillLast(), and HcalSimHitsClient::SimHitsEndjob().

802 { return accessRootObject(__PRETTY_FUNCTION__, 1)
803  ->GetEntries(); }
TH1 * accessRootObject(const char *func, int reqdim) const
double MonitorElement::getFloatValue ( ) const
inline
const std::string MonitorElement::getFullname ( ) const
inline
int64_t MonitorElement::getIntValue ( ) const
inline
bool MonitorElement::getLumiFlag ( ) const
inline

true if ME is meant to be stored for each luminosity section

Definition at line 146 of file MonitorElement.h.

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

Referenced by MEtoEDMConverter::putData().

147  { return data_.flags & DQMNet::DQM_PROP_LUMI; }
uint32_t flags
Definition: DQMNet.h:99
DQMNet::CoreObject data_
static const uint32_t DQM_PROP_LUMI
Definition: DQMNet.h:61
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 729 of file MonitorElement.cc.

References accessRootObject().

Referenced by MuonAlignmentSummary::dqmEndJob(), and BeamMonitor::FitAndFill().

730 { return accessRootObject(__PRETTY_FUNCTION__, axis-1)
731  ->GetMeanError(axis); }
TH1 * accessRootObject(const char *func, int reqdim) const
const std::string& MonitorElement::getName ( void  ) const
inline

get name of ME

Definition at line 113 of file MonitorElement.h.

References DQMNet::CoreObject::objname.

Referenced by HLTSeedL1LogicScalers::analyze(), L1TEMTFEventInfoClient::book(), L1TEventInfoClient::book(), PFClient::createResolutionPlots(), L1EmulatorErrorFlagClient::dqmEndJob(), HLTMuonCertSummary::dqmEndJob(), plotting.Plot::draw(), L1TEMTFEventInfoClient::dumpContentMonitorElements(), L1TEventInfoClient::dumpContentMonitorElements(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiStripSummaryCreator::fillHistos(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiPixelActionExecutor::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), TrackingCertificationInfo::fillTrackingCertificationMEs(), TrackingCertificationInfo::fillTrackingCertificationMEsAtLumi(), TrackingQualityChecker::fillTrackingStatus(), TrackingQualityChecker::fillTrackingStatusAtLumi(), SiPixelDataQuality::getDetId(), SiPixelInformationExtractor::getDetId(), ESClient::getHisto(), SiStripQualityChecker::getModuleStatus(), SiStripSummaryCreator::getSummaryME(), CommissioningHistograms::histogram(), SiStripHistoPlotter::makeCondDBPlots(), L1TDTTPGClient::makeRatioHisto(), NanoAODDQM::Plot::name(), SiStripTrackerMapCreator::paintTkMapFromHistogram(), APVGain::APVmon::printAll(), TrackingActionExecutor::printShiftHistoParameters(), SiStripActionExecutor::printShiftHistoParameters(), ElectronDqmHarvesterBase::profileX(), ScoutingAnalyzerBase::profileX(), ElectronDqmHarvesterBase::profileY(), ScoutingAnalyzerBase::profileY(), MEtoEDMConverter::putData(), SiStripPopConFEDErrorsHandlerFromDQM::readHistogram(), SiStripPopConHistoryDQM::returnDetComponent(), DTLocalTriggerSynchTest::runClientDiagnostic(), and CSCRecHit2DValidation::~CSCRecHit2DValidation().

114  { return data_.objname; }
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
int MonitorElement::getNbinsX ( ) const

get # of bins in X-axis

Definition at line 747 of file MonitorElement.cc.

References accessRootObject().

Referenced by L1TStage2RegionalMuonCandComp::analyze(), dqm::TrackAnalyzer::analyze(), SiStripMonitorQuality::analyze(), TrackBuildingAnalyzer::analyze(), JetAnalyzer_HeavyIons::analyze(), ecaldqm::MESetDet2D::book(), ecaldqm::MESetDet1D::book(), L1TStage2RegionalMuonCandComp::bookHistograms(), PixelLumiDQM::calculateBunchMask(), CaloTowersClient::CaloTowersEndjob(), CaloTowersDQMClient::CaloTowersEndjob(), RPCDeadChannelTest::clientOperation(), RPCEventSummary::clientOperation(), SiPixelHitEfficiencyModule::computeEfficiencies(), PFClient_JetRes::createEfficiencyPlots(), PFClient::createProfilePlots(), PFClient::createProjectionPlots(), PFClient::createResolutionPlots(), ConversionPostprocessing::dividePlots(), PhotonPostprocessing::dividePlots(), PhotonOfflineClient::dividePlots(), MuonTrackValidatorBase::doProfileX(), HltSusyExoPostProcessor::dqmEndJob(), DQMExample_Step2::dqmEndJob(), RPCEfficiencyShiftHisto::dqmEndJob(), METTesterPostProcessorHarvesting::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), JetTesterPostProcessor::dqmEndJob(), SiPixelEDAClient::dqmEndLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), TrackingQualityChecker::fillDummyGlobalStatus(), SiStripCertificationInfo::fillDummySiStripCertification(), SiStripQualityChecker::fillDummyStatus(), TrackingCertificationInfo::fillDummyTrackingCertification(), RPCOccupancyTest::fillGlobalME(), SiPixelDataQuality::fillGlobalQualityPlot(), SiStripSummaryCreator::fillGrandSummaryHistos(), DQMMessageLoggerClient::fillHistograms(), DQMFEDIntegrityClient::fillHistograms(), SiStripSummaryCreator::fillHistos(), SiPixelActionExecutor::fillOccupancy(), SiPixelActionExecutor::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), SiPixelInformationExtractor::getNormalization(), SiPixelInformationExtractor::getNormalization2D(), SiPixelDigiModule::getZeroLoEffROCs(), RPCFEDIntegrity::labelBins(), rpcdqm::utils::labelXAxisSector(), rpcdqm::utils::labelXAxisSegment(), TotemRPDQMHarvester::MakeHitNumberRatios(), TotemRPDQMHarvester::MakePlaneEfficiencyHistograms(), SiPixelSCurveCalibrationAnalysis::makeThresholdSummary(), L1TGCTClient::makeXProjection(), L1TGCTClient::makeYProjection(), DTTimeEvolutionHisto::normalizeTo(), HLTTauPostProcessor::plotFilterEfficiencies(), SiStripPopConFEDErrorsHandlerFromDQM::readHistogram(), HcalDigisClient::scaleMETH2D(), L1EmulatorErrorFlagClient::setSummary(), ShiftFillLast(), and HcalSimHitsClient::SimHitsEndjob().

748 { return accessRootObject(__PRETTY_FUNCTION__, 1)
749  ->GetNbinsX(); }
TH1 * accessRootObject(const char *func, int reqdim) const
int MonitorElement::getNbinsY ( ) const
int MonitorElement::getNbinsZ ( ) const

get # of bins in Z-axis

Definition at line 759 of file MonitorElement.cc.

References accessRootObject().

760 { return accessRootObject(__PRETTY_FUNCTION__, 3)
761  ->GetNbinsZ(); }
TH1 * accessRootObject(const char *func, int reqdim) const
const std::string& MonitorElement::getPathname ( ) const
inline

get pathname of parent folder

Definition at line 117 of file MonitorElement.h.

References DQMNet::CoreObject::dirname.

Referenced by SiPixelInformationExtractor::findNoisyPixels(), MEtoEDMConverter::putData(), and SusyPostProcessor::QuantilePlots().

118  { return *data_.dirname; }
const std::string * dirname
Definition: DQMNet.h:106
DQMNet::CoreObject data_
std::vector< QReport * > MonitorElement::getQErrors ( ) const

get errors from last set of quality tests

Definition at line 636 of file MonitorElement.cc.

References data_, MillePedeFileConverter_cfg::e, dqm::qstatus::ERROR, mps_fire::i, DQMNet::CoreObject::qreports, qreports_, and mps_fire::result.

Referenced by HLTTauCertifier::dqmEndJob(), and QTestStatusChecker::processAlarms().

637 {
638  std::vector<QReport *> result;
639  result.reserve(qreports_.size());
640  for (size_t i = 0, e = qreports_.size(); i != e; ++i)
641  if (data_.qreports[i].code == dqm::qstatus::ERROR)
642  {
643  const_cast<MonitorElement *>(this)->qreports_[i].qvalue_
644  = const_cast<DQMNet::QValue *>(&data_.qreports[i]);
645  result.push_back(const_cast<QReport *>(&qreports_[i]));
646  }
647  return result;
648 }
QReports qreports
Definition: DQMNet.h:108
std::vector< QReport > qreports_
DQMNet::CoreObject data_
static const int ERROR
std::vector< QReport * > MonitorElement::getQOthers ( ) const

get "other" (i.e. non-error, non-warning, non-"ok") QReports from last set of quality tests

Definition at line 651 of file MonitorElement.cc.

References data_, MillePedeFileConverter_cfg::e, dqm::qstatus::ERROR, mps_fire::i, DQMNet::CoreObject::qreports, qreports_, mps_fire::result, dqm::qstatus::STATUS_OK, and dqm::qstatus::WARNING.

Referenced by QTestStatusChecker::processAlarms().

652 {
653  std::vector<QReport *> result;
654  result.reserve(qreports_.size());
655  for (size_t i = 0, e = qreports_.size(); i != e; ++i)
658  && data_.qreports[i].code != dqm::qstatus::ERROR)
659  {
660  const_cast<MonitorElement *>(this)->qreports_[i].qvalue_
661  = const_cast<DQMNet::QValue *>(&data_.qreports[i]);
662  result.push_back(const_cast<QReport *>(&qreports_[i]));
663  }
664  return result;
665 }
QReports qreports
Definition: DQMNet.h:108
std::vector< QReport > qreports_
static const int WARNING
DQMNet::CoreObject data_
static const int STATUS_OK
static const int ERROR
const QReport * MonitorElement::getQReport ( const std::string &  qtname) const

get QReport corresponding to <qtname> (null pointer if QReport does not exist)

Definition at line 598 of file MonitorElement.cc.

Referenced by addQReport(), RPCDeadChannelTest::clientOperation(), MuonTestSummary::doKinematicsTests(), DataCertificationJetMET::dqmEndJob(), DTResolutionTest::dqmEndLuminosityBlock(), BeamSpotProblemMonitor::fillPlots(), L1TRPCTFClient::processHistograms(), L1TEMTFEventInfoClient::readQtResults(), L1TEventInfoClient::readQtResults(), L1TTestsSummary::updateL1TOccupancyMonitor(), L1TTestsSummary::updateL1TRateMonitor(), and L1TTestsSummary::updateL1TSyncMonitor().

599 {
600  QReport *qr;
601  DQMNet::QValue *qv;
602  const_cast<MonitorElement *>(this)->getQReport(false, qtname, qr, qv);
603  return qr;
604 }
const QReport * getQReport(const std::string &qtname) const
get QReport corresponding to <qtname> (null pointer if QReport does not exist)
void MonitorElement::getQReport ( bool  create,
const std::string &  qtname,
QReport *&  qr,
DQMNet::QValue *&  qv 
)
private

Definition at line 1391 of file MonitorElement.cc.

References DQMNet::QValue::algorithm, DQMNet::QValue::code, data_, dqm::qstatus::DID_NOT_RUN, end, DQMNet::QValue::message, lumiQueryAPI::q, DQMNet::CoreObject::qreports, qreports_, DQMNet::QValue::qtname, and DQMNet::QValue::qtresult.

1392 {
1393  assert(qreports_.size() == data_.qreports.size());
1394 
1395  qr = nullptr;
1396  qv = nullptr;
1397 
1398  size_t pos = 0, end = qreports_.size();
1399  while (pos < end && data_.qreports[pos].qtname != qtname)
1400  ++pos;
1401 
1402  if (pos == end && ! create)
1403  return;
1404  else if (pos == end)
1405  {
1406  data_.qreports.emplace_back();
1407  qreports_.push_back(QReport(nullptr, nullptr));
1408 
1409  DQMNet::QValue &q = data_.qreports.back();
1411  q.qtresult = 0;
1412  q.qtname = qtname;
1413  q.message = "NO_MESSAGE_ASSIGNED";
1414  q.algorithm = "UNKNOWN_ALGORITHM";
1415  }
1416 
1417  qr = &qreports_[pos];
1418  qv = &data_.qreports[pos];
1419 }
QReports qreports
Definition: DQMNet.h:108
std::string algorithm
Definition: DQMNet.h:94
def create(alignables, pedeDump, additionalData, outputFile, config)
std::vector< QReport > qreports_
static const int DID_NOT_RUN
#define end
Definition: vmac.h:39
std::string qtname
Definition: DQMNet.h:93
DQMNet::CoreObject data_
std::string message
Definition: DQMNet.h:92
float qtresult
Definition: DQMNet.h:91
std::vector< QReport * > MonitorElement::getQReports ( ) const

get map of QReports

Definition at line 607 of file MonitorElement.cc.

References data_, MillePedeFileConverter_cfg::e, mps_fire::i, DQMNet::CoreObject::qreports, qreports_, and mps_fire::result.

Referenced by HLTMuonCertSummary::dqmEndJob(), SiPixelPhase1Summary::fillSummaries(), TrackingQualityChecker::fillTrackingStatus(), TrackingUtility::getMEStatus(), SiStripUtility::getMEStatus(), SiStripQualityChecker::getModuleStatus(), SiPixelUtility::getStatus(), L1TRPCTFClient::processHistograms(), L1TEMTFEventInfoClient::readQtResults(), and L1TEventInfoClient::readQtResults().

608 {
609  std::vector<QReport *> result;
610  result.reserve(qreports_.size());
611  for (size_t i = 0, e = qreports_.size(); i != e; ++i)
612  {
613  const_cast<MonitorElement *>(this)->qreports_[i].qvalue_
614  = const_cast<DQMNet::QValue *>(&data_.qreports[i]);
615  result.push_back(const_cast<QReport *>(&qreports_[i]));
616  }
617  return result;
618 }
QReports qreports
Definition: DQMNet.h:108
std::vector< QReport > qreports_
DQMNet::CoreObject data_
std::vector< QReport * > MonitorElement::getQWarnings ( ) const

get warnings from last set of quality tests

Definition at line 621 of file MonitorElement.cc.

References data_, MillePedeFileConverter_cfg::e, mps_fire::i, DQMNet::CoreObject::qreports, qreports_, mps_fire::result, and dqm::qstatus::WARNING.

Referenced by HLTTauCertifier::dqmEndJob(), and QTestStatusChecker::processAlarms().

622 {
623  std::vector<QReport *> result;
624  result.reserve(qreports_.size());
625  for (size_t i = 0, e = qreports_.size(); i != e; ++i)
626  if (data_.qreports[i].code == dqm::qstatus::WARNING)
627  {
628  const_cast<MonitorElement *>(this)->qreports_[i].qvalue_
629  = const_cast<DQMNet::QValue *>(&data_.qreports[i]);
630  result.push_back(const_cast<QReport *>(&qreports_[i]));
631  }
632  return result;
633 }
QReports qreports
Definition: DQMNet.h:108
std::vector< QReport > qreports_
static const int WARNING
DQMNet::CoreObject data_
TObject * MonitorElement::getRefRootObject ( void  ) const
TH1 * MonitorElement::getRefTH1 ( ) const

Definition at line 1563 of file MonitorElement.cc.

References checkRootObject(), data_, DQMNet::CoreObject::objname, reference_, and update().

Referenced by SiStripHistoPlotter::createStaticPlot(), and SiPixelActionExecutor::fillDeviations().

1564 {
1565  const_cast<MonitorElement *>(this)->update();
1566  return checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 0);
1567 }
void update()
Mark the object updated.
static TH1 * checkRootObject(const std::string &name, TObject *tobj, const char *func, int reqdim)
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
TH1D * MonitorElement::getRefTH1D ( ) const

Definition at line 1588 of file MonitorElement.cc.

References checkRootObject(), data_, DQM_KIND_TH1D, kind(), DQMNet::CoreObject::objname, reference_, and update().

Referenced by Comp2RefEqualH::runTest(), Comp2RefChi2::runTest(), and Comp2RefKolmogorov::runTest().

1589 {
1590  assert(kind() == DQM_KIND_TH1D);
1591  const_cast<MonitorElement *>(this)->update();
1592  return static_cast<TH1D *>
1593  (checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 1));
1594 }
void update()
Mark the object updated.
static TH1 * checkRootObject(const std::string &name, TObject *tobj, const char *func, int reqdim)
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
Kind kind() const
Get the type of the monitor element.
TH1F * MonitorElement::getRefTH1F ( ) const

Definition at line 1570 of file MonitorElement.cc.

References checkRootObject(), data_, DQM_KIND_TH1F, kind(), DQMNet::CoreObject::objname, reference_, and update().

Referenced by Comp2RefEqualH::runTest(), Comp2RefChi2::runTest(), and Comp2RefKolmogorov::runTest().

1571 {
1572  assert(kind() == DQM_KIND_TH1F);
1573  const_cast<MonitorElement *>(this)->update();
1574  return static_cast<TH1F *>
1575  (checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 1));
1576 }
void update()
Mark the object updated.
static TH1 * checkRootObject(const std::string &name, TObject *tobj, const char *func, int reqdim)
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
Kind kind() const
Get the type of the monitor element.
TH1S * MonitorElement::getRefTH1S ( ) const

Definition at line 1579 of file MonitorElement.cc.

References checkRootObject(), data_, DQM_KIND_TH1S, kind(), DQMNet::CoreObject::objname, reference_, and update().

Referenced by Comp2RefEqualH::runTest(), Comp2RefChi2::runTest(), and Comp2RefKolmogorov::runTest().

1580 {
1581  assert(kind() == DQM_KIND_TH1S);
1582  const_cast<MonitorElement *>(this)->update();
1583  return static_cast<TH1S *>
1584  (checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 1));
1585 }
void update()
Mark the object updated.
static TH1 * checkRootObject(const std::string &name, TObject *tobj, const char *func, int reqdim)
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
Kind kind() const
Get the type of the monitor element.
TH2D * MonitorElement::getRefTH2D ( ) const

Definition at line 1615 of file MonitorElement.cc.

References checkRootObject(), data_, DQM_KIND_TH2D, kind(), DQMNet::CoreObject::objname, reference_, and update().

Referenced by Comp2RefEqualH::runTest(), and Comp2Ref2DChi2::runTest().

1616 {
1617  assert(kind() == DQM_KIND_TH2D);
1618  const_cast<MonitorElement *>(this)->update();
1619  return static_cast<TH2D *>
1620  (checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 2));
1621 }
void update()
Mark the object updated.
static TH1 * checkRootObject(const std::string &name, TObject *tobj, const char *func, int reqdim)
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
Kind kind() const
Get the type of the monitor element.
TH2F * MonitorElement::getRefTH2F ( ) const

Definition at line 1597 of file MonitorElement.cc.

References checkRootObject(), data_, DQM_KIND_TH2F, kind(), DQMNet::CoreObject::objname, reference_, and update().

Referenced by Comp2RefEqualH::runTest(), and Comp2Ref2DChi2::runTest().

1598 {
1599  assert(kind() == DQM_KIND_TH2F);
1600  const_cast<MonitorElement *>(this)->update();
1601  return static_cast<TH2F *>
1602  (checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 2));
1603 }
void update()
Mark the object updated.
static TH1 * checkRootObject(const std::string &name, TObject *tobj, const char *func, int reqdim)
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
Kind kind() const
Get the type of the monitor element.
TH2S * MonitorElement::getRefTH2S ( ) const

Definition at line 1606 of file MonitorElement.cc.

References checkRootObject(), data_, DQM_KIND_TH2S, kind(), DQMNet::CoreObject::objname, reference_, and update().

Referenced by Comp2RefEqualH::runTest(), and Comp2Ref2DChi2::runTest().

1607 {
1608  assert(kind() == DQM_KIND_TH2S);
1609  const_cast<MonitorElement *>(this)->update();
1610  return static_cast<TH2S *>
1611  (checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 2));
1612 }
void update()
Mark the object updated.
static TH1 * checkRootObject(const std::string &name, TObject *tobj, const char *func, int reqdim)
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
Kind kind() const
Get the type of the monitor element.
TH3F * MonitorElement::getRefTH3F ( ) const

Definition at line 1624 of file MonitorElement.cc.

References checkRootObject(), data_, DQM_KIND_TH3F, kind(), DQMNet::CoreObject::objname, reference_, and update().

Referenced by Comp2RefEqualH::runTest().

1625 {
1626  assert(kind() == DQM_KIND_TH3F);
1627  const_cast<MonitorElement *>(this)->update();
1628  return static_cast<TH3F *>
1629  (checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 3));
1630 }
void update()
Mark the object updated.
static TH1 * checkRootObject(const std::string &name, TObject *tobj, const char *func, int reqdim)
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
Kind kind() const
Get the type of the monitor element.
TProfile * MonitorElement::getRefTProfile ( ) const

Definition at line 1633 of file MonitorElement.cc.

References checkRootObject(), data_, DQM_KIND_TPROFILE, kind(), DQMNet::CoreObject::objname, reference_, and update().

Referenced by Comp2RefEqualH::runTest(), Comp2RefChi2::runTest(), and Comp2RefKolmogorov::runTest().

1634 {
1635  assert(kind() == DQM_KIND_TPROFILE);
1636  const_cast<MonitorElement *>(this)->update();
1637  return static_cast<TProfile *>
1638  (checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 1));
1639 }
void update()
Mark the object updated.
static TH1 * checkRootObject(const std::string &name, TObject *tobj, const char *func, int reqdim)
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
Kind kind() const
Get the type of the monitor element.
TProfile2D * MonitorElement::getRefTProfile2D ( ) const

Definition at line 1642 of file MonitorElement.cc.

References checkRootObject(), data_, DQM_KIND_TPROFILE2D, kind(), DQMNet::CoreObject::objname, reference_, and update().

Referenced by Comp2Ref2DChi2::runTest().

1643 {
1644  assert(kind() == DQM_KIND_TPROFILE2D);
1645  const_cast<MonitorElement *>(this)->update();
1646  return static_cast<TProfile2D *>
1647  (checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 2));
1648 }
void update()
Mark the object updated.
static TH1 * checkRootObject(const std::string &name, TObject *tobj, const char *func, int reqdim)
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
Kind kind() const
Get the type of the monitor element.
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 741 of file MonitorElement.cc.

References accessRootObject().

Referenced by BeamMonitor::FitAndFill().

742 { return accessRootObject(__PRETTY_FUNCTION__, axis-1)
743  ->GetRMSError(axis); }
TH1 * accessRootObject(const char *func, int reqdim) const
TObject * MonitorElement::getRootObject ( ) const
const std::string& MonitorElement::getStringValue ( ) const
inline

Definition at line 370 of file MonitorElement.h.

References callgraph::kind, and MonitorElement::Scalar::str.

Referenced by MEtoEDMConverter::putData().

371  {
372  assert(kind() == DQM_KIND_STRING);
373  return scalar_.str;
374  }
Kind kind() const
Get the type of the monitor element.
const uint32_t MonitorElement::getTag ( ) const
inline

Definition at line 384 of file MonitorElement.h.

References DQMNet::CoreObject::tag.

385  { return data_.tag; }
uint32_t tag
Definition: DQMNet.h:100
DQMNet::CoreObject data_
DQMNet::TagList MonitorElement::getTags ( ) const
inline

Definition at line 376 of file MonitorElement.h.

References DQMNet::DQM_PROP_TAGGED, DQMNet::CoreObject::flags, and DQMNet::CoreObject::tag.

Referenced by MEtoEDMConverter::putData().

377  {
378  DQMNet::TagList tags;
380  tags.push_back(data_.tag);
381  return tags;
382  }
uint32_t flags
Definition: DQMNet.h:99
static const uint32_t DQM_PROP_TAGGED
Definition: DQMNet.h:55
uint32_t tag
Definition: DQMNet.h:100
DQMNet::CoreObject data_
std::vector< uint32_t > TagList
Definition: DQMNet.h:85
TH1 * MonitorElement::getTH1 ( void  ) const

Definition at line 1476 of file MonitorElement.cc.

References accessRootObject(), and update().

Referenced by HcalOnlineHarvesting::_dqmEndLuminosityBlock(), SiPixelOfflineCalibAnalysisBase::addTF1ToDQMMonitoringElement(), BeamMonitor::analyze(), MBUEandQCDValidation::analyze(), LogMessageMonitor::analyze(), HLTScalers::analyze(), L1TSync::analyze(), L1TSync_Offline::analyze(), TrackerOfflineValidationSummary::associateModuleHistsWithTree(), ecaldqm::MESetEcal::book(), L1TTestsSummary::book(), HistogramManager::book(), dqmoffline::l1t::L1TEfficiencyPlotHandler::book(), QcdUeDQM::book1D(), QcdLowPtDQM::book1D(), DQMHelper::book1dHisto(), QcdLowPtDQM::book2D(), DQMHelper::book2dHisto(), ScoutingAnalyzerBase::bookH1(), ElectronDqmAnalyzerBase::bookH1(), ElectronDqmHarvesterBase::bookH1andDivide(), ScoutingAnalyzerBase::bookH1andDivide(), ScoutingAnalyzerBase::bookH1BinArray(), ScoutingAnalyzerBase::bookH1withSumw2(), ElectronDqmAnalyzerBase::bookH1withSumw2(), ScoutingAnalyzerBase::bookH1withSumw2BinArray(), ElectronDqmAnalyzerBase::bookH2(), ScoutingAnalyzerBase::bookH2(), ElectronDqmHarvesterBase::bookH2andDivide(), ScoutingAnalyzerBase::bookH2andDivide(), ElectronDqmAnalyzerBase::bookH2withSumw2(), ScoutingAnalyzerBase::bookH2withSumw2(), RPCValidHistograms::bookHistograms(), DiJetVarAnalyzer::bookHistograms(), RPCRecHitValid::bookHistograms(), TkAlCaRecoMonitor::bookHistograms(), BeamSpotProblemMonitor::bookHistograms(), BeamMonitor::bookHistograms(), V0Monitor::bookHistograms(), QcdUeDQM::bookHistograms(), Vx3DHLTAnalyzer::bookHistograms(), SiPixelClusterSource::bookHistograms(), LogMessageMonitor::bookHistograms(), TrackingMonitor::bookHistograms(), JetMETHLTOfflineSource::bookHistograms(), QcdLowPtDQM::bookHistograms(), SiStripMonitorTrack::bookMETrend(), SiStripMonitorCluster::bookMETrend(), ElectronDqmAnalyzerBase::bookP1(), SiStripMonitorTrack::bookSubDetMEs(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency(), DQMStore::checkBinningMatches(), dqmoffline::l1t::L1TEfficiencyPlotHandler::computeEfficiency(), SiStripMonitorDigi::createMEs(), SiStripMonitorDigi::createModuleMEs(), SiStripMonitorCluster::createModuleMEs(), SiStripHistoPlotter::createStaticPlot(), SiStripMonitorDigi::createSubDetMEs(), SiStripMonitorCluster::createSubDetMEs(), hcaldqm::ContainerSingle1D::customize(), hcaldqm::ContainerSingle2D::customize(), hcaldqm::Container2D::customize(), hcaldqm::Container1D::customize(), ConcurrentMonitorElement::disableAlphanumeric(), divide(), L1TSync::doFractionInSync(), dqmCopyRecursively(), RPCEfficiencyPerRingLayer::dqmEndJob(), RPCRecHitValidClient::dqmEndJob(), DT4DSegmentClients::dqmEndJob(), DTRecHitClients::dqmEndJob(), DT2DSegmentClients::dqmEndJob(), TauDQMHistEffProducer::dqmEndJob(), DQMScaleToClient::dqmEndJob(), DQMCorrelationClient::dqmEndJob(), ConcurrentMonitorElement::enableSumw2(), hcaldqm::DigiRunSummary::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), HistogramManager::executeExtend(), HistogramManager::executeGroupBy(), hcaldqm::ContainerSingle1D::extendAxisRange(), hcaldqm::ContainerSingle2D::extendAxisRange(), ecaldqm::MESet::fill_(), SiPixelActionExecutor::fillEfficiencySummary(), SiStripQualityDQM::fillGrandSummaryMEs(), DQMMessageLoggerClient::fillHistograms(), SiStripSummaryCreator::fillHistos(), dqm::TrackAnalyzer::fillHistosForState(), MuonPFAnalyzer::fillInRange(), SiStripQualityDQM::fillMEsForLayer(), MuonTrackValidatorBase::fillPlotNoFlow(), BeamSpotProblemMonitor::fillPlots(), SiStripPedestalsDQM::fillSummaryMEs(), SiStripApvGainsDQM::fillSummaryMEs(), SiStripBackPlaneCorrectionDQM::fillSummaryMEs(), SiStripLorentzAngleDQM::fillSummaryMEs(), SiStripQualityDQM::fillSummaryMEs(), SiStripBaseCondObjDQM::fillSummaryMEs(), SiPixelPhase1Summary::fillTrendPlots(), ecaldqm::MESetDet1D::findBin(), BeamMonitor::FitAndFill(), SiStripCablingDQM::getActiveDetIds(), L1TSync::getBeamConfOMDS(), ecaldqm::MESetProjection::getBinContent(), ecaldqm::MESetDet1D::getBinContent(), ecaldqm::MESetProjection::getBinEntries(), ecaldqm::MESetDet1D::getBinEntries(), ecaldqm::MESetProjection::getBinError(), ecaldqm::MESetDet1D::getBinError(), CSCMonitorObject::GetBinError(), EDMtoMEConverter::Tokens< T >::getData(), CSCMonitorObject::GetEntries(), CSCMonitorObject::GetMaximumBin(), HLTBTagHarvestingAnalyzer::GetNumDenumerators(), SiStripSummaryCreator::getSummaryME(), DQMCorrelationClient::getTH1(), CSCMonitorObject::getTH1(), MuIsoValidation::GetTH1FromMonitorElement(), MuonIsolationDQM::GetTH1FromMonitorElement(), CSCMonitorObject::getTH1Lock(), L1TRate_Offline::getXSexFitsPython(), VertexMonitor::initHisto(), HistogramManager::loadFromDQMStore(), SiStripHistoPlotter::makeCondDBPlots(), TotemRPDQMHarvester::MakePlaneEfficiencyHistograms(), PlotCombiner::makePlot(), SiStripHistoPlotter::makePlot(), SusyPostProcessor::QuantilePlots(), ecaldqm::MESetDet2D::reset(), ecaldqm::MESetDet1D::reset(), CSCMonitorObject::SetAxisRange(), DQMCorrelationClient::setAxisTitle(), ecaldqm::MESetProjection::setBinContent(), ecaldqm::MESetDet1D::setBinContent(), ecaldqm::MESetProjection::setBinEntries(), ecaldqm::MESetDet1D::setBinEntries(), ecaldqm::MESetProjection::setBinError(), ecaldqm::MESetDet1D::setBinError(), CSCMonitorObject::SetBinError(), MuonPFAnalyzer::setCodeLabels(), CSCMonitorObject::SetMaximum(), rpcdqm::RPCMEHelper::setNoAlphanumeric(), CSCMonitorObject::SetNormFactor(), ConcurrentMonitorElement::setOption(), DTLocalTriggerTask::setQLabels(), DTLocalTriggerBaseTask::setQLabels(), DTLocalTriggerTask::setQLabelsTheta(), DTLocalTriggerBaseTask::setQLabelsTheta(), ConcurrentMonitorElement::setXTitle(), ConcurrentMonitorElement::setYTitle(), ecaldqm::MESetTrend::shift_(), JetMETHLTOfflineSource::TriggerPosition(), SiStripFEDCheckPlugin::updateHistograms(), L1TTestsSummary::updateL1TOccupancyMonitor(), L1TTestsSummary::updateL1TRateMonitor(), L1TTestsSummary::updateL1TSyncMonitor(), and L1ValidatorHists::Write().

1477 {
1478  const_cast<MonitorElement *>(this)->update();
1479  return accessRootObject(__PRETTY_FUNCTION__, 0);
1480 }
TH1 * accessRootObject(const char *func, int reqdim) const
void update()
Mark the object updated.
TH1D * MonitorElement::getTH1D ( ) const
TH1F * MonitorElement::getTH1F ( ) const

Definition at line 1483 of file MonitorElement.cc.

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

Referenced by HcalOnlineHarvesting::_dqmEndLuminosityBlock(), SiStripGainFromData::algoBeginJob(), L1TStage2EMTF::analyze(), L1TdeStage2CaloLayer1::analyze(), GeneralHLTOffline::analyze(), APVValidationPlots::beginJob(), StripValidationPlots::beginJob(), L1TStage2RatioClient::book(), dqmoffline::l1t::L1TEfficiencyPlotHandler::book(), Benchmark::book1D(), dqmoffline::l1t::L1TDiffHarvesting::L1TDiffPlotHandler::bookDiff(), ElectronDqmAnalyzerBase::bookH1(), ElectronDqmHarvesterBase::bookH1(), ElectronDqmHarvesterBase::bookH1andDivide(), ElectronDqmAnalyzerBase::bookH1withSumw2(), ElectronDqmHarvesterBase::bookH1withSumw2(), ElectronDqmHarvesterBase::bookH2(), ElectronDqmHarvesterBase::bookH2withSumw2(), ME0DigisValidation::bookHistograms(), RPCValidHistograms::bookHistograms(), CastorDigiMonitor::bookHistograms(), CastorRecHitMonitor::bookHistograms(), L1TStage2RegionalMuonCandComp::bookHistograms(), RPCMonitorLinkSynchro::bookHistograms(), L1TStage2MuonComp::bookHistograms(), PrimaryVertexMonitor::bookHistograms(), dqm::RamdiskMonitor::bookHistograms(), QcdPhotonsDQM::bookHistograms(), L1TdeStage2CaloLayer1::bookHistograms(), L1TdeStage2uGT::bookHistograms(), HLTInclusiveVBFSource::bookHistograms(), L1TStage2uGTCaloLayer2Comp::bookHistograms(), DQMProvInfo::bookHistogramsLhcInfo(), TrackEfficiencyClient::bookMEs(), ElectronDqmHarvesterBase::bookP1(), L1TDTTFClient::buildSummaries(), CTPPSDiamondDQMSource::ChannelPlots::ChannelPlots(), ElectronDqmHarvesterBase::cloneH1(), DQMStore::collate1D(), EffPurFromHistos::compute(), EffPurFromHistos2D::compute(), dqmoffline::l1t::L1TDiffHarvesting::L1TDiffPlotHandler::computeDiff(), HTrackVariables::computeEfficiency(), PFClient_JetRes::createEfficiencyPlots(), PFClient::createEfficiencyPlots(), L1TdeRCT::DivideME1D(), MuonTestSummary::doEnergyTests(), HDQMfitUtilities::doGaussFit(), MuonTestSummary::doKinematicsTests(), HDQMfitUtilities::doLanGaussFit(), MuonTestSummary::doMuonIDTests(), HltSusyExoPostProcessor::dqmEndJob(), OuterTrackerMCHarvester::dqmEndJob(), RPCRecHitProbabilityClient::dqmEndJob(), L1TGMTClient::dqmEndJob(), DQMHcalIsoTrackPostProcessor::dqmEndJob(), RPCEfficiencySecond::dqmEndJob(), MuonGEMHitsHarvestor::dqmEndJob(), TriggerRatesMonitorClient::dqmEndJob(), SusyPostProcessor::dqmEndJob(), TauDQMHistEffProducer::dqmEndJob(), EfficiencyPlotter::dqmEndJob(), TriggerMatchEfficiencyPlotter::dqmEndJob(), EcalZmassClient::dqmEndJob(), MuonRecoTest::dqmEndJob(), TrackEfficiencyClient::dqmEndJob(), DTResolutionAnalysisTest::dqmEndJob(), JetMETHLTOfflineClient::dqmEndJob(), RPCDcsInfoClient::dqmEndLuminosityBlock(), BrilClient::dqmEndLuminosityBlock(), DQMDcsInfoClient::dqmEndLuminosityBlock(), DTDataIntegrityTest::dqmEndLuminosityBlock(), DTEfficiencyTest::dqmEndLuminosityBlock(), HarvestingAnalyzer::endJob(), ESPedestalClient::endJobAnalyze(), RPCMonitorLinkSynchro::endLuminosityBlock(), L1TdeStage2CaloLayer1::endLuminosityBlock(), L1TStage2CaloLayer1::endLuminosityBlock(), ZDCDigiStudy::endRun(), METAnalyzer::endRun(), TauDQMHistPlotter::endRun(), LaserDQM::fillAdcCounts(), SiStripQualityChecker::fillDetectorStatusAtLumi(), MillePedeDQMModule::fillExpertHisto(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), BTagDifferentialPlot::fillHisto(), DQMFEDIntegrityClient::fillHistograms(), HLXMonitor::FillHistograms(), SiStripSummaryCreator::fillHistos(), GeneralHLTOffline::fillHltMatrix(), EgHLTOfflineClient::FillHLTvsOfflineHist(), FastTimerServiceClient::fillPathSummaryPlots(), FastTimerServiceClient::fillProcessSummaryPlots(), SiPixelActionExecutor::fillSummary(), ThroughputServiceClient::fillSummaryPlots(), dqmoffline::l1t::fillWithinLimits(), ElectronMcSignalPostValidator::finalize(), ElectronMcFakePostValidator::finalize(), BeamMonitor::FitAndFill(), FlavourHistograms< T >::FlavourHistograms(), MuonTestSummary::GaussFit(), L1TGMTClient::get1DHisto(), L1TDTTPGClient::get1DHisto(), BTagDifferentialPlot::getDifferentialHistoB_b(), BTagDifferentialPlot::getDifferentialHistoB_c(), BTagDifferentialPlot::getDifferentialHistoB_d(), BTagDifferentialPlot::getDifferentialHistoB_dus(), BTagDifferentialPlot::getDifferentialHistoB_dusg(), BTagDifferentialPlot::getDifferentialHistoB_g(), BTagDifferentialPlot::getDifferentialHistoB_ni(), BTagDifferentialPlot::getDifferentialHistoB_pu(), 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_pu(), EffPurFromHistos::getEffFlavVsBEff_s(), EffPurFromHistos::getEffFlavVsBEff_u(), JetMETDQMPostProcessor::getHistogram(), EmDQMPostProcessor::getHistogram(), PFClient_JetRes::getHistogramParameters(), PFClient::getHistogramParameters(), FlavourHistograms< T >::getHistoVector(), SiStripHistoPlotter::getProjection(), SiStripSummaryCreator::getSummaryME(), L1TDTTFClient::getTH1F(), HcalDigisClient::HcalDigisEndjob(), FlavourHistograms< T >::histo_all(), FlavourHistograms< T >::histo_b(), FlavourHistograms< T >::histo_c(), FlavourHistograms< T >::histo_d(), FlavourHistograms< T >::histo_dus(), FlavourHistograms< T >::histo_dusg(), FlavourHistograms< T >::histo_g(), FlavourHistograms< T >::histo_ni(), FlavourHistograms< T >::histo_pu(), FlavourHistograms< T >::histo_s(), FlavourHistograms< T >::histo_u(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), PhotonDataCertification::invMassZtest(), L1TGMTClient::makeEfficiency1D(), DTLocalTriggerEfficiencyTest::makeEfficiencyME(), EgHLTOfflineClient::makeEffMonElem2Leg(), EgHLTOfflineClient::makeEffMonElemFromPassAndAll(), EgHLTOfflineClient::makeEffMonElemFromPassAndFail(), EgHLTOfflineClient::makeEffMonElemFromPassAndFailAndTagTag(), TotemRPDQMHarvester::MakeHitNumberRatios(), TotemRPDQMHarvester::MakePlaneEfficiencyHistograms(), METAnalyzer::makeRatePlot(), L1TGMTClient::makeRatio1D(), DTLocalTriggerSynchTest::makeRatioME(), L1TDTTFClient::makeSummary(), DQMClientExample::performClient(), DTSegmentAnalysisTest::performClientDiagnostic(), BTagDifferentialPlot::plot(), EffPurFromHistos::plot(), FlavourHistograms< T >::plot(), HLTTauPostProcessor::plotFilterEfficiencies(), TotemRPDQMSource::PotPlots::PotPlots(), CTPPSDiamondDQMSource::PotPlots::PotPlots(), L1TStage2RatioClient::processHistograms(), L1TStage2CaloLayer2DEClient::processHistograms(), L1TCSCTFClient::processHistograms(), MEtoEDMConverter::putData(), MuonTestSummary::ResidualCheck(), Comp2RefEqualH::runTest(), Comp2RefChi2::runTest(), Comp2RefKolmogorov::runTest(), ContentsXRange::runTest(), ContentsYRange::runTest(), DeadChannel::runTest(), NoisyChannel::runTest(), ContentSigma::runTest(), MeanWithinExpected::runTest(), CompareLastFilledBin::runTest(), CheckVariance::runTest(), GenericHistoryDQM::setDBValuesForUser(), DTTimeEvolutionHisto::setTimeSlotValue(), and TrackIPHistograms< T >::TrackIPHistograms().

1484 {
1485  assert(kind() == DQM_KIND_TH1F);
1486  const_cast<MonitorElement *>(this)->update();
1487  return static_cast<TH1F *>(accessRootObject(__PRETTY_FUNCTION__, 1));
1488 }
TH1 * accessRootObject(const char *func, int reqdim) const
void update()
Mark the object updated.
Kind kind() const
Get the type of the monitor element.
TH1S * MonitorElement::getTH1S ( ) const

Definition at line 1491 of file MonitorElement.cc.

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

Referenced by DQMStore::collate1S(), MEtoEDMConverter::putData(), Comp2RefEqualH::runTest(), Comp2RefChi2::runTest(), Comp2RefKolmogorov::runTest(), ContentsXRange::runTest(), ContentsYRange::runTest(), DeadChannel::runTest(), NoisyChannel::runTest(), ContentSigma::runTest(), and MeanWithinExpected::runTest().

1492 {
1493  assert(kind() == DQM_KIND_TH1S);
1494  const_cast<MonitorElement *>(this)->update();
1495  return static_cast<TH1S *>(accessRootObject(__PRETTY_FUNCTION__, 1));
1496 }
TH1 * accessRootObject(const char *func, int reqdim) const
void update()
Mark the object updated.
Kind kind() const
Get the type of the monitor element.
TH2D * MonitorElement::getTH2D ( ) const

Definition at line 1523 of file MonitorElement.cc.

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

Referenced by CTPPSPixelDQMSource::bookHistograms(), DQMStore::collate2DD(), DQMCorrelationClient::getTH1(), ScoutingAnalyzerBase::profileX(), ScoutingAnalyzerBase::profileY(), MEtoEDMConverter::putData(), Comp2RefEqualH::runTest(), Comp2Ref2DChi2::runTest(), DeadChannel::runTest(), NoisyChannel::runTest(), ContentSigma::runTest(), and ContentsWithinExpected::runTest().

1524 {
1525  assert(kind() == DQM_KIND_TH2D);
1526  const_cast<MonitorElement *>(this)->update();
1527  return static_cast<TH2D *>(accessRootObject(__PRETTY_FUNCTION__, 2));
1528 }
TH1 * accessRootObject(const char *func, int reqdim) const
void update()
Mark the object updated.
Kind kind() const
Get the type of the monitor element.
TH2F * MonitorElement::getTH2F ( ) const

Definition at line 1507 of file MonitorElement.cc.

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

Referenced by HcalOnlineHarvesting::_dqmEndLuminosityBlock(), SiStripGainFromData::algoBeginJob(), L1TStage2EMTF::analyze(), JetAnalyzer_HeavyIons::analyze(), CTPPSCommonDQMSource::ArmPlots::ArmPlots(), APVValidationPlots::beginJob(), StripValidationPlots::beginJob(), L1TdeStage2CaloLayer1::beginLuminosityBlock(), L1TStage2CaloLayer1::beginLuminosityBlock(), dqmoffline::l1t::L1TEfficiencyPlotHandler::book(), Benchmark::book2D(), dqmoffline::l1t::L1TDiffHarvesting::L1TDiffPlotHandler::bookDiff(), ElectronDqmAnalyzerBase::bookH2(), ElectronDqmHarvesterBase::bookH2(), ElectronDqmHarvesterBase::bookH2andDivide(), ElectronDqmAnalyzerBase::bookH2withSumw2(), ElectronDqmHarvesterBase::bookH2withSumw2(), RPCValidHistograms::bookHistograms(), CastorDigiMonitor::bookHistograms(), CastorRecHitMonitor::bookHistograms(), L1TStage2EMTF::bookHistograms(), RPCMonitorLinkSynchro::bookHistograms(), RPCMonitorRaw::bookHistograms(), RPCRecHitValid::bookHistograms(), HLTTauDQMTagAndProbePlotter::bookHistograms(), CaloTowerAnalyzer::bookHistograms(), HLTTauDQMPathPlotter::bookHistograms(), CastorLEDMonitor::bookHistograms(), L1TdeStage2CaloLayer1::bookHistograms(), PhysicsObjectsMonitor::bookHistograms(), BeamMonitor::bookHistograms(), CTPPSPixelDQMSource::bookHistograms(), L1TDTTF::bookHistograms(), ZDCDigiStudy::bookHistograms(), HLTInclusiveVBFSource::bookHistograms(), ZdcSimHitStudy::bookHistograms(), L1TdeRCT::bookHistograms(), L1TStage2CaloLayer1::bookHistograms(), L1TCSCTF::bookHistograms(), JetAnalyzer::bookHistograms(), PrimaryVertexAnalyzer4PUSlimmed::bookHistograms(), DQMProvInfo::bookHistogramsEventInfo(), TrackEfficiencyClient::bookMEs(), DQMStore::collate2D(), dqmoffline::l1t::L1TDiffHarvesting::L1TDiffPlotHandler::computeDiff(), GlobalMuonMatchAnalyzer::computeEfficiencyEta(), GlobalMuonMatchAnalyzer::computeEfficiencyPt(), PFClient::createProfilePlots(), PFClient::createProjectionPlots(), PFClient_JetRes::createResolutionPlots(), PFClient::createResolutionPlots(), ElasticPlotDQMSource::DiagonalPlots::DiagonalPlots(), FlavourHistograms2D< T, G >::divide(), EmDQMPostProcessor::dividehistos2D(), L1TdeRCT::DivideME2D(), MuonTrackValidatorBase::doProfileX(), TrackingDQMClientHeavyIons::dqmEndJob(), L1TGMTClient::dqmEndJob(), TriggerRatesMonitorClient::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), MuonRecoTest::dqmEndJob(), PhotonDataCertification::dqmEndJob(), TrackEfficiencyClient::dqmEndJob(), DTChamberEfficiencyClient::dqmEndJob(), HLTMuonCertSummary::dqmEndJob(), DTDataIntegrityTest::dqmEndLuminosityBlock(), DTNoiseAnalysisTest::dqmEndLuminosityBlock(), DTOccupancyTest::dqmEndLuminosityBlock(), DTOccupancyTestML::dqmEndLuminosityBlock(), DTChamberEfficiencyTest::dqmEndLuminosityBlock(), DTResolutionTest::dqmEndLuminosityBlock(), L1TEMTFEventInfoClient::dumpContentMonitorElements(), L1TEventInfoClient::dumpContentMonitorElements(), RPCMonitorLinkSynchro::endLuminosityBlock(), HigPhotonJetHLTOfflineSource::endRun(), HLTOverallSummary::endRun(), dqmoffline::l1t::fill2DWithinLimits(), SiPixelActionExecutor::fillEfficiency(), SiStripSummaryCreator::fillHistos(), dqm::TrackAnalyzer::fillHistosForState(), SiPixelActionExecutor::fillOccupancy(), TrackingQualityChecker::fillStatusHistogram(), SiStripQualityChecker::fillStatusHistogram(), TrackingCertificationInfo::fillTrackingCertificationMEs(), SiPixelInformationExtractor::findNoisyPixels(), FitSlicesYTool::FitSlicesYTool(), FlavourHistograms2D< T, G >::FlavourHistograms2D(), L1TGMTClient::get2DHisto(), L1TDTTPGClient::get2DHisto(), EmDQMPostProcessor::get2DHistogram(), SiStripBadModuleFedErrESSource::getFedBadChannelList(), FlavourHistograms2D< T, G >::getHistoVector(), HLTBTagHarvestingAnalyzer::GetNumDenumerators(), SiStripHistoPlotter::getProjection(), L1TOccupancyClientHistogramService::getRebinnedHistogram(), DQMCorrelationClient::getTH1(), L1TDTTFClient::getTH2F(), MuIsoValidation::GetTH2FromMonitorElement(), TotemTimingDQMSource::globalEndLuminosityBlock(), FlavourHistograms2D< T, G >::histo_all(), FlavourHistograms2D< T, G >::histo_b(), FlavourHistograms2D< T, G >::histo_c(), FlavourHistograms2D< T, G >::histo_d(), FlavourHistograms2D< T, G >::histo_dus(), FlavourHistograms2D< T, G >::histo_dusg(), FlavourHistograms2D< T, G >::histo_g(), FlavourHistograms2D< T, G >::histo_ni(), FlavourHistograms2D< T, G >::histo_pu(), FlavourHistograms2D< T, G >::histo_s(), FlavourHistograms2D< T, G >::histo_u(), CTPPSCommonDQMSource::GlobalPlots::Init(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), DQMGenericClient::limitedFit(), L1TGMTClient::makeEfficiency2D(), DTTriggerEfficiencyTest::makeEfficiencyME(), DTLocalTriggerEfficiencyTest::makeEfficiencyME2D(), TotemRPDQMHarvester::MakeHitNumberRatios(), TotemRPDQMHarvester::MakePlaneEfficiencyHistograms(), L1TDTTPGClient::makeRatioHisto(), L1TDTTFClient::makeSummary(), DTSegmentAnalysisTest::performClientDiagnostic(), FlavourHistograms2D< T, G >::plot(), CTPPSDiamondDQMSource::PotPlots::PotPlots(), CastorLEDMonitor::processEvent(), L1TGCTClient::processHistograms(), ElectronDqmHarvesterBase::profileX(), ElectronDqmHarvesterBase::profileY(), MEtoEDMConverter::putData(), Comp2RefEqualH::runTest(), Comp2Ref2DChi2::runTest(), DeadChannel::runTest(), NoisyChannel::runTest(), ContentSigma::runTest(), ContentsWithinExpected::runTest(), CompareLastFilledBin::runTest(), SiStripPopConHistoryDQM::setDBValuesForUser(), HLXMonitor::SetupEventInfo(), and L1ValidatorHists::Write().

1508 {
1509  assert(kind() == DQM_KIND_TH2F);
1510  const_cast<MonitorElement *>(this)->update();
1511  return static_cast<TH2F *>(accessRootObject(__PRETTY_FUNCTION__, 2));
1512 }
TH1 * accessRootObject(const char *func, int reqdim) const
void update()
Mark the object updated.
Kind kind() const
Get the type of the monitor element.
TH2S * MonitorElement::getTH2S ( ) const

Definition at line 1515 of file MonitorElement.cc.

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

Referenced by DQMStore::collate2S(), DQMCorrelationClient::getTH1(), MEtoEDMConverter::putData(), Comp2RefEqualH::runTest(), Comp2Ref2DChi2::runTest(), DeadChannel::runTest(), NoisyChannel::runTest(), ContentSigma::runTest(), and ContentsWithinExpected::runTest().

1516 {
1517  assert(kind() == DQM_KIND_TH2S);
1518  const_cast<MonitorElement *>(this)->update();
1519  return static_cast<TH2S *>(accessRootObject(__PRETTY_FUNCTION__, 2));
1520 }
TH1 * accessRootObject(const char *func, int reqdim) const
void update()
Mark the object updated.
Kind kind() const
Get the type of the monitor element.
TH3F * MonitorElement::getTH3F ( ) const

Definition at line 1531 of file MonitorElement.cc.

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

Referenced by DQMStore::collate3D(), MEtoEDMConverter::putData(), and Comp2RefEqualH::runTest().

1532 {
1533  assert(kind() == DQM_KIND_TH3F);
1534  const_cast<MonitorElement *>(this)->update();
1535  return static_cast<TH3F *>(accessRootObject(__PRETTY_FUNCTION__, 3));
1536 }
TH1 * accessRootObject(const char *func, int reqdim) const
void update()
Mark the object updated.
Kind kind() const
Get the type of the monitor element.
std::string MonitorElement::getTitle ( ) const

get MonitorElement title

Definition at line 858 of file MonitorElement.cc.

References accessRootObject().

Referenced by TkHistoMap::getDetId(), SiStripHistoPlotter::getProjection(), and SiPixelSCurveCalibrationAnalysis::makeThresholdSummary().

859 { return accessRootObject(__PRETTY_FUNCTION__, 1)
860  ->GetTitle(); }
TH1 * accessRootObject(const char *func, int reqdim) const
TProfile * MonitorElement::getTProfile ( ) const

Definition at line 1539 of file MonitorElement.cc.

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

Referenced by EcalSelectiveReadoutValidation::analyzeTP(), StripValidationPlots::beginJob(), dqmoffline::l1t::L1TDiffHarvesting::L1TDiffPlotHandler::bookDiff(), CastorDigiMonitor::bookHistograms(), CTPPSPixelDQMSource::bookHistograms(), CastorMonitorModule::bookHistograms(), ElectronDqmAnalyzerBase::bookP1(), ElectronDqmHarvesterBase::bookP1(), ScoutingAnalyzerBase::bookP1(), Benchmark::bookProfile(), TrackingAnalyser::checkTrackerFEDsInLS(), TrackingAnalyser::checkTrackerFEDsWdataInLS(), DQMStore::collateProfile(), dqmoffline::l1t::L1TDiffHarvesting::L1TDiffPlotHandler::computeDiff(), PFClient::createProfilePlots(), EmDQMPostProcessor::dividehistos(), JetMETDQMPostProcessor::dividehistos(), MuonTrackValidatorBase::doProfileX(), EmDQMPostProcessor::dqmEndJob(), HltSusyExoPostProcessor::dqmEndJob(), AlcaBeamMonitorClient::endLuminosityBlock(), AlcaBeamMonitor::endLuminosityBlock(), FastTimerServiceClient::fillPlotsVsLumi(), SiStripPedestalsDQM::fillSummaryMEs(), SiStripBackPlaneCorrectionDQM::fillSummaryMEs(), SiStripApvGainsDQM::fillSummaryMEs(), SiStripLorentzAngleDQM::fillSummaryMEs(), SiStripBaseCondObjDQM::fillSummaryMEs(), ElectronMcSignalPostValidator::finalize(), ElectronMcFakePostValidator::finalize(), BeamMonitor::FitAndFill(), FlavourHistograms2D< T, G >::FlavourHistograms2D(), L1TDTTPGClient::get1DProfile(), FlavourHistograms2D< T, G >::getProfileVector(), SiStripHistoPlotter::getProjection(), MuIsoValidation::GetTProfileFromMonitorElement(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), HLTTauPostProcessor::plotFilterEfficiencies(), FlavourHistograms2D< T, G >::profile_all(), FlavourHistograms2D< T, G >::profile_b(), FlavourHistograms2D< T, G >::profile_c(), FlavourHistograms2D< T, G >::profile_d(), FlavourHistograms2D< T, G >::profile_dus(), FlavourHistograms2D< T, G >::profile_dusg(), FlavourHistograms2D< T, G >::profile_g(), FlavourHistograms2D< T, G >::profile_ni(), FlavourHistograms2D< T, G >::profile_pu(), FlavourHistograms2D< T, G >::profile_s(), FlavourHistograms2D< T, G >::profile_u(), MEtoEDMConverter::putData(), Comp2RefEqualH::runTest(), Comp2RefChi2::runTest(), Comp2RefKolmogorov::runTest(), ContentsWithinExpected::runTest(), and CheckVariance::runTest().

1540 {
1541  assert(kind() == DQM_KIND_TPROFILE);
1542  const_cast<MonitorElement *>(this)->update();
1543  return static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 1));
1544 }
TH1 * accessRootObject(const char *func, int reqdim) const
void update()
Mark the object updated.
Kind kind() const
Get the type of the monitor element.
TProfile2D * MonitorElement::getTProfile2D ( ) const
double MonitorElement::getYmax ( ) const
private

get max Y value (for profiles)

Definition at line 838 of file MonitorElement.cc.

References accessRootObject(), DQM_KIND_TPROFILE, incompatible(), kind(), and AlCaHLTBitMon_QueryRunRegistry::string.

839 {
840  if (kind() == DQM_KIND_TPROFILE)
841  return static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 1))
842  ->GetYmax();
843  else
844  {
845  incompatible(__PRETTY_FUNCTION__);
846  return 0;
847  }
848 }
void incompatible(const char *func) const
TH1 * accessRootObject(const char *func, int reqdim) const
Kind kind() const
Get the type of the monitor element.
double MonitorElement::getYmin ( ) const
private

get min Y value (for profiles)

Definition at line 824 of file MonitorElement.cc.

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

825 {
826  if (kind() == DQM_KIND_TPROFILE)
827  return static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 1))
828  ->GetYmin();
829  else
830  {
831  incompatible(__PRETTY_FUNCTION__);
832  return 0;
833  }
834 }
void incompatible(const char *func) const
TH1 * accessRootObject(const char *func, int reqdim) const
Kind kind() const
Get the type of the monitor element.
void MonitorElement::globalize ( )
inlineprivate

Definition at line 77 of file MonitorElement.h.

References DQMNet::CoreObject::moduleId.

77  {
78  data_.moduleId = 0;
79  }
uint32_t moduleId
Definition: DQMNet.h:105
DQMNet::CoreObject data_
bool MonitorElement::hasError ( void  ) const
inline

true if at least of one of the quality tests returned an error

Definition at line 196 of file MonitorElement.h.

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

Referenced by SiPixelDataQuality::computeGlobalQualityFlag(), TrackingUtility::getMEStatus(), SiStripUtility::getMEStatus(), SiPixelUtility::getStatus(), and QTestStatusChecker::processAlarms().

uint32_t flags
Definition: DQMNet.h:99
static const uint32_t DQM_PROP_REPORT_ERROR
Definition: DQMNet.h:47
DQMNet::CoreObject data_
bool MonitorElement::hasOtherReport ( ) const
inline

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

Definition at line 204 of file MonitorElement.h.

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

Referenced by TrackingUtility::getMEStatus(), SiStripUtility::getMEStatus(), SiPixelUtility::getStatus(), and QTestStatusChecker::processAlarms().

uint32_t flags
Definition: DQMNet.h:99
static const uint32_t DQM_PROP_REPORT_OTHER
Definition: DQMNet.h:49
DQMNet::CoreObject data_
bool MonitorElement::hasWarning ( ) const
inline

true if at least of one of the quality tests returned a warning

Definition at line 200 of file MonitorElement.h.

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

Referenced by TrackingUtility::getMEStatus(), SiStripUtility::getMEStatus(), SiPixelUtility::getStatus(), and QTestStatusChecker::processAlarms().

static const uint32_t DQM_PROP_REPORT_WARN
Definition: DQMNet.h:48
uint32_t flags
Definition: DQMNet.h:99
DQMNet::CoreObject data_
void MonitorElement::incompatible ( const char *  func) const
private

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

702 {
703  raiseDQMError("MonitorElement", "Method '%s' cannot be invoked on monitor"
704  " element '%s'", func, data_.objname.c_str());
705 }
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
MonitorElement * MonitorElement::initialise ( Kind  kind)
private

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

40 {
41  switch (kind)
42  {
43  case DQM_KIND_INT:
44  case DQM_KIND_REAL:
45  case DQM_KIND_STRING:
46  case DQM_KIND_TH1F:
47  case DQM_KIND_TH1S:
48  case DQM_KIND_TH1D:
49  case DQM_KIND_TH2F:
50  case DQM_KIND_TH2S:
51  case DQM_KIND_TH2D:
52  case DQM_KIND_TH3F:
53  case DQM_KIND_TPROFILE:
55  data_.flags &= ~DQMNet::DQM_PROP_TYPE_MASK;
56  data_.flags |= kind;
57  break;
58 
59  default:
60  raiseDQMError("MonitorElement", "cannot initialise monitor element"
61  " to invalid type %d", (int) kind);
62  }
63 
64  return this;
65 }
Definition: DQMNet.h:23
uint32_t flags
Definition: DQMNet.h:99
DQMNet::CoreObject data_
Kind kind() const
Get the type of the monitor element.
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
MonitorElement * MonitorElement::initialise ( Kind  kind,
TH1 *  rootobj 
)
private

Definition at line 68 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_.

69 {
71  switch (kind)
72  {
73  case DQM_KIND_TH1F:
74  assert(dynamic_cast<TH1F *>(rootobj));
75  assert(! reference_ || dynamic_cast<TH1F *>(reference_));
76  object_ = rootobj;
77  break;
78 
79  case DQM_KIND_TH1S:
80  assert(dynamic_cast<TH1S *>(rootobj));
81  assert(! reference_ || dynamic_cast<TH1S *>(reference_));
82  object_ = rootobj;
83  break;
84 
85  case DQM_KIND_TH1D:
86  assert(dynamic_cast<TH1D *>(rootobj));
87  assert(! reference_ || dynamic_cast<TH1D *>(reference_));
88  object_ = rootobj;
89  break;
90 
91  case DQM_KIND_TH2F:
92  assert(dynamic_cast<TH2F *>(rootobj));
93  assert(! reference_ || dynamic_cast<TH2F *>(reference_));
94  object_ = rootobj;
95  break;
96 
97  case DQM_KIND_TH2S:
98  assert(dynamic_cast<TH2S *>(rootobj));
99  assert(! reference_ || dynamic_cast<TH2S *>(reference_));
100  object_ = rootobj;
101  break;
102 
103  case DQM_KIND_TH2D:
104  assert(dynamic_cast<TH2D *>(rootobj));
105  assert(! reference_ || dynamic_cast<TH1D *>(reference_));
106  object_ = rootobj;
107  break;
108 
109  case DQM_KIND_TH3F:
110  assert(dynamic_cast<TH3F *>(rootobj));
111  assert(! reference_ || dynamic_cast<TH3F *>(reference_));
112  object_ = rootobj;
113  break;
114 
115  case DQM_KIND_TPROFILE:
116  assert(dynamic_cast<TProfile *>(rootobj));
117  assert(! reference_ || dynamic_cast<TProfile *>(reference_));
118  object_ = rootobj;
119  break;
120 
121  case DQM_KIND_TPROFILE2D:
122  assert(dynamic_cast<TProfile2D *>(rootobj));
123  assert(! reference_ || dynamic_cast<TProfile2D *>(reference_));
124  object_ = rootobj;
125  break;
126 
127  default:
128  raiseDQMError("MonitorElement", "cannot initialise monitor element"
129  " as a root object with type %d", (int) kind);
130  }
131 
132  if (reference_)
134 
135  return this;
136 }
MonitorElement * initialise(Kind kind)
uint32_t flags
Definition: DQMNet.h:99
static const uint32_t DQM_PROP_HAS_REFERENCE
Definition: DQMNet.h:54
DQMNet::CoreObject data_
Kind kind() const
Get the type of the monitor element.
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
MonitorElement * MonitorElement::initialise ( Kind  kind,
const std::string &  value 
)
private

Definition at line 139 of file MonitorElement.cc.

References DQM_KIND_STRING, initialise(), raiseDQMError(), scalar_, MonitorElement::Scalar::str, and relativeConstraints::value.

140 {
141  initialise(kind);
142  if (kind == DQM_KIND_STRING)
143  scalar_.str = value;
144  else
145  raiseDQMError("MonitorElement", "cannot initialise monitor element"
146  " as a string with type %d", (int) kind);
147 
148  return this;
149 }
MonitorElement * initialise(Kind kind)
Kind kind() const
Get the type of the monitor element.
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
bool MonitorElement::isAccumulateEnabled ( ) const
inlineprivate

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

Definition at line 288 of file MonitorElement.h.

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

Referenced by copyFrom(), and copyFunctions().

uint32_t flags
Definition: DQMNet.h:99
static const uint32_t DQM_PROP_ACCUMULATE
Definition: DQMNet.h:56
DQMNet::CoreObject data_
bool MonitorElement::isEfficiency ( ) const
inline
bool MonitorElement::isSoftResetEnabled ( ) const
inlineprivate

whether soft-reset is enabled; default is false

Definition at line 284 of file MonitorElement.h.

Referenced by copyFrom(), and copyFunctions().

285  { return refvalue_ != nullptr; }
Kind MonitorElement::kind ( ) const
inline

Get the type of the monitor element.

Definition at line 105 of file MonitorElement.h.

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

Referenced by accessRootObject(), dqmoffline::l1t::L1TEfficiencyPlotHandler::book(), SiStripMonitorCluster::bookMETrend(), copyFrom(), PFClient_JetRes::createEfficiencyPlots(), PFClient::createEfficiencyPlots(), SiStripMonitorDigi::createMEs(), PFClient::createProfilePlots(), PFClient::createProjectionPlots(), PFClient_JetRes::createResolutionPlots(), PFClient::createResolutionPlots(), SiStripMonitorDigi::createSubDetMEs(), SiStripMonitorCluster::createSubDetMEs(), disableSoftReset(), doFill(), Fill(), SiStripQualityChecker::fillDetectorStatusAtLumi(), SiStripSummaryCreator::fillHistos(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), TrackingQualityChecker::fillStatusHistogram(), SiStripQualityChecker::fillStatusHistogram(), TrackingCertificationInfo::fillTrackingCertificationMEs(), TrackingCertificationInfo::fillTrackingCertificationMEsAtLumi(), TrackingQualityChecker::fillTrackingStatusAtLumi(), DQMService::flushStandalone(), getBinEntries(), SiStripBadModuleFedErrESSource::getFedBadChannelList(), PFClient_JetRes::getHistogramParameters(), PFClient::getHistogramParameters(), TrackingUtility::getMEValue(), SiStripUtility::getMEValue(), SiStripQualityChecker::getModuleStatus(), SiStripHistoPlotter::getProjection(), getRefTH1D(), getRefTH1F(), getRefTH1S(), getRefTH2D(), getRefTH2F(), getRefTH2S(), getRefTH3F(), getRefTProfile(), getRefTProfile2D(), SiStripSummaryCreator::getSummaryME(), DQMCorrelationClient::getTH1(), getTH1D(), getTH1F(), getTH1S(), getTH2D(), getTH2F(), getTH2S(), getTH3F(), getTProfile(), getTProfile2D(), getYmax(), getYmin(), initialise(), dqmoffline::l1t::L1TDiffHarvesting::L1TDiffPlotHandler::loadHistograms(), SiStripHistoPlotter::makePlot(), packScalarData(), SiStripTrackerMapCreator::paintTkMapFromHistogram(), MEtoEDMConverter::putData(), Reset(), Comp2RefEqualH::runTest(), Comp2RefChi2::runTest(), Comp2Ref2DChi2::runTest(), Comp2RefKolmogorov::runTest(), ContentsXRange::runTest(), ContentsYRange::runTest(), DeadChannel::runTest(), NoisyChannel::runTest(), ContentSigma::runTest(), ContentsWithinExpected::runTest(), MeanWithinExpected::runTest(), CompareToMedian::runTest(), CompareLastFilledBin::runTest(), CheckVariance::runTest(), DQMStore::saveMonitorElementToPB(), DQMStore::saveMonitorElementToROOT(), DQMStore::scaleElements(), setBinEntries(), ShiftFillLast(), softReset(), and valueString().

uint32_t flags
Definition: DQMNet.h:99
DQMNet::CoreObject data_
static const uint32_t DQM_PROP_TYPE_MASK
Definition: DQMNet.h:26
const uint32_t MonitorElement::lumi ( ) const
inline

Definition at line 388 of file MonitorElement.h.

References DQMNet::CoreObject::lumi.

388 {return data_.lumi;}
uint32_t lumi
Definition: DQMNet.h:103
DQMNet::CoreObject data_
bool MonitorElement::markedToDelete ( ) const
inlineprivate

true if ME is marked for deletion

Definition at line 292 of file MonitorElement.h.

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

uint32_t flags
Definition: DQMNet.h:99
static const uint32_t DQM_PROP_MARKTODELETE
Definition: DQMNet.h:65
DQMNet::CoreObject data_
void MonitorElement::markToDelete ( )
inlineprivate

Mark the object for deletion. NB: make sure that the following method is not called simultaneously for the same ME

Definition at line 297 of file MonitorElement.h.

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

uint32_t flags
Definition: DQMNet.h:99
static const uint32_t DQM_PROP_MARKTODELETE
Definition: DQMNet.h:65
DQMNet::CoreObject data_
const uint32_t MonitorElement::moduleId ( ) const
inline

Definition at line 389 of file MonitorElement.h.

References DQMNet::CoreObject::moduleId.

Referenced by MonitorElement().

389 {return data_.moduleId;}
uint32_t moduleId
Definition: DQMNet.h:105
DQMNet::CoreObject data_
bool MonitorElement::operator< ( const MonitorElement x) const
inline

Compare monitor elements, for ordering in sets.

Definition at line 96 of file MonitorElement.h.

References data_, and DQMNet::setOrder().

97  {
98  return DQMNet::setOrder(data_, x.data_);
99  }
DQMNet::CoreObject data_
static bool setOrder(const CoreObject &a, const CoreObject &b)
Definition: DQMNet.h:180
MonitorElement& MonitorElement::operator= ( const MonitorElement )
delete
MonitorElement& MonitorElement::operator= ( MonitorElement &&  )
delete
void MonitorElement::packQualityData ( std::string &  into) const

serialise quality report information into a string.

Definition at line 516 of file MonitorElement.cc.

References data_, DQMNet::packQualityData(), DQMNet::CoreObject::qreports, and AlCaHLTBitMon_QueryRunRegistry::string.

517 {
519 }
QReports qreports
Definition: DQMNet.h:108
DQMNet::CoreObject data_
static void packQualityData(std::string &into, const QReports &qr)
Definition: DQMNet.cc:177
void MonitorElement::packScalarData ( std::string &  into,
const char *  prefix 
) const

convert scalar data into a string.

Definition at line 491 of file MonitorElement.cc.

References DQM_KIND_INT, DQM_KIND_REAL, DQM_KIND_STRING, incompatible(), kind(), MonitorElement::Scalar::num, tablePrinter::prefix, MonitorElement::Scalar::real, scalar_, and MonitorElement::Scalar::str.

Referenced by DQMService::flushStandalone(), and valueString().

492 {
493  char buf[64];
494  if (kind() == DQM_KIND_INT)
495  {
496  snprintf(buf, sizeof(buf), "%s%" PRId64, prefix, scalar_.num);
497  into = buf;
498  }
499  else if (kind() == DQM_KIND_REAL)
500  {
501  snprintf(buf, sizeof(buf), "%s%.*g", prefix, DBL_DIG+2, scalar_.real);
502  into = buf;
503  }
504  else if (kind() == DQM_KIND_STRING)
505  {
506  into.reserve(strlen(prefix) + scalar_.str.size());
507  into += prefix;
508  into += scalar_.str;
509  }
510  else
511  incompatible(__PRETTY_FUNCTION__);
512 }
void incompatible(const char *func) const
Kind kind() const
Get the type of the monitor element.
std::string MonitorElement::qualityTagString ( const DQMNet::QValue qv) const

Definition at line 583 of file MonitorElement.cc.

References DQMNet::QValue::algorithm, DQMNet::QValue::code, data_, DQMNet::QValue::message, DQMNet::CoreObject::objname, DQMNet::QValue::qtname, DQMNet::QValue::qtresult, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by DQMStore::saveMonitorElementToROOT().

584 {
585  char buf[64];
587  size_t titlelen = data_.objname.size() + qv.qtname.size() + 1;
588  size_t buflen = sprintf(buf, "qr=st:%d:%.*g:", qv.code, DBL_DIG+2, qv.qtresult);
589 
590  result.reserve(7 + 2*titlelen + buflen + qv.algorithm.size() + qv.message.size());
591  result += '<'; result += data_.objname; result += '.'; result += qv.qtname; result += '>';
592  result += buf; result += qv.algorithm; result += ':'; result += qv.message;
593  result += '<'; result += '/'; result += data_.objname; result += '.'; result += qv.qtname; result += '>';
594  return result;
595 }
std::string algorithm
Definition: DQMNet.h:94
std::string objname
Definition: DQMNet.h:107
std::string qtname
Definition: DQMNet.h:93
DQMNet::CoreObject data_
std::string message
Definition: DQMNet.h:92
float qtresult
Definition: DQMNet.h:91
void MonitorElement::Reset ( )

reset ME (ie. contents, errors, etc)

Definition at line 475 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(), BeamMonitor::analyze(), EcalBarrelSimHitsValidation::analyze(), EcalEndcapSimHitsValidation::analyze(), AlcaBeamMonitor::beginLuminosityBlock(), SiStripMonitorDigi::beginLuminosityBlock(), PixelLumiDQM::beginLuminosityBlock(), TrackingMonitor::beginLuminosityBlock(), HLTScalers::beginLuminosityBlock(), SiStripDaqInfo::beginRun(), L1TStage2RatioClient::book(), L1TStage2CaloLayer2DEClient::book(), L1TStage2CaloLayer2DEClientSummary::book(), L1TOccupancyClient::book(), DQMStore::book_(), DQMLumiMonitor::bookHistograms(), SiStripMonitorRawData::bookHistograms(), L1TDTTFClient::buildSummaries(), L1TGT::countPfsIndicesPerLs(), PFClient_JetRes::createEfficiencyPlots(), PFClient::createEfficiencyPlots(), PFClient::createResolutionPlots(), dqm::TrackAnalyzer::doReset(), DTOfflineSummaryClients::dqmEndJob(), MuonAlignmentSummary::dqmEndJob(), SiPixelEDAClient::dqmEndLuminosityBlock(), DTSummaryClients::dqmEndLuminosityBlock(), BeamSpotProblemMonitor::endRun(), QcdLowPtDQM::filldNdeta(), SiStripDaqInfo::fillDummyStatus(), SiStripDcsInfo::fillDummyStatus(), SiStripQualityChecker::fillFaultyModuleStatus(), SiPixelActionExecutor::fillFEDErrorSummary(), RPCChamberQuality::fillMonitorElements(), BeamSpotProblemMonitor::fillPlots(), FastTimerServiceClient::fillPlotsVsLumi(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), SiStripDcsInfo::fillStatus(), SiPixelActionExecutor::fillSummary(), TrackingCertificationInfo::fillTrackingCertificationMEsAtLumi(), SiPixelPhase1Summary::fillTrendPlots(), SiStripDaqInfo::findExcludedModule(), BeamMonitor::FitAndFill(), DQMStore::forceReset(), SiPixelActionExecutor::getFEDSummaryME(), SiPixelActionExecutor::getGrandSummaryME(), SiStripBaseCondObjDQM::getModMEs(), SiStripMonitorQuality::getQualityME(), SiPixelActionExecutor::getSummaryME(), TotemTimingDQMSource::globalEndLuminosityBlock(), DTBlockedROChannelsTest::performClientDiagnostic(), RPCChamberQuality::performeClientOperation(), DQMStore::postGlobalBeginLumi(), hcaldqm::ContainerSingle1D::reset(), hcaldqm::ContainerSingle2D::reset(), DQMStore::reset(), TrackingQualityChecker::resetGlobalStatus(), TrackingQualityChecker::resetLSStatus(), SiStripMonitorPedestals::resetMEs(), SiStripMonitorDigi::ResetModuleMEs(), SiStripMonitorCluster::ResetModuleMEs(), SiPixelDigiModule::resetRocMap(), SiStripCertificationInfo::resetSiStripCertificationMEs(), SiStripQualityChecker::resetStatus(), TrackingCertificationInfo::resetTrackingCertificationMEs(), TrackingCertificationInfo::resetTrackingCertificationMEsAtLumi(), BeamMonitor::RestartFitting(), and ecaldqm::MESetTrend::shift_().

476 {
477  update();
478  if (kind() == DQM_KIND_INT)
479  scalar_.num = 0;
480  else if (kind() == DQM_KIND_REAL)
481  scalar_.real = 0;
482  else if (kind() == DQM_KIND_STRING)
483  scalar_.str.clear();
484  else
485  return accessRootObject(__PRETTY_FUNCTION__, 1)
486  ->Reset();
487 }
TH1 * accessRootObject(const char *func, int reqdim) const
void update()
Mark the object updated.
Kind kind() const
Get the type of the monitor element.
bool MonitorElement::resetMe ( ) const
inlineprivate

true if ME should be reset at end of monitoring cycle

Definition at line 306 of file MonitorElement.h.

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

307  { return data_.flags & DQMNet::DQM_PROP_RESET; }
uint32_t flags
Definition: DQMNet.h:99
static const uint32_t DQM_PROP_RESET
Definition: DQMNet.h:57
DQMNet::CoreObject data_
void MonitorElement::resetUpdate ( )
inlineprivate

reset "was updated" flag

Definition at line 302 of file MonitorElement.h.

References DQMNet::CoreObject::flags.

303  { data_.flags &= ~DQMNet::DQM_PROP_NEW; }
Definition: DQMNet.h:23
uint32_t flags
Definition: DQMNet.h:99
DQMNet::CoreObject data_
const uint32_t MonitorElement::run ( ) const
inline

Definition at line 387 of file MonitorElement.h.

References DQMNet::CoreObject::run.

Referenced by Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), and MonitorElement().

387 {return data_.run;}
uint32_t run
Definition: DQMNet.h:102
DQMNet::CoreObject data_
void MonitorElement::runQTests ( )

run all quality tests

Definition at line 669 of file MonitorElement.cc.

References DQMNet::QValue::code, data_, MillePedeFileConverter_cfg::e, QCriterion::getName(), mps_fire::i, DQMNet::QValue::message, QReport::qcriterion_, DQMNet::CoreObject::qreports, qreports_, DQMNet::QValue::qtname, QReport::qvalue_, QCriterion::runTest(), AlCaHLTBitMon_QueryRunRegistry::string, update(), updateQReportStats(), and wasUpdated().

670 {
671  assert(qreports_.size() == data_.qreports.size());
672 
673  // Rerun quality tests where the ME or the quality algorithm was modified.
674  bool dirty = wasUpdated();
675  for (size_t i = 0, e = data_.qreports.size(); i < e; ++i)
676  {
678  QReport &qr = qreports_[i];
679  QCriterion *qc = qr.qcriterion_;
680  qr.qvalue_ = &qv;
681 
682  // if (qc && (dirty || qc->wasModified())) // removed for new QTest (abm-090503)
683  if (qc && dirty)
684  {
685  assert(qc->getName() == qv.qtname);
686  std::string oldMessage = qv.message;
687  int oldStatus = qv.code;
688 
689  qc->runTest(this, qr, qv);
690 
691  if (oldStatus != qv.code || oldMessage != qv.message)
692  update();
693  }
694  }
695 
696  // Update QReport statistics.
698 }
QCriterion * qcriterion_
Definition: QReport.h:51
QReports qreports
Definition: DQMNet.h:108
std::vector< QReport > qreports_
bool wasUpdated() const
true if ME was updated in last monitoring cycle
void update()
Mark the object updated.
void updateQReportStats()
Refresh QReport stats, usually after MEs were read in from a file.
std::string qtname
Definition: DQMNet.h:93
DQMNet::CoreObject data_
virtual float runTest(const MonitorElement *me)
Definition: QTest.cc:28
DQMNet::QValue * qvalue_
Definition: QReport.h:50
std::string message
Definition: DQMNet.h:92
std::string getName() const
get name of quality test
Definition: QTest.h:60
void MonitorElement::setAccumulate ( bool  )
inlineprivate

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

Definition at line 311 of file MonitorElement.h.

References alignmentValidation::c1, beamerCreator::create(), DQMNet::DQM_PROP_ACCUMULATE, DQMNet::CoreObject::flags, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by DQMStore::setAccumulate().

uint32_t flags
Definition: DQMNet.h:99
static const uint32_t DQM_PROP_ACCUMULATE
Definition: DQMNet.h:56
DQMNet::CoreObject data_
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 982 of file MonitorElement.cc.

References getAxis(), and update().

Referenced by ConcurrentMonitorElement::setAxisTimeDisplay().

983 {
984  update();
985  getAxis(__PRETTY_FUNCTION__, axis)
986  ->SetTimeDisplay(value);
987 }
void update()
Mark the object updated.
Definition: value.py:1
TAxis * getAxis(const char *func, int axis) const
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 991 of file MonitorElement.cc.

References getAxis(), and update().

Referenced by ConcurrentMonitorElement::setAxisTimeFormat().

992 {
993  update();
994  getAxis(__PRETTY_FUNCTION__, axis)
995  ->SetTimeFormat(format);
996 }
void update()
Mark the object updated.
TAxis * getAxis(const char *func, int axis) const
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 1000 of file MonitorElement.cc.

References getAxis(), and update().

1001 {
1002  update();
1003  getAxis(__PRETTY_FUNCTION__, axis)
1004  ->SetTimeOffset(toffset, option);
1005 }
void update()
Mark the object updated.
TAxis * getAxis(const char *func, int axis) const
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 973 of file MonitorElement.cc.

References getAxis(), and update().

Referenced by CSCOfflineMonitor::applyCSClabels(), DQMFEDIntegrityClient::beginJob(), SiStripLAProfileBooker::beginRun(), ESSummaryClient::book(), ESIntegrityClient::book(), ecaldqm::MESetNonObject::book(), L1TStage2RatioClient::book(), ecaldqm::MESetEcal::book(), SiPixelTrackResidualModule::book(), L1TDTTFClient::book(), SiPixelHitEfficiencyModule::book(), L1TTestsSummary::book(), SiPixelRecHitModule::book(), SiPixelClusterModule::book(), SiPixelDigiModule::book(), SiStripMonitorTrack::book(), L1TEMTFEventInfoClient::book(), L1TEventInfoClient::book(), DQMHelper::book1dHisto(), DQMHelper::book2dHisto(), SiStripBadComponentInfo::bookBadComponentHistos(), DTLocalTriggerTask::bookBarrelHistos(), DTLocalTriggerBaseTest::bookCmsHistos(), DTTriggerLutTest::bookCmsHistos1d(), SiStripBaseCondObjDQM::bookCumulMEs(), SiPixelActionExecutor::bookEfficiency(), SiPixelDataQuality::bookGlobalQualityFlag(), TrackingQualityChecker::bookGlobalStatus(), DQMHOAlCaRecoStream::bookHistograms(), ESIntegrityTask::bookHistograms(), L1TScalersSCAL::bookHistograms(), ESOccupancyTask::bookHistograms(), L1TdeStage2EMTF::bookHistograms(), OuterTrackerMonitorTTCluster::bookHistograms(), OuterTrackerMonitorTTStub::bookHistograms(), OuterTrackerMonitorTTTrack::bookHistograms(), L1TStage2EMTF::bookHistograms(), L1TStage2uGMTMuon::bookHistograms(), ZDCTask::bookHistograms(), L1TStage2MuonComp::bookHistograms(), L1TStage2RegionalMuonCandComp::bookHistograms(), ESTrendTask::bookHistograms(), L1TStage2uGMT::bookHistograms(), DQMHcalPhiSymAlCaReco::bookHistograms(), ESRawDataTask::bookHistograms(), ESTimingTask::bookHistograms(), OuterTrackerMonitorTrackingParticles::bookHistograms(), DQMHcalDiJetsAlCaReco::bookHistograms(), L1TMP7ZeroSupp::bookHistograms(), PrimaryVertexMonitor::bookHistograms(), dqm::RamdiskMonitor::bookHistograms(), AlcaBeamMonitor::bookHistograms(), EcalPileUpDepMonitor::bookHistograms(), TkAlCaRecoMonitor::bookHistograms(), DQMSourcePi0::bookHistograms(), BeamSpotProblemMonitor::bookHistograms(), MuonTiming::bookHistograms(), HLTVertexPerformanceAnalyzer::bookHistograms(), BeamMonitor::bookHistograms(), MuonSeedsAnalyzer::bookHistograms(), MuonEnergyDepositAnalyzer::bookHistograms(), Tau3MuMonitor::bookHistograms(), MuonRecoAnalyzer::bookHistograms(), SegmentTrackAnalyzer::bookHistograms(), BxTiming::bookHistograms(), CosmicMuonRecoAnalyzer::bookHistograms(), DQMScalInfo::bookHistograms(), L1TDTTF::bookHistograms(), DQMHcalIsoTrackAlCaReco::bookHistograms(), TrackSplittingMonitor::bookHistograms(), HLTBTagPerformanceAnalyzer::bookHistograms(), SiPixelHitEfficiencySource::bookHistograms(), L1TStage2uGT::bookHistograms(), SiStripMonitorQuality::bookHistograms(), HLTSeedL1LogicScalers::bookHistograms(), SiStripMonitorRawData::bookHistograms(), TrackEfficiencyMonitor::bookHistograms(), ZCounting::bookHistograms(), ZDCDigiStudy::bookHistograms(), L1TDTTPG::bookHistograms(), SiPixelTrackResidualSource::bookHistograms(), MuonRecoOneHLT::bookHistograms(), L1TRPCTF::bookHistograms(), GlobalDigisHistogrammer::bookHistograms(), L1TGMT::bookHistograms(), L1TdeStage2CaloLayer2::bookHistograms(), Vx3DHLTAnalyzer::bookHistograms(), L1TGT::bookHistograms(), ZdcSimHitStudy::bookHistograms(), SiStripFEDCheckPlugin::bookHistograms(), GlobalRecHitsHistogrammer::bookHistograms(), SiPixelClusterSource::bookHistograms(), LogMessageMonitor::bookHistograms(), L1TdeCSCTF::bookHistograms(), MuonIsolationDQM::bookHistograms(), TrackingMonitor::bookHistograms(), L1TCSCTF::bookHistograms(), MuIsoValidation::bookHistograms(), GlobalHitsHistogrammer::bookHistograms(), PiZeroAnalyzer::bookHistograms(), L1TCompare::bookHistograms(), GlobalHitsAnalyzer::bookHistograms(), CSCOfflineMonitor::bookHistograms(), JetAnalyzer::bookHistograms(), HLTObjectMonitorProtonLead::bookHistograms(), HLTObjectMonitor::bookHistograms(), HLTObjectsMonitor::bookHistograms(), L1TBPTX::bookHistograms(), GlobalDigisAnalyzer::bookHistograms(), GlobalRecHitsAnalyzer::bookHistograms(), DQMProvInfo::bookHistogramsEventInfo(), DQMProvInfo::bookHistogramsLhcInfo(), DTTriggerEfficiencyTest::bookHistos(), DTResolutionAnalysisTest::bookHistos(), DTNoiseAnalysisTest::bookHistos(), DTSegmentAnalysisTest::bookHistos(), DTChamberEfficiencyClient::bookHistos(), DTChamberEfficiencyTest::bookHistos(), DTDataIntegrityTask::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), dqm::TrackAnalyzer::bookHistosForBeamSpot(), dqm::TrackAnalyzer::bookHistosForHitProperties(), dqm::TrackAnalyzer::bookHistosForLScertification(), dqm::TrackAnalyzer::bookHistosForState(), dqm::TrackAnalyzer::bookHistosForTrackerSpecific(), SiPixelHLTSource::bookMEs(), TrackEfficiencyClient::bookMEs(), SiPixelDigiSource::bookMEs(), SiPixelRawDataErrorSource::bookMEs(), JetAnalyzer::bookMESetSelection(), SiStripMonitorDigi::bookMETrend(), SiStripMonitorCluster::bookMETrend(), METAnalyzer::bookMonitorElement(), SiPixelInformationExtractor::bookNoisyPixels(), DTPreCalibrationTask::bookOccupancyPlot(), SiPixelActionExecutor::bookOccupancyPlots(), SiStripBaseCondObjDQM::bookProfileMEs(), RPCMonitorDigi::bookRegionME(), RPCMonitorDigi::bookSectorRingME(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripQualityChecker::bookStatus(), SiStripMonitorTrack::bookSubDetMEs(), SiPixelPhase1Summary::bookSummaries(), SiStripBaseCondObjDQM::bookSummaryCumulMEs(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), DTPreCalibrationTask::bookTimeBoxes(), TrackingCertificationInfo::bookTrackingCertificationMEs(), DTTriggerEfficiencyTest::bookWheelHistos(), DTRunConditionVarClient::bookWheelHistos(), DTTriggerEfficiencyTask::bookWheelHistos(), DTLocalTriggerBaseTest::bookWheelHistos(), DTLocalTriggerTask::bookWheelHistos(), SiStripRecHitsValid::createLayerMEs(), SiStripTrackingRecHitsValid::createLayerMEs(), MonitorTrackResidualsBase< pixel_or_strip >::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorCluster::createMEs(), SiStripMonitorDigi::createModuleMEs(), SiStripMonitorCluster::createModuleMEs(), SiStripTrackingRecHitsValid::createSimpleHitsMEs(), SiStripRecHitsValid::createStereoAndMatchedMEs(), SiStripTrackingRecHitsValid::createStereoAndMatchedMEs(), SiStripMonitorDigi::createSubDetMEs(), SiStripMonitorCluster::createSubDetMEs(), SiStripRecHitsValid::createSubDetMEs(), SiStripRecHitsValid::createTotalMEs(), hcaldqm::ContainerSingle1D::customize(), hcaldqm::ContainerSingle2D::customize(), hcaldqm::Container2D::customize(), hcaldqm::Container1D::customize(), RPCDcsInfoClient::dqmEndJob(), DQMExample_Step2::dqmEndJob(), L1TGMTClient::dqmEndJob(), RPCEfficiencySecond::dqmEndJob(), BDHadronTrackMonitoringHarvester::dqmEndJob(), L1EmulatorErrorFlagClient::dqmEndJob(), DQMDcsInfoClient::dqmEndJob(), DTOfflineSummaryClients::dqmEndJob(), MuonTestSummary::dqmEndJob(), DTCertificationSummary::dqmEndLuminosityBlock(), DTDAQInfo::dqmEndLuminosityBlock(), DTDCSByLumiSummary::dqmEndLuminosityBlock(), DTBlockedROChannelsTest::dqmEndLuminosityBlock(), DTDataIntegrityTest::dqmEndLuminosityBlock(), DTSummaryClients::dqmEndLuminosityBlock(), DTOccupancyTest::dqmEndLuminosityBlock(), DTOccupancyTestML::dqmEndLuminosityBlock(), SiStripQualityDQM::fillGrandSummaryMEs(), dqm::TrackAnalyzer::fillHistosForState(), BeamMonitor::FitAndFill(), SiStripCablingDQM::getActiveDetIds(), VertexMonitor::initHisto(), TrackBuildingAnalyzer::initHisto(), rpcdqm::utils::labelXAxisSegment(), HLTTauPostProcessor::plotFilterEfficiencies(), DQMCorrelationClient::setAxisTitle(), CSCMonitorObject::setAxisTitle(), ConcurrentMonitorElement::setAxisTitle(), HTMonitor::setHTitle(), L1TDTTPGClient::setMapPhLabel(), L1TDTTPG::setMapPhLabel(), L1TDTTPGClient::setMapThLabel(), L1TDTTPG::setMapThLabel(), TriggerDQMBase::setMETitle(), RazorMonitor::setMETitle(), JetMonitor::setMETitle(), METMonitor::setMETitle(), BPHMonitor::setMETitle(), NoBPTXMonitor::setNoBPTXTitle(), L1TDTTF::setQualLabel(), L1TDTTFClient::setQualLabel(), TrackIPHistograms< T >::settitle(), FlavourHistograms< T >::settitle(), DiDispStaMuonMonitor::setTitle(), FlavourHistograms2D< T, G >::settitle(), PhotonMonitor::setTitle(), MuonMonitor::setTitle(), HLXMonitor::SetupHists(), L1TDTTF::setWheelLabel(), and L1TDTTFClient::setWheelLabel().

974 {
975  update();
976  getAxis(__PRETTY_FUNCTION__, axis)
977  ->SetTitle(title.c_str());
978 }
void update()
Mark the object updated.
TAxis * getAxis(const char *func, int axis) const
void MonitorElement::setBinContent ( int  binx,
double  content 
)

set content of bin (1-D)

Definition at line 866 of file MonitorElement.cc.

References accessRootObject(), and update().

Referenced by HcalOfflineHarvesting::_dqmEndJob(), HcalOnlineHarvesting::_dqmEndLuminosityBlock(), L1TScalersSCAL::analyze(), HCALRecHitAnalyzer::analyze(), BxTiming::analyze(), SiPixelDigiSource::analyze(), SiPixelRawDataErrorSource::analyze(), HLTScalers::analyze(), dqm::RamdiskMonitor::analyzeFile(), L1TdeStage2CaloLayer1::beginLuminosityBlock(), L1TStage2CaloLayer1::beginLuminosityBlock(), DQMProvInfo::blankAllLumiSections(), DQMProvInfo::blankPreviousLumiSections(), SiPixelDataQuality::bookGlobalQualityFlag(), ME0DigisValidation::bookHistograms(), HCALRecHitAnalyzer::bookHistograms(), BeamMonitor::bookHistograms(), ECALRecHitAnalyzer::bookHistograms(), DQMProvInfo::bookHistogramsLhcInfo(), SiPixelSCurveCalibrationAnalysis::buildACurveHistogram(), L1TDTTFClient::buildHighQualityPlot(), L1TDTTFClient::buildPhiEtaPlotO(), L1TDTTFClient::buildPhiEtaPlotOFC(), L1TDTTFClient::buildSummaries(), EcalMixingModuleValidation::bunchSumTest(), CaloTowersDQMClient::CaloTowersEndjob(), RPCOccupancyTest::clientOperation(), RPCDeadChannelTest::clientOperation(), RPCEventSummary::clientOperation(), SiPixelHitEfficiencyModule::computeEfficiencies(), GlobalMuonMatchAnalyzer::computeEfficiencyEta(), GlobalMuonMatchAnalyzer::computeEfficiencyPt(), PFClient_JetRes::createEfficiencyPlots(), PFClient::createProfilePlots(), PFClient::createProjectionPlots(), PFClient_JetRes::createResolutionPlots(), PFClient::createResolutionPlots(), SiStripBadComponentInfo::createSummary(), ConversionPostprocessing::dividePlots(), PhotonPostprocessing::dividePlots(), PhotonOfflineClient::dividePlots(), HltSusyExoPostProcessor::dqmEndJob(), RPCDcsInfoClient::dqmEndJob(), RPCEfficiencyPerRingLayer::dqmEndJob(), DQMExample_Step2::dqmEndJob(), RPCEfficiencySecond::dqmEndJob(), BDHadronTrackMonitoringHarvester::dqmEndJob(), RPCEfficiencyShiftHisto::dqmEndJob(), JetTesterPostProcessor::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), METTesterPostProcessorHarvesting::dqmEndJob(), DQMDcsInfoClient::dqmEndJob(), MuonAlignmentSummary::dqmEndJob(), RPCEventSummary::dqmEndLuminosityBlock(), L1EmulatorErrorFlagClient::dqmEndLuminosityBlock(), DTDataIntegrityTest::dqmEndLuminosityBlock(), HcalSimHitsValidation::endJob(), MuonAlignment::endJob(), ESPedestalClient::endJobAnalyze(), ESIntegrityClient::endLumiAnalyze(), hcaldqm::DigiRunSummary::endLuminosityBlock(), RPCDcsInfo::endLuminosityBlock(), DQMDcsInfo::endLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), SiPixelDigiSource::endLuminosityBlock(), PixelLumiDQM::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), DQMProvInfo::endLuminosityBlockEventInfo(), DQMProvInfo::endLuminosityBlockLhcInfo(), DQMHcalPhiSymAlCaReco::endRun(), CorrPCCProducer::endRunProduce(), ecaldqm::MESetDet2D::fill_(), SiPixelActionExecutor::fillDeviations(), QcdLowPtDQM::filldNdeta(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillEfficiencySummary(), SiPixelActionExecutor::fillFEDErrorSummary(), HCALRecHitAnalyzer::FillGeometry(), ECALRecHitAnalyzer::FillGeometry(), RPCMultiplicityTest::fillGlobalME(), RPCNoisyStripTest::fillGlobalME(), RPCOccupancyTest::fillGlobalME(), SiPixelDataQuality::fillGlobalQualityPlot(), DQMFEDIntegrityClient::fillHistograms(), HLXMonitor::FillHistograms(), SiStripSummaryCreator::fillHistos(), METTesterPostProcessor::FillMETRes(), SiPixelActionExecutor::fillOccupancy(), BeamSpotProblemMonitor::fillPlots(), ESSummaryClient::fillReportSummary(), HLXMonitor::FillReportSummary(), SiPixelPhase1Summary::fillSummaries(), DTLocalTriggerLutTest::fillWhPlot(), DTTriggerLutTest::fillWhPlot(), ElectronMcFakePostValidator::finalize(), ElectronMcSignalPostValidator::finalize(), BeamMonitor::FitAndFill(), DQMGenericClient::generic_eff(), SiPixelTrackResidualSource::getepixrococcupancyofftrk(), SiPixelTrackResidualSource::getepixrococcupancyontrk(), FitSlicesYTool::getFittedMean(), FitSlicesYTool::getFittedMeanWithError(), FitSlicesYTool::getFittedSigma(), FitSlicesYTool::getFittedSigmaWithError(), SiPixelClusterSource::getrococcupancye(), CTPPSCommonDQMSource::globalEndLuminosityBlock(), HcalDigisClient::HcalDigisEndjob(), DQMGenericClient::limitedFit(), TotemRPDQMHarvester::MakeHitNumberRatios(), TotemRPDQMHarvester::MakePlaneEfficiencyHistograms(), METAnalyzer::makeRatePlot(), L1TGCTClient::makeXProjection(), L1TGCTClient::makeYProjection(), RPCDeadChannelTest::myBooker(), RPCDataCertification::myBooker(), RPCDCSSummary::myBooker(), SiPixelActionExecutor::normaliseAvDigiOcc(), SiPixelActionExecutor::normaliseAvDigiOccVsLumi(), DTTimeEvolutionHisto::normalizeTo(), L1TStage2CaloLayer2DEClientSummary::processHistograms(), L1TdeRCT::readFEDVector(), L1TEMTFEventInfoClient::readQtResults(), L1TEventInfoClient::readQtResults(), ecaldqm::MESetDet2D::reset(), ecaldqm::MESetDet1D::reset(), SiStripMonitorTrack::return2DME(), EgHLTOfflineSummaryClient::runClient_(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), HcalDigisClient::scaleMETH2D(), ecaldqm::MESetProjection::setBinContent(), ecaldqm::MESetDet1D::setBinContent(), hcaldqm::ContainerSingle1D::setBinContent(), CSCMonitorObject::SetBinContent(), hcaldqm::ContainerSingle2D::setBinContent(), ecaldqm::MESet::Bin::setBinContent(), L1TDTTFClient::setGMTsummary(), DTTimeEvolutionHisto::setTimeSlotValue(), HLXMonitor::SetupEventInfo(), ecaldqm::MESetTrend::shift_(), ShiftFillLast(), HcalSimHitsClient::SimHitsEndjob(), HGCalSimHitsClient::simHitsEndjob(), and ECALRecHitAnalyzer::WriteECALRecHits().

867 {
868  update();
869  accessRootObject(__PRETTY_FUNCTION__, 1)
870  ->SetBinContent(binx, content);
871 }
TH1 * accessRootObject(const char *func, int reqdim) const
void update()
Mark the object updated.
void MonitorElement::setBinContent ( int  binx,
int  biny,
double  content 
)

set content of bin (2-D)

Definition at line 875 of file MonitorElement.cc.

References accessRootObject(), and update().

876 {
877  update();
878  accessRootObject(__PRETTY_FUNCTION__, 2)
879  ->SetBinContent(binx, biny, content); }
TH1 * accessRootObject(const char *func, int reqdim) const
void update()
Mark the object updated.
void MonitorElement::setBinContent ( int  binx,
int  biny,
int  binz,
double  content 
)

set content of bin (3-D)

Definition at line 883 of file MonitorElement.cc.

References accessRootObject(), and update().

884 {
885  update();
886  accessRootObject(__PRETTY_FUNCTION__, 3)
887  ->SetBinContent(binx, biny, binz, content); }
TH1 * accessRootObject(const char *func, int reqdim) const
void update()
Mark the object updated.
void MonitorElement::setBinEntries ( int  bin,
double  nentries 
)