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
}
 
typedef std::vector< QReport >::const_iterator QReportIterator
 

Public Member Functions

std::string effLabelString (void) const
 return label string for the monitor element tag (eg. <name>t=12345</name>) 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 (void) 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 (void) const
 get # of entries More...
 
double getFloatValue (void) const
 
const std::string getFullname (void) const
 get full name of ME including Pathname More...
 
int64_t getIntValue (void) const
 
bool getLumiFlag (void) 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 (void) const
 get name of ME More...
 
int getNbinsX (void) const
 get # of bins in X-axis More...
 
int getNbinsY (void) const
 get # of bins in Y-axis More...
 
int getNbinsZ (void) const
 get # of bins in Z-axis More...
 
const std::string & getPathname (void) const
 get pathname of parent folder More...
 
std::vector< QReport * > getQErrors (void) const
 get errors from last set of quality tests More...
 
std::vector< QReport * > getQOthers (void) const
 
const QReportgetQReport (const std::string &qtname) const
 get QReport corresponding to <qtname> (null pointer if QReport does not exist) More...
 
std::vector< QReport * > getQReports (void) const
 get map of QReports More...
 
std::vector< QReport * > getQWarnings (void) const
 get warnings from last set of quality tests More...
 
TObject * getRefRootObject (void) const
 
TH1 * getRefTH1 (void) const
 
TH1D * getRefTH1D (void) const
 
TH1F * getRefTH1F (void) const
 
TH1S * getRefTH1S (void) const
 
TH2D * getRefTH2D (void) const
 
TH2F * getRefTH2F (void) const
 
TH2S * getRefTH2S (void) const
 
TH3F * getRefTH3F (void) const
 
TProfile * getRefTProfile (void) const
 
TProfile2D * getRefTProfile2D (void) const
 
double getRMS (int axis=1) const
 get RMS of histogram along x, y or z axis (axis=1, 2, 3 respectively) 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 (void) const
 
const std::string & getStringValue (void) const
 
const uint32_t getTag (void) const
 
DQMNet::TagList getTags (void) const
 
TH1 * getTH1 (void) const
 
TH1D * getTH1D (void) const
 
TH1F * getTH1F (void) const
 
TH1S * getTH1S (void) const
 
TH2D * getTH2D (void) const
 
TH2F * getTH2F (void) const
 
TH2S * getTH2S (void) const
 
TH3F * getTH3F (void) const
 
std::string getTitle (void) const
 get MonitorElement title More...
 
TProfile * getTProfile (void) const
 
TProfile2D * getTProfile2D (void) const
 
bool hasError (void) const
 true if at least of one of the quality tests returned an error More...
 
bool hasOtherReport (void) const
 true if at least of one of the tests returned some other (non-ok) status More...
 
bool hasWarning (void) const
 true if at least of one of the quality tests returned a warning More...
 
bool isEfficiency (void) const
 
Kind kind (void) const
 Get the type of the monitor element. More...
 
const uint32_t lumi (void) const
 
const uint32_t moduleId (void) const
 
 MonitorElement (void)
 
 MonitorElement (const std::string *path, const std::string &name, uint32_t run=0, uint32_t streamId=0, uint32_t moduleId=0)
 
 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 (void)
 reset ME (ie. contents, errors, etc) More...
 
const uint32_t run (void) const
 
void runQTests (void)
 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)
 
void setEntries (double nentries)
 set # of entries More...
 
void setLumiFlag (void)
 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 (void)
 
const uint32_t streamId (void) const
 
std::string tagLabelString (void) const
 return label string for the monitor element tag (eg. <name>t=12345</name>) More...
 
std::string tagString (void) const
 
void update (void)
 Mark the object updated. More...
 
std::string valueString (void) const
 
bool wasUpdated (void) const
 true if ME was updated in last monitoring cycle More...
 
 ~MonitorElement (void)
 

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 (void)
 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 (void) const
 get max Y value (for profiles) More...
 
double getYmin (void) 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 (void) const
 whether ME contents should be accumulated over multiple monitoring periods; default: false More...
 
bool isSoftResetEnabled (void) const
 whether soft-reset is enabled; default is false More...
 
bool markedToDelete (void) const
 true if ME is marked for deletion More...
 
void markToDelete (void)
 
bool resetMe (void) const
 true if ME should be reset at end of monitoring cycle More...
 
void resetUpdate (void)
 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 (void)
 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 Typedef Documentation

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

Definition at line 66 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 ( void  )

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_(0),
153  reference_(0),
154  refvalue_(0)
155 {
156  data_.version = 0;
157  data_.dirname = 0;
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,
uint32_t  run = 0,
uint32_t  streamId = 0,
uint32_t  moduleId = 0 
)

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, moduleId(), dataset::name, MonitorElement::Scalar::num, DQMNet::CoreObject::objname, callgraph::path, MonitorElement::Scalar::real, DQMNet::CoreObject::run, run(), scalar_, DQMNet::CoreObject::streamId, streamId(), DQMNet::CoreObject::tag, and DQMNet::CoreObject::version.

173  : object_(0),
174  reference_(0),
175  refvalue_(0)
176 {
177  data_.version = 0;
178  data_.run = run;
179  data_.lumi = 0;
182  data_.dirname = path;
183  data_.objname = name;
184  data_.tag = 0;
186  scalar_.num = 0;
187  scalar_.real = 0;
188 }
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
const uint32_t streamId(void) const
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
const uint32_t moduleId(void) const
const uint32_t run(void) const
static const uint32_t DQM_PROP_NEW
Definition: DQMNet.h:59
uint32_t streamId
Definition: DQMNet.h:104
MonitorElement::MonitorElement ( const MonitorElement x,
MonitorElementNoCloneTag   
)

Definition at line 190 of file MonitorElement.cc.

191  : data_(x.data_),
192  scalar_(x.scalar_),
193  object_(nullptr),
195  refvalue_(nullptr),
197 {
198 }
std::vector< QReport > qreports_
DQMNet::CoreObject data_
MonitorElement::MonitorElement ( const MonitorElement x)

Definition at line 200 of file MonitorElement.cc.

References object_, and refvalue_.

202 {
203  if (x.object_)
204  object_ = static_cast<TH1 *>(x.object_->Clone());
205 
206  if (x.refvalue_)
207  refvalue_ = static_cast<TH1 *>(x.refvalue_->Clone());
208 }
MonitorElement::MonitorElement ( MonitorElement &&  o)

Definition at line 210 of file MonitorElement.cc.

References connectstrParser::o, object_, and refvalue_.

212 {
213  object_ = o.object_;
214  refvalue_ = o.refvalue_;
215 
216  o.object_ = nullptr;
217  o.refvalue_ = nullptr;
218 }
MonitorElement::~MonitorElement ( void  )

Definition at line 220 of file MonitorElement.cc.

References object_, and refvalue_.

221 {
222  delete object_;
223  delete refvalue_;
224 }

Member Function Documentation

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

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

691 {
692  if (kind() < DQM_KIND_TH1F)
693  raiseDQMError("MonitorElement", "Method '%s' cannot be invoked on monitor"
694  " element '%s' because it is not a root object",
695  func, data_.objname.c_str());
696 
697  return checkRootObject(data_.objname, object_, func, reqdim);
698 }
static TH1 * checkRootObject(const std::string &name, TObject *tobj, const char *func, int reqdim)
Kind kind(void) const
Get the type of the monitor element.
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
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 1201 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().

1202 {
1203  assert(h1);
1204  assert(h2);
1205  assert(sum);
1206 
1207  static const Int_t NUM_STAT = 6;
1208  Double_t stats1[NUM_STAT];
1209  Double_t stats2[NUM_STAT];
1210  Double_t stats3[NUM_STAT];
1211 
1212  bool isRebinOn = sum->CanExtendAllAxes();
1213  sum->SetCanExtend(TH1::kNoAxis);
1214 
1215  for (Int_t i = 0; i < NUM_STAT; ++i)
1216  stats1[i] = stats2[i] = stats3[i] = 0;
1217 
1218  h1->GetStats(stats1);
1219  h2->GetStats(stats2);
1220 
1221  for (Int_t i = 0; i < NUM_STAT; ++i)
1222  stats3[i] = c1*stats1[i] + c2*stats2[i];
1223 
1224  stats3[1] = c1*TMath::Abs(c1)*stats1[1]
1225  + c2*TMath::Abs(c2)*stats2[1];
1226 
1227  Double_t entries = c1*h1->GetEntries() + c2* h2->GetEntries();
1228  TArrayD* h1sumw2 = h1->GetSumw2();
1229  TArrayD* h2sumw2 = h2->GetSumw2();
1230  for (Int_t bin = 0, nbin = sum->GetNbinsX()+1; bin <= nbin; ++bin)
1231  {
1232  Double_t entries = c1*h1->GetBinEntries(bin)
1233  + c2*h2->GetBinEntries(bin);
1234  Double_t content = c1*h1->GetBinEntries(bin)*h1->GetBinContent(bin)
1235  + c2*h2->GetBinEntries(bin)*h2->GetBinContent(bin);
1236  Double_t error = TMath::Sqrt(c1*TMath::Abs(c1)*h1sumw2->fArray[bin]
1237  + c2*TMath::Abs(c2)*h2sumw2->fArray[bin]);
1238  sum->SetBinContent(bin, content);
1239  sum->SetBinError(bin, error);
1240  sum->SetBinEntries(bin, entries);
1241  }
1242 
1243  sum->SetEntries(entries);
1244  sum->PutStats(stats3);
1245  if (isRebinOn) sum->SetCanExtend(TH1::kAllAxes);
1246 }
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 1251 of file MonitorElement.cc.

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

1252 {
1253  assert(h1);
1254  assert(h2);
1255  assert(sum);
1256 
1257  static const Int_t NUM_STAT = 9;
1258  Double_t stats1[NUM_STAT];
1259  Double_t stats2[NUM_STAT];
1260  Double_t stats3[NUM_STAT];
1261 
1262  bool isRebinOn = sum->CanExtendAllAxes();
1263  sum->SetCanExtend(TH1::kNoAxis);
1264 
1265  for (Int_t i = 0; i < NUM_STAT; ++i)
1266  stats1[i] = stats2[i] = stats3[i] = 0;
1267 
1268  h1->GetStats(stats1);
1269  h2->GetStats(stats2);
1270 
1271  for (Int_t i = 0; i < NUM_STAT; i++)
1272  stats3[i] = c1*stats1[i] + c2*stats2[i];
1273 
1274  stats3[1] = c1*TMath::Abs(c1)*stats1[1]
1275  + c2*TMath::Abs(c2)*stats2[1];
1276 
1277  Double_t entries = c1*h1->GetEntries() + c2*h2->GetEntries();
1278  TArrayD *h1sumw2 = h1->GetSumw2();
1279  TArrayD *h2sumw2 = h2->GetSumw2();
1280  for (Int_t xbin = 0, nxbin = sum->GetNbinsX()+1; xbin <= nxbin; ++xbin)
1281  for (Int_t ybin = 0, nybin = sum->GetNbinsY()+1; ybin <= nybin; ++ybin)
1282  {
1283  Int_t bin = sum->GetBin(xbin, ybin);
1284  Double_t entries = c1*h1->GetBinEntries(bin)
1285  + c2*h2->GetBinEntries(bin);
1286  Double_t content = c1*h1->GetBinEntries(bin)*h1->GetBinContent(bin)
1287  + c2*h2->GetBinEntries(bin)*h2->GetBinContent(bin);
1288  Double_t error = TMath::Sqrt(c1*TMath::Abs(c1)*h1sumw2->fArray[bin]
1289  + c2*TMath::Abs(c2)*h2sumw2->fArray[bin]);
1290 
1291  sum->SetBinContent(bin, content);
1292  sum->SetBinError(bin, error);
1293  sum->SetBinEntries(bin, entries);
1294  }
1295  sum->SetEntries(entries);
1296  sum->PutStats(stats3);
1297  if (isRebinOn) sum->SetCanExtend(TH1::kAllAxes);
1298 }
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 1405 of file MonitorElement.cc.

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

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

1406 {
1407  QReport *qr;
1408  DQMNet::QValue *qv;
1409  getQReport(true, desc.qtname, qr, qv);
1410  qr->qcriterion_ = qc;
1411  *qv = desc;
1412  update();
1413 }
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(void)
Mark the object updated.
std::string qtname
Definition: DQMNet.h:93
void MonitorElement::addQReport ( QCriterion qc)
private

Definition at line 1416 of file MonitorElement.cc.

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

1417 {
1418  QReport *qr;
1419  DQMNet::QValue *qv;
1420  getQReport(true, qc->getName(), qr, qv);
1422  qv->message = "NO_MESSAGE_ASSIGNED";
1423  qr->qcriterion_ = qc;
1424  update();
1425 }
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)
std::string getName(void) const
get name of quality test
Definition: QTest.h:58
void update(void)
Mark the object updated.
static const int DID_NOT_RUN
std::string message
Definition: DQMNet.h:92
bool MonitorElement::CheckBinLabels ( const TAxis *  a1,
const TAxis *  a2 
)
static

Check the consistency of the axis labels.

Definition at line 229 of file MonitorElement.cc.

References mps_fire::i.

Referenced by DQMStore::checkBinningMatches().

230 {
231  // check that axis have same labels
232  THashList *l1 = (const_cast<TAxis*>(a1))->GetLabels();
233  THashList *l2 = (const_cast<TAxis*>(a2))->GetLabels();
234 
235  if (!l1 && !l2 )
236  return true;
237  if (!l1 || !l2 ) {
238  return false;
239  }
240  // check now labels sizes are the same
241  if (l1->GetSize() != l2->GetSize() ) {
242  return false;
243  }
244  for (int i = 1; i <= a1->GetNbins(); ++i) {
245  TString label1 = a1->GetBinLabel(i);
246  TString label2 = a2->GetBinLabel(i);
247  if (label1 != label2) {
248  return false;
249  }
250  }
251  return true;
252 }
void MonitorElement::copyFrom ( TH1 *  from)
private

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

1331 {
1332  TH1 *orig = accessRootObject(__PRETTY_FUNCTION__, 1);
1333  if (orig->GetTitle() != from->GetTitle())
1334  orig->SetTitle(from->GetTitle());
1335 
1336  if (!isAccumulateEnabled())
1337  orig->Reset();
1338 
1339  if (isSoftResetEnabled())
1340  {
1341  if (kind() == DQM_KIND_TH1F
1342  || kind() == DQM_KIND_TH1S
1343  || kind() == DQM_KIND_TH1D
1344  || kind() == DQM_KIND_TH2F
1345  || kind() == DQM_KIND_TH2S
1346  || kind() == DQM_KIND_TH2D
1347  || kind() == DQM_KIND_TH3F)
1348  // subtract "reference"
1349  orig->Add(from, refvalue_, 1, -1);
1350  else if (kind() == DQM_KIND_TPROFILE)
1351  // subtract "reference"
1352  addProfiles(static_cast<TProfile *>(from),
1353  static_cast<TProfile *>(refvalue_),
1354  static_cast<TProfile *>(orig),
1355  1, -1);
1356  else if (kind() == DQM_KIND_TPROFILE2D)
1357  // subtract "reference"
1358  addProfiles(static_cast<TProfile2D *>(from),
1359  static_cast<TProfile2D *>(refvalue_),
1360  static_cast<TProfile2D *>(orig),
1361  1, -1);
1362  else
1363  incompatible(__PRETTY_FUNCTION__);
1364  }
1365  else
1366  orig->Add(from);
1367 
1368  copyFunctions(from, orig);
1369 }
void incompatible(const char *func) const
TH1 * accessRootObject(const char *func, int reqdim) const
void addProfiles(TProfile *h1, TProfile *h2, TProfile *sum, float c1, float c2)
Kind kind(void) const
Get the type of the monitor element.
bool isAccumulateEnabled(void) const
whether ME contents should be accumulated over multiple monitoring periods; default: false ...
void copyFunctions(TH1 *from, TH1 *to)
bool isSoftResetEnabled(void) const
whether soft-reset is enabled; default is false
void MonitorElement::copyFunctions ( TH1 *  from,
TH1 *  to 
)
private

Definition at line 1301 of file MonitorElement.cc.

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

Referenced by copyFrom().

1302 {
1303  // will copy functions only if local-copy and original-object are equal
1304  // (ie. no soft-resetting or accumulating is enabled)
1306  return;
1307 
1308  update();
1309  TList *fromf = from->GetListOfFunctions();
1310  TList *tof = to->GetListOfFunctions();
1311  for (int i = 0, nfuncs = fromf ? fromf->GetSize() : 0; i < nfuncs; ++i)
1312  {
1313  TObject *obj = fromf->At(i);
1314  // not interested in statistics
1315  if (!strcmp(obj->IsA()->GetName(), "TPaveStats"))
1316  continue;
1317 
1318  if (TF1 *fn = dynamic_cast<TF1 *>(obj))
1319  tof->Add(new TF1(*fn));
1320  //else if (dynamic_cast<TPaveStats *>(obj))
1321  // ; // FIXME? tof->Add(new TPaveStats(*stats));
1322  else
1323  raiseDQMError("MonitorElement", "Cannot extract function '%s' of type"
1324  " '%s' from monitor element '%s' for a copy",
1325  obj->GetName(), obj->IsA()->GetName(), data_.objname.c_str());
1326  }
1327 }
void update(void)
Mark the object updated.
bool isAccumulateEnabled(void) const
whether ME contents should be accumulated over multiple monitoring periods; default: false ...
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
bool isSoftResetEnabled(void) const
whether soft-reset is enabled; default is false
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
void MonitorElement::disableSoftReset ( void  )
private

reverts action of softReset

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

1164 {
1165  if (refvalue_)
1166  {
1167  if (kind() == DQM_KIND_TH1F
1168  || kind() == DQM_KIND_TH1S
1169  || kind() == DQM_KIND_TH1D
1170  || kind() == DQM_KIND_TH2F
1171  || kind() == DQM_KIND_TH2S
1172  || kind() == DQM_KIND_TH2D
1173  || kind() == DQM_KIND_TH3F)
1174  {
1175  TH1 *orig = static_cast<TH1 *>(object_);
1176  orig->Add(refvalue_);
1177  }
1178  else if (kind() == DQM_KIND_TPROFILE)
1179  {
1180  TProfile *orig = static_cast<TProfile *>(object_);
1181  TProfile *r = static_cast<TProfile *>(refvalue_);
1182  addProfiles(orig, r, orig, 1, 1);
1183  }
1184  else if (kind() == DQM_KIND_TPROFILE2D)
1185  {
1186  TProfile2D *orig = static_cast<TProfile2D *>(object_);
1187  TProfile2D *r = static_cast<TProfile2D *>(refvalue_);
1188  addProfiles(orig, r, orig, 1, 1);
1189  }
1190  else
1191  incompatible(__PRETTY_FUNCTION__);
1192 
1193  delete refvalue_;
1194  refvalue_ = 0;
1195  }
1196 }
void incompatible(const char *func) const
void addProfiles(TProfile *h1, TProfile *h2, TProfile *sum, float c1, float c2)
Kind kind(void) const
Get the type of the monitor element.
void MonitorElement::doFill ( int64_t  x)
private

"Fill" ME method for int64_t

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

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

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

Definition at line 553 of file MonitorElement.cc.

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

554 {
556 
557  result.reserve(6 + 2*data_.objname.size() + 3);
558  result += '<'; result += data_.objname; result += '>';
559  result += "e=1";
560  result += '<'; result += '/'; result += data_.objname; result += '>';
561  return result;
562 }
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
void MonitorElement::Fill ( long long  x)
inline

Definition at line 170 of file MonitorElement.h.

References cuy::doFill.

Referenced by TPTask::_process(), RecHitTask::_process(), DigiPhase1Task::_process(), DigiTask::_process(), SiStripDcsInfo::addBadModules(), AlphaTVarAnalyzer::analyze(), GEMCoPadDigiValidation::analyze(), GEMPadDigiValidation::analyze(), ScoutingTestAnalyzer::analyze(), ME0HitsValidation::analyze(), RazorVarAnalyzer::analyze(), GEMStripDigiValidation::analyze(), GEMHitsValidation::analyze(), GEMRecHitsValidation::analyze(), ME0DigisValidation::analyze(), DQMHOAlCaRecoStream::analyze(), CSCRecHit2DValidation::analyze(), CSCSegmentValidation::analyze(), CSCALCTDigiValidation::analyze(), CSCCLCTDigiValidation::analyze(), CSCStripDigiValidation::analyze(), DiJetVarAnalyzer::analyze(), PerformanceAnalyzer::analyze(), CSCWireDigiValidation::analyze(), ME0RecHitsValidation::analyze(), CSCComparatorDigiValidation::analyze(), HLTTauDQML1Plotter::analyze(), L1Scalers::analyze(), ME0SegmentsValidation::analyze(), TrackingTruthValid::analyze(), L1TScalersSCAL::analyze(), SiStripDigiValid::analyze(), L1TdeStage2EMTF::analyze(), OuterTrackerMonitorTTCluster::analyze(), OuterTrackerMonitorTTStub::analyze(), EcalTBValidation::analyze(), ElectronMcSignalValidatorMiniAOD::analyze(), RPCMonitorRaw::analyze(), RPCRecHitProbability::analyze(), SiPixelDigiValid::analyze(), L1TStage2EMTF::analyze(), L1TStage2uGMTMuon::analyze(), EventShapeDQM::analyze(), HLTTauDQMPathSummaryPlotter::analyze(), EgammaBasicClusters::analyze(), SiStripMonitorFilter::analyze(), L1TStage2MuonComp::analyze(), L1TStage2RegionalMuonCandComp::analyze(), L1TStage2CaloLayer2::analyze(), ElectronMcSignalValidator::analyze(), RPCMonitorLinkSynchro::analyze(), ElectronGeneralAnalyzer::analyze(), HCALRecHitAnalyzer::analyze(), L1TPUM::analyze(), L1THIonImp::analyze(), SiStripMonitorHLT::analyze(), ElectronTagProbeAnalyzer::analyze(), HLTTauDQMTagAndProbePlotter::analyze(), EgammaSuperClusters::analyze(), L1TStage2uGMT::analyze(), TrackTypeMonitor::analyze(), RPCMonitorDigi::analyze(), HeavyIonUCCDQM::analyze(), MonitorLTC::analyze(), EwkMuDQM::analyze(), StandaloneTrackMonitor::analyze(), PrimaryVertexMonitor::analyze(), HLTTauDQMPathPlotter::analyze(), L1TdeStage2CaloLayer1::analyze(), L1TMP7ZeroSupp::analyze(), DQMHcalPhiSymAlCaReco::analyze(), AlcaBeamMonitor::analyze(), DQMHcalIsolatedBunchAlCaReco::analyze(), SUSY_HLT_InclusiveHT::analyze(), CaloTowersValidation::analyze(), TotemDAQTriggerDQMSource::analyze(), EwkElecDQM::analyze(), SiStripMonitorDigi::analyze(), DQMHcalDiJetsAlCaReco::analyze(), TkAlCaRecoMonitor::analyze(), EcalPileUpDepMonitor::analyze(), SUSY_HLT_PhotonHT::analyze(), SUSY_HLT_PhotonMET::analyze(), WValidation::analyze(), TrackerHitAnalyzer::analyze(), SiPixelRecHitsValid::analyze(), DQMLumiMonitor::analyze(), BasicHepMCHeavyIonValidation::analyze(), CTPPSPixelDQMSource::analyze(), PixelVTXMonitor::analyze(), TrackingRecoMaterialAnalyser::analyze(), EwkMuLumiMonitorDQM::analyze(), DQMSourceEleCalib::analyze(), SUSY_HLT_DoubleMuon_Hadronic::analyze(), SUSY_HLT_Muon_BJet::analyze(), DrellYanValidation::analyze(), ElectronMcFakeValidator::analyze(), EcalPreshowerNoiseDistrib::analyze(), BasicGenParticleValidation::analyze(), BasicHepMCValidation::analyze(), RecoMuonValidator::analyze(), L1TDTTF::analyze(), SiStripMonitorCluster::analyze(), MBUEandQCDValidation::analyze(), TrackBuildingAnalyzer::analyze(), BxTiming::analyze(), SUSY_HLT_DoubleEle_Hadronic::analyze(), SUSY_HLT_Electron_BJet::analyze(), SimplePhotonAnalyzer::analyze(), BPhysicsSpectrum::analyze(), BPhysicsValidation::analyze(), HiggsValidation::analyze(), dqm::TrackAnalyzer::analyze(), ElectronAnalyzer::analyze(), Tau3MuMonitor::analyze(), DQMEventInfo::analyze(), ConverterTester::analyze(), CaloTowersAnalyzer::analyze(), L1TStage2OMTF::analyze(), BeamMonitor::analyze(), SUSY_HLT_alphaT::analyze(), CTPPSDiamondDQMSource::analyze(), SUSY_HLT_DiJet_MET::analyze(), SUSY_HLT_ElecFakes::analyze(), SUSY_HLT_MuEle_Hadronic::analyze(), SUSY_HLT_Muon_Hadronic::analyze(), SUSY_HLT_MuonFakes::analyze(), SUSY_HLT_VBF_Mu::analyze(), TotemRPDQMSource::analyze(), HotlineDQM::analyze(), SUSY_HLT_Razor::analyze(), EcalPreshowerDigisValidation::analyze(), DuplicationChecker::analyze(), TrackSplittingMonitor::analyze(), JetTester::analyze(), EcalBarrelSimHitsValidation::analyze(), HcalSimHitsValidation::analyze(), NoiseRates::analyze(), V0Monitor::analyze(), L1TDTTPG::analyze(), L1TRCT::analyze(), EcalEndcapSimHitsValidation::analyze(), EcalPreshowerSimHitsValidation::analyze(), HGCGeometryValidation::analyze(), TestSuite::analyze(), EcalZmassTask::analyze(), HcalNoiseRates::analyze(), EcalBarrelDigisValidation::analyze(), EcalEndcapDigisValidation::analyze(), GlobalTest::analyze(), DQMHcalIsoTrackAlCaReco::analyze(), L1TCSCTPG::analyze(), SiStripMonitorQuality::analyze(), ZCounting::analyze(), SiPixelDigiSource::analyze(), L1TGMT::analyze(), L1TRPCTF::analyze(), HGCalShowerSeparation::analyze(), HLTSeedL1LogicScalers::analyze(), GlobalMuonMatchAnalyzer::analyze(), MuonIdDQM::analyze(), GeneralHLTOffline::analyze(), SiStripMonitorRawData::analyze(), L1TStage2uGT::analyze(), PSMonitor::analyze(), DQMSourcePi0::analyze(), SiPixelTrackResidualSource::analyze(), B2GDoubleLeptonHLTValidation::analyze(), B2GHadronicHLTValidation::analyze(), B2GSingleLeptonHLTValidation::analyze(), TopSingleLeptonHLTValidation::analyze(), DTSegmentAnalysisTask::analyze(), EcalSimHitsValidation::analyze(), HLXMonitor::analyze(), PixelLumiDQM::analyze(), RPCTTUMonitor::analyze(), DQMExample_Step1::analyze(), DTScalerInfoTask::analyze(), PhotonValidatorMiniAOD::analyze(), SiPixelRawDataErrorSource::analyze(), SUSY_HLT_SingleLepton::analyze(), TopDiLeptonHLTValidation::analyze(), TauValidation::analyze(), HcalRecHitsValidation::analyze(), BDHadronTrackMonitoringAnalyzer::analyze(), METplusTrackMonitor::analyze(), HigPhotonJetHLTOfflineSource::analyze(), TTbarSpinCorrHepMCAnalyzer::analyze(), ZDCDigiStudy::analyze(), HcalRecHitsAnalyzer::analyze(), L1TdeRCT::analyze(), DTNoiseTask::analyze(), TopMonitor::analyze(), DTLocalTriggerBaseTask::analyze(), TTbar_Kinematics::analyze(), GlobalDigisHistogrammer::analyze(), ZdcSimHitStudy::analyze(), ECALMultifitAnalyzer_HI::analyze(), LepHTMonitor::analyze(), DTDataIntegrityTask::analyze(), EcalDigisValidation::analyze(), L1TStage2BMTF::analyze(), GlobalRecHitsHistogrammer::analyze(), MuonIdVal::analyze(), L1TGT::analyze(), SiPixelClusterSource::analyze(), L1TStage2CaloLayer1::analyze(), SiPixelErrorsDigisToCalibDigis::analyze(), TrackingMonitor::analyze(), L1TCSCTF::analyze(), L1TRPCTPG::analyze(), BPHMonitor::analyze(), PhotonMonitor::analyze(), MuIsoValidation::analyze(), HGCalHitValidation::analyze(), HLTScalers::analyze(), MuonMonitor::analyze(), SiPixelTrackingRecHitsValid::analyze(), L1TdeStage2CaloLayer2::analyze(), JetTester_HeavyIons::analyze(), L1TCompare::analyze(), TauTagValidation::analyze(), CastorMonitorModule::analyze(), JetMonitor::analyze(), GlobalHitsHistogrammer::analyze(), GlobalHitsTester::analyze(), ECALRecHitAnalyzer::analyze(), JetAnalyzer_HeavyIons_matching::analyze(), JetAnalyzer_HeavyIons::analyze(), L1TTauOffline::analyze(), EcalMixingModuleValidation::analyze(), EmDQMReco::analyze(), EgHLTOfflineSource::analyze(), RPCEfficiency::analyze(), HLTObjectsMonitor::analyze(), L1TGCT::analyze(), PackedCandidateTrackValidator::analyze(), HGCalHitValidation::analyzeHGCalRecHit(), HGCalHitValidation::analyzeHGCalSimHit(), SimHitsValidationHcal::analyzeHits(), HcalSimHitStudy::analyzeHits(), ZdcSimHitStudy::analyzeHits(), DQMProvInfo::analyzeProvInfo(), DQMFEDIntegrityClient::beginJob(), BeamMonitor::beginJob(), DQMEventInfo::beginLuminosityBlock(), DQMDaqInfo::beginLuminosityBlock(), SiStripDaqInfo::beginRun(), L1TEventInfoClient::book(), DQMStore::bookFloat(), SiPixelDataQuality::bookGlobalQualityFlag(), DQMEventInfo::bookHistograms(), L1TRCT::bookHistograms(), Vx3DHLTAnalyzer::bookHistograms(), DTLocalTriggerSynchTask::bookHistograms(), DQMProvInfo::bookHistogramsProvInfo(), DQMStore::bookInt(), SiPixelPhase1Summary::bookSummaries(), CalibrationScanTask::checkAndSave(), CalibrationTask::checkAndSave(), RPCClusterSizeTest::clientOperation(), RPCEventSummary::clientOperation(), Digi2Raw2Digi::compare(), L1GtHwValidation::compareDaqRecord(), L1TdeStage2CaloLayer2::compareEGs(), L1GtHwValidation::compareFDL(), L1GtHwValidation::compareGTFE(), L1TdeStage2CaloLayer2::compareJets(), L1TdeStage2CaloLayer2::compareSums(), 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(), DTOfflineSummaryClients::dqmEndJob(), MuonAlignmentSummary::dqmEndJob(), MuonTestSummary::dqmEndJob(), DQMCorrelationClient::dqmEndJob(), HLTMuonCertSummary::dqmEndJob(), RPCDaqInfo::dqmEndLuminosityBlock(), RPCEventSummary::dqmEndLuminosityBlock(), DTDCSSummary::dqmEndLuminosityBlock(), SiPixelCertification::dqmEndLuminosityBlock(), SiPixelDaqInfo::dqmEndLuminosityBlock(), DTDAQInfo::dqmEndLuminosityBlock(), DTCertificationSummary::dqmEndLuminosityBlock(), DTSummaryClients::dqmEndLuminosityBlock(), ECALpedestalPCLHarvester::dqmPlots(), HcalNoiseRates::endJob(), MuonAlignment::endJob(), ESSummaryClient::endLumiAnalyze(), L1Scalers::endLuminosityBlock(), AlcaBeamMonitor::endLuminosityBlock(), DQMLumiMonitor::endLuminosityBlock(), SiStripMonitorDigi::endLuminosityBlock(), SiPixelDigiSource::endLuminosityBlock(), L1TStage2CaloLayer1::endLuminosityBlock(), HLTScalers::endLuminosityBlock(), QcdLowPtDQM::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), DQMProvInfo::endLuminosityBlockEventInfo(), DQMDcsInfoClient::endRun(), RPCBxTest::endRun(), ConverterTester::endRun(), EcalSelectiveReadoutValidation::endRun(), HLTOverallSummary::endRun(), DQMStore::extract(), DTDataIntegrityTask::fedEntry(), DTDataIntegrityTask::fedFatal(), DTDataIntegrityTask::fedNonFatal(), FineDelayTask::fill(), SiPixelHitEfficiencyModule::fill(), CSCMonitorObject::Fill(), hcaldqm::ContainerSingle1D::fill(), SiPixelRecHitModule::fill(), hcaldqm::ContainerSingle2D::fill(), SiPixelClusterModule::fill(), MuonIdDQM::Fill(), BPhysicsValidation::ParticleMonitor::Fill(), EmDQMReco::FourVectorMonitorElements::fill(), MuonIdVal::Fill(), SiPixelDigiModule::fill(), HTrackVariables::Fill(), L1ValidatorHists::Fill(), BasicHepMCValidation::ParticleMonitor::Fill(), HRes1DHit::Fill(), egHLT::MonElemManager< T, varType >::fill(), egHLT::MonElemManager2D< T, varTypeX, varTypeY >::fill(), Fill(), HResolution::Fill(), RecoMuonValidator::MuonME::fill(), EcalSelectiveReadoutValidation::fill(), dqmoffline::l1t::fill2DWithinLimits(), ecaldqm::MESet::fill_(), MTVHistoProducerAlgoForTracker::fill_generic_simTrack_histos(), MTVHistoProducerAlgoForTracker::fill_simTrackBased_histos(), 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(), HcalSubdetDigiMonitor::fillElement(), HcalSubdetDigiMonitor::fillElements(), HLXMonitor::FillEventInfo(), SiStripFEDCheckPlugin::fillFatalError(), SiStripQualityChecker::fillFaultyModuleStatus(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelRecHitsValid::fillForward(), LaserAlignmentT0ProducerDQM::FillFromProcessedDigis(), LaserAlignmentT0ProducerDQM::FillFromRawDigis(), GlobalHitsAnalyzer::fillG4MC(), MixCollectionValidation::fillGenParticleMulti(), RPCMultiplicityTest::fillGlobalME(), RPCNoisyStripTest::fillGlobalME(), RPCOccupancyTest::fillGlobalME(), SiStripQualityDQM::fillGrandSummaryMEs(), GlobalHitsAnalyzer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), GlobalRecHitsAnalyzer::fillHCal(), DQMFEDIntegrityClient::fillHistograms(), HLXMonitor::FillHistograms(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), HLXMonitor::FillHistoHFCompare(), SiStripSummaryCreator::fillHistos(), HistoFillerReco< T >::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(), SiStripLorentzAngleDQM::fillMEsForLayer(), SiStripThresholdDQM::fillMEsForLayer(), SiStripApvGainsDQM::fillMEsForLayer(), SiStripQualityDQM::fillMEsForLayer(), MixCollectionValidation::fillMultiplicity(), GlobalHitsAnalyzer::fillMuon(), GlobalDigisAnalyzer::fillMuon(), GlobalRecHitsAnalyzer::fillMuon(), SiStripFEDCheckPlugin::fillNonFatalError(), L1ValidatorHists::FillNumber(), CSCStripDigiValidation::fillPedestalPlots(), NewMuonTrackValidatorBase::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(), 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(), CastorDigiMonitor::processEvent(), CastorRecHitMonitor::processEvent(), CastorLEDMonitor::processEvent(), CastorRecHitMonitor::processEventJets(), CastorRecHitMonitor::processEventTowers(), DTDataIntegrityTask::processFED(), StandaloneTrackMonitor::processHit(), DTDataIntegrityTask::processROS25(), SiStripGainFromCalibTree::qualityMonitor(), SusyPostProcessor::QuantilePlots(), 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(), and ECALRecHitAnalyzer::WriteECALRecHits().

170 { 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 171 of file MonitorElement.h.

References cuy::doFill.

171 { 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 172 of file MonitorElement.h.

References cuy::doFill.

172 { 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 173 of file MonitorElement.h.

References cuy::doFill.

173 { 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 174 of file MonitorElement.h.

References cuy::doFill.

174 { 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 175 of file MonitorElement.h.

References cuy::doFill.

175 { 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 176 of file MonitorElement.h.

References cuy::doFill.

176 { 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 177 of file MonitorElement.h.

References cuy::doFill.

177 { 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 178 of file MonitorElement.h.

References cuy::doFill.

178 { 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 179 of file MonitorElement.h.

References cuy::doFill.

179 { 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 181 of file MonitorElement.h.

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

Referenced by Fill().

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

"Fill" ME methods for double

Definition at line 267 of file MonitorElement.cc.

References accessRootObject(), DQM_KIND_INT, DQM_KIND_REAL, DQM_KIND_TH1D, DQM_KIND_TH1F, DQM_KIND_TH1S, reco::if(), incompatible(), kind(), MonitorElement::Scalar::num, MonitorElement::Scalar::real, scalar_, update(), and x.

268 {
269  update();
270  if (kind() == DQM_KIND_INT)
271  scalar_.num = static_cast<int64_t>(x);
272  else if (kind() == DQM_KIND_REAL)
273  scalar_.real = x;
274  else if (kind() == DQM_KIND_TH1F)
275  accessRootObject(__PRETTY_FUNCTION__, 1)
276  ->Fill(x, 1);
277  else if (kind() == DQM_KIND_TH1S)
278  accessRootObject(__PRETTY_FUNCTION__, 1)
279  ->Fill(x, 1);
280  else if (kind() == DQM_KIND_TH1D)
281  accessRootObject(__PRETTY_FUNCTION__, 1)
282  ->Fill(x, 1);
283  else
284  incompatible(__PRETTY_FUNCTION__);
285 }
void incompatible(const char *func) const
TH1 * accessRootObject(const char *func, int reqdim) const
void update(void)
Mark the object updated.
Kind kind(void) const
Get the type of the monitor element.
if(dp >Float(M_PI)) dp-
void MonitorElement::Fill ( std::string &  value)

"Fill" ME methods for string

Definition at line 256 of file MonitorElement.cc.

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

257 {
258  update();
259  if (kind() == DQM_KIND_STRING)
260  scalar_.str = value;
261  else
262  incompatible(__PRETTY_FUNCTION__);
263 }
void incompatible(const char *func) const
void update(void)
Mark the object updated.
Kind kind(void) 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 311 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().

312 {
313  update();
314  if (kind() == DQM_KIND_TH1F)
315  accessRootObject(__PRETTY_FUNCTION__, 1)
316  ->Fill(x, yw);
317  else if (kind() == DQM_KIND_TH1S)
318  accessRootObject(__PRETTY_FUNCTION__, 1)
319  ->Fill(x, yw);
320  else if (kind() == DQM_KIND_TH1D)
321  accessRootObject(__PRETTY_FUNCTION__, 1)
322  ->Fill(x, yw);
323  else if (kind() == DQM_KIND_TH2F)
324  static_cast<TH2F *>(accessRootObject(__PRETTY_FUNCTION__, 2))
325  ->Fill(x, yw, 1);
326  else if (kind() == DQM_KIND_TH2S)
327  static_cast<TH2S *>(accessRootObject(__PRETTY_FUNCTION__, 2))
328  ->Fill(x, yw, 1);
329  else if (kind() == DQM_KIND_TH2D)
330  static_cast<TH2D *>(accessRootObject(__PRETTY_FUNCTION__, 2))
331  ->Fill(x, yw, 1);
332  else if (kind() == DQM_KIND_TPROFILE)
333  static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 1))
334  ->Fill(x, yw, 1);
335  else
336  incompatible(__PRETTY_FUNCTION__);
337 }
void incompatible(const char *func) const
TH1 * accessRootObject(const char *func, int reqdim) const
void update(void)
Mark the object updated.
void Fill(long long x)
Kind kind(void) 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 415 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().

416 {
417  update();
418  if (kind() == DQM_KIND_TH2F)
419  static_cast<TH2F *>(accessRootObject(__PRETTY_FUNCTION__, 2))
420  ->Fill(x, y, zw);
421  else if (kind() == DQM_KIND_TH2S)
422  static_cast<TH2S *>(accessRootObject(__PRETTY_FUNCTION__, 2))
423  ->Fill(x, y, zw);
424  else if (kind() == DQM_KIND_TH2D)
425  static_cast<TH2D *>(accessRootObject(__PRETTY_FUNCTION__, 2))
426  ->Fill(x, y, zw);
427  else if (kind() == DQM_KIND_TH3F)
428  static_cast<TH3F *>(accessRootObject(__PRETTY_FUNCTION__, 2))
429  ->Fill(x, y, zw, 1);
430  else if (kind() == DQM_KIND_TPROFILE)
431  static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 2))
432  ->Fill(x, y, zw);
433  else if (kind() == DQM_KIND_TPROFILE2D)
434  static_cast<TProfile2D *>(accessRootObject(__PRETTY_FUNCTION__, 2))
435  ->Fill(x, y, zw, 1);
436  else
437  incompatible(__PRETTY_FUNCTION__);
438 }
void incompatible(const char *func) const
TH1 * accessRootObject(const char *func, int reqdim) const
void update(void)
Mark the object updated.
void Fill(long long x)
Kind kind(void) const
Get the type of the monitor element.
auto zw(V v) -> Vec2< typename std::remove_reference< decltype(v[0])>::type >
Definition: ExtVec.h:75
void MonitorElement::Fill ( double  x,
double  y,
double  z,
double  w 
)

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

Definition at line 442 of file MonitorElement.cc.

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

443 {
444  update();
445  if (kind() == DQM_KIND_TH3F)
446  static_cast<TH3F *>(accessRootObject(__PRETTY_FUNCTION__, 2))
447  ->Fill(x, y, z, w);
448  else if (kind() == DQM_KIND_TPROFILE2D)
449  static_cast<TProfile2D *>(accessRootObject(__PRETTY_FUNCTION__, 2))
450  ->Fill(x, y, z, w);
451  else
452  incompatible(__PRETTY_FUNCTION__);
453 }
void incompatible(const char *func) const
TH1 * accessRootObject(const char *func, int reqdim) const
const double w
Definition: UKUtility.cc:23
void update(void)
Mark the object updated.
void Fill(long long x)
Kind kind(void) const
Get the type of the monitor element.
uint32_t MonitorElement::flags ( void  ) const
inline

Get the object flags.

Definition at line 113 of file MonitorElement.h.

References DQMNet::CoreObject::flags.

114  { 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 999 of file MonitorElement.cc.

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

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

1000 {
1001  TH1 *h = accessRootObject(func, axis-1);
1002  TAxis *a = 0;
1003  if (axis == 1)
1004  a = h->GetXaxis();
1005  else if (axis == 2)
1006  a = h->GetYaxis();
1007  else if (axis == 3)
1008  a = h->GetZaxis();
1009 
1010  if (! a)
1011  raiseDQMError("MonitorElement", "No such axis %d in monitor element"
1012  " '%s' of type '%s'", axis, data_.objname.c_str(),
1013  typeid(*h).name());
1014 
1015  return a;
1016 }
TH1 * accessRootObject(const char *func, int reqdim) const
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 834 of file MonitorElement.cc.

References getAxis(), and AlCaHLTBitMon_QueryRunRegistry::string.

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

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

get content of bin (1-D)

Definition at line 747 of file MonitorElement.cc.

References accessRootObject().

Referenced by HCALRecHitAnalyzer::analyze(), L1TDTTFClient::buildPhiEtaPlotO(), L1TDTTFClient::buildPhiEtaPlotOFC(), EcalMixingModuleValidation::bunchSumTest(), PixelLumiDQM::calculateBunchMask(), 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::DigiRunSummary::endLuminosityBlock(), hcaldqm::RawRunSummary::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(), 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(), HcalSubdetDigiMonitor::getMeElementBinContent(), SiPixelClusterSource::getrococcupancye(), 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(), L1TStage2CaloLayer2DEClient::processHistograms(), SiStripPopConFEDErrorsHandlerFromDQM::readHistogram(), SiStripMonitorTrack::return2DME(), SiPixelDQMRocLevelAnalyzer::RocSumOneModule(), HcalDigisClient::scaleMETH2D(), L1EmulatorErrorFlagClient::setSummary(), DTTimeEvolutionHisto::setTimeSlotValue(), ecaldqm::MESetTrend::shift_(), ShiftFillLast(), HcalSimHitsClient::SimHitsEndjob(), DTTimeEvolutionHisto::updateTimeSlot(), and ECALRecHitAnalyzer::WriteECALRecHits().

748 { return accessRootObject(__PRETTY_FUNCTION__, 1)
749  ->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 753 of file MonitorElement.cc.

References accessRootObject().

754 { return accessRootObject(__PRETTY_FUNCTION__, 2)
755  ->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 759 of file MonitorElement.cc.

References accessRootObject().

760 { return accessRootObject(__PRETTY_FUNCTION__, 3)
761  ->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 789 of file MonitorElement.cc.

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

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

790 {
791  if (kind() == DQM_KIND_TPROFILE)
792  return static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 1))
793  ->GetBinEntries(bin);
794  else if (kind() == DQM_KIND_TPROFILE2D)
795  return static_cast<TProfile2D *>(accessRootObject(__PRETTY_FUNCTION__, 1))
796  ->GetBinEntries(bin);
797  else
798  {
799  incompatible(__PRETTY_FUNCTION__);
800  return 0;
801  }
802 }
void incompatible(const char *func) const
TH1 * accessRootObject(const char *func, int reqdim) const
Kind kind(void) const
Get the type of the monitor element.
bin
set the eta bin as selection string.
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 771 of file MonitorElement.cc.

References accessRootObject().

772 { return accessRootObject(__PRETTY_FUNCTION__, 2)
773  ->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 777 of file MonitorElement.cc.

References accessRootObject().

778 { return accessRootObject(__PRETTY_FUNCTION__, 3)
779  ->GetBinError(binx, biny, binz); }
TH1 * accessRootObject(const char *func, int reqdim) const
double MonitorElement::getEntries ( void  ) const
double MonitorElement::getFloatValue ( void  ) const
inline
const std::string MonitorElement::getFullname ( void  ) const
inline
int64_t MonitorElement::getIntValue ( void  ) const
inline
bool MonitorElement::getLumiFlag ( void  ) const
inline

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

Definition at line 150 of file MonitorElement.h.

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

Referenced by MEtoEDMConverter::putData().

151  { 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 711 of file MonitorElement.cc.

References accessRootObject().

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

712 { return accessRootObject(__PRETTY_FUNCTION__, axis-1)
713  ->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 117 of file MonitorElement.h.

References DQMNet::CoreObject::objname.

Referenced by BeamMonitor::analyze(), HLTSeedL1LogicScalers::analyze(), BeamMonitor::beginJob(), RPCBxTest::beginRun(), L1TEventInfoClient::book(), PFClient::createResolutionPlots(), L1EmulatorErrorFlagClient::dqmEndJob(), HLTMuonCertSummary::dqmEndJob(), plotting.Plot::draw(), L1TEventInfoClient::dumpContentMonitorElements(), DQMDcsInfoClient::endRun(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiStripSummaryCreator::fillHistos(), SiStripQualityChecker::fillSubDetStatus(), SiPixelActionExecutor::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), TrackingCertificationInfo::fillTrackingCertificationMEs(), TrackingCertificationInfo::fillTrackingCertificationMEsAtLumi(), TrackingQualityChecker::fillTrackingStatus(), TrackingQualityChecker::fillTrackingStatusAtLumi(), BeamMonitor::FitAndFill(), SiPixelDataQuality::getDetId(), SiPixelInformationExtractor::getDetId(), ESClient::getHisto(), SiStripQualityChecker::getModuleStatus(), SiStripSummaryCreator::getSummaryME(), CommissioningHistograms::histogram(), SiStripHistoPlotter::makeCondDBPlots(), L1TDTTPGClient::makeRatioHisto(), SiStripTrackerMapCreator::paintTkMapFromHistogram(), SiStripInformationExtractor::plotHistosFromLayout(), SiStripInformationExtractor::printAlarmList(), TrackingActionExecutor::printShiftHistoParameters(), SiStripActionExecutor::printShiftHistoParameters(), ElectronDqmHarvesterBase::profileX(), ScoutingAnalyzerBase::profileX(), ElectronDqmHarvesterBase::profileY(), ScoutingAnalyzerBase::profileY(), MEtoEDMConverter::putData(), SiStripPopConFEDErrorsHandlerFromDQM::readHistogram(), L1TEventInfoClient::readQtResults(), SiStripPopConHistoryDQM::returnDetComponent(), DTLocalTriggerSynchTest::runClientDiagnostic(), and CSCRecHit2DValidation::~CSCRecHit2DValidation().

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

get # of bins in X-axis

Definition at line 729 of file MonitorElement.cc.

References accessRootObject().

Referenced by dqm::TrackAnalyzer::analyze(), TrackBuildingAnalyzer::analyze(), SiStripMonitorQuality::analyze(), JetAnalyzer_HeavyIons::analyze(), ecaldqm::MESetDet2D::book(), ecaldqm::MESetDet1D::book(), 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(), NewMuonTrackValidatorBase::doProfileX(), HltSusyExoPostProcessor::dqmEndJob(), DQMExample_Step2::dqmEndJob(), RPCEfficiencyShiftHisto::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), JetTesterPostProcessor::dqmEndJob(), METTesterPostProcessorHarvesting::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(), SiStripSummaryCreator::getSummaryME(), 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().

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

get # of bins in Z-axis

Definition at line 741 of file MonitorElement.cc.

References accessRootObject().

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

get pathname of parent folder

Definition at line 121 of file MonitorElement.h.

References DQMNet::CoreObject::dirname.

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

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

get errors from last set of quality tests

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

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

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

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

634 {
635  std::vector<QReport *> result;
636  result.reserve(qreports_.size());
637  for (size_t i = 0, e = qreports_.size(); i != e; ++i)
640  && data_.qreports[i].code != dqm::qstatus::ERROR)
641  {
642  const_cast<MonitorElement *>(this)->qreports_[i].qvalue_
643  = const_cast<DQMNet::QValue *>(&data_.qreports[i]);
644  result.push_back(const_cast<QReport *>(&qreports_[i]));
645  }
646  return result;
647 }
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 580 of file MonitorElement.cc.

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

581 {
582  QReport *qr;
583  DQMNet::QValue *qv;
584  const_cast<MonitorElement *>(this)->getQReport(false, qtname, qr, qv);
585  return qr;
586 }
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 1373 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.

1374 {
1375  assert(qreports_.size() == data_.qreports.size());
1376 
1377  qr = 0;
1378  qv = 0;
1379 
1380  size_t pos = 0, end = qreports_.size();
1381  while (pos < end && data_.qreports[pos].qtname != qtname)
1382  ++pos;
1383 
1384  if (pos == end && ! create)
1385  return;
1386  else if (pos == end)
1387  {
1388  data_.qreports.push_back(DQMNet::QValue());
1389  qreports_.push_back(QReport(0, 0));
1390 
1391  DQMNet::QValue &q = data_.qreports.back();
1393  q.qtresult = 0;
1394  q.qtname = qtname;
1395  q.message = "NO_MESSAGE_ASSIGNED";
1396  q.algorithm = "UNKNOWN_ALGORITHM";
1397  }
1398 
1399  qr = &qreports_[pos];
1400  qv = &data_.qreports[pos];
1401 }
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:37
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 ( void  ) const
std::vector< QReport * > MonitorElement::getQWarnings ( void  ) const

get warnings from last set of quality tests

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

604 {
605  std::vector<QReport *> result;
606  result.reserve(qreports_.size());
607  for (size_t i = 0, e = qreports_.size(); i != e; ++i)
608  if (data_.qreports[i].code == dqm::qstatus::WARNING)
609  {
610  const_cast<MonitorElement *>(this)->qreports_[i].qvalue_
611  = const_cast<DQMNet::QValue *>(&data_.qreports[i]);
612  result.push_back(const_cast<QReport *>(&qreports_[i]));
613  }
614  return result;
615 }
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 ( void  ) const

Definition at line 1545 of file MonitorElement.cc.

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

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

1546 {
1547  const_cast<MonitorElement *>(this)->update();
1548  return checkRootObject(data_.objname, reference_, __PRETTY_FUNCTION__, 0);
1549 }
void update(void)
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 ( void  ) const

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

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

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

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

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

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

Definition at line 1597 of file MonitorElement.cc.

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

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

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

Definition at line 1579 of file MonitorElement.cc.

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

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

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

Definition at line 1588 of file MonitorElement.cc.

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

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

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

Definition at line 1606 of file MonitorElement.cc.

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

Referenced by Comp2RefEqualH::runTest().

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

Definition at line 1615 of file MonitorElement.cc.

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

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

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

Definition at line 1624 of file MonitorElement.cc.

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

Referenced by Comp2Ref2DChi2::runTest().

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

References accessRootObject().

Referenced by BeamMonitor::FitAndFill().

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

Definition at line 374 of file MonitorElement.h.

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

Referenced by MEtoEDMConverter::putData().

375  {
376  assert(kind() == DQM_KIND_STRING);
377  return scalar_.str;
378  }
Kind kind(void) const
Get the type of the monitor element.
const uint32_t MonitorElement::getTag ( void  ) const
inline

Definition at line 388 of file MonitorElement.h.

References DQMNet::CoreObject::tag.

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

Definition at line 380 of file MonitorElement.h.

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

Referenced by MEtoEDMConverter::putData().

381  {
382  DQMNet::TagList tags;
384  tags.push_back(data_.tag);
385  return tags;
386  }
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 1458 of file MonitorElement.cc.

References accessRootObject(), and update().

Referenced by HcalOnlineHarvesting::_dqmEndLuminosityBlock(), SiPixelOfflineCalibAnalysisBase::addTF1ToDQMMonitoringElement(), MBUEandQCDValidation::analyze(), BeamMonitor::analyze(), LogMessageMonitor::analyze(), HLTScalers::analyze(), L1TSync::analyze(), L1TSync_Offline::analyze(), TrackerOfflineValidationSummary::associateModuleHistsWithTree(), BeamConditionsMonitor::beginJob(), BeamMonitor::beginJob(), 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(), DiJetVarAnalyzer::bookHistograms(), RPCValidHistograms::bookHistograms(), RPCRecHitValid::bookHistograms(), TkAlCaRecoMonitor::bookHistograms(), V0Monitor::bookHistograms(), QcdUeDQM::bookHistograms(), Vx3DHLTAnalyzer::bookHistograms(), SiPixelClusterSource::bookHistograms(), TrackingMonitor::bookHistograms(), LogMessageMonitor::bookHistograms(), JetMETHLTOfflineSource::bookHistograms(), QcdLowPtDQM::bookHistograms(), dqm::TrackAnalyzer::bookHistosForBeamSpot(), 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(), L1TSync::doFractionInSync(), dqmCopyRecursively(), RPCEfficiencyPerRingLayer::dqmEndJob(), RPCRecHitValidClient::dqmEndJob(), DQMScaleToClient::dqmEndJob(), DQMCorrelationClient::dqmEndJob(), hcaldqm::DigiRunSummary::endLuminosityBlock(), DT4DSegmentClients::endLuminosityBlock(), DT2DSegmentClients::endLuminosityBlock(), DTRecHitClients::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), TauDQMHistEffProducer::endRun(), HistogramManager::executeExtend(), HistogramManager::executeGroupBy(), hcaldqm::ContainerSingle1D::extendAxisRange(), hcaldqm::ContainerSingle2D::extendAxisRange(), ecaldqm::MESet::fill_(), SiPixelActionExecutor::fillEfficiencySummary(), SiStripQualityDQM::fillGrandSummaryMEs(), DQMMessageLoggerClient::fillHistograms(), SiStripSummaryCreator::fillHistos(), MuonPFAnalyzer::fillInRange(), SiStripQualityDQM::fillMEsForLayer(), NewMuonTrackValidatorBase::fillPlotNoFlow(), 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(), CSCMonitorObject::SetNormFactor(), DTLocalTriggerTask::setQLabels(), DTLocalTriggerBaseTask::setQLabels(), DTLocalTriggerTask::setQLabelsTheta(), DTLocalTriggerBaseTask::setQLabelsTheta(), ecaldqm::MESetTrend::shift_(), JetMETHLTOfflineSource::TriggerPosition(), SiStripFEDCheckPlugin::updateHistograms(), L1TTestsSummary::updateL1TOccupancyMonitor(), L1TTestsSummary::updateL1TRateMonitor(), L1TTestsSummary::updateL1TSyncMonitor(), and L1ValidatorHists::Write().

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

Definition at line 1465 of file MonitorElement.cc.

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

Referenced by SiStripGainFromData::algoBeginJob(), L1TStage2EMTF::analyze(), GeneralHLTOffline::analyze(), StripValidationPlots::beginJob(), APVValidationPlots::beginJob(), L1TStage2RatioClient::book(), dqmoffline::l1t::L1TEfficiencyPlotHandler::book(), FastTimerService::PlotsPerElement::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(), RPCMonitorLinkSynchro::bookHistograms(), PrimaryVertexMonitor::bookHistograms(), dqm::RamdiskMonitor::bookHistograms(), QcdPhotonsDQM::bookHistograms(), HLTInclusiveVBFSource::bookHistograms(), TriggerBxMonitor::bookHistograms(), TriggerRatesMonitor::bookHistograms(), CastorMonitorModule::bookHistograms(), DQMProvInfo::bookHistogramsLhcInfo(), TrackEfficiencyClient::bookMEs(), ElectronDqmHarvesterBase::bookP1(), MTVHistoProducerAlgoForTracker::bookSimHistos(), 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(), fitUtilities::doGaussFit(), HDQMfitUtilities::doGaussFit(), MuonTestSummary::doKinematicsTests(), fitUtilities::doLanGaussFit(), HDQMfitUtilities::doLanGaussFit(), MuonTestSummary::doMuonIDTests(), HltSusyExoPostProcessor::dqmEndJob(), RPCRecHitProbabilityClient::dqmEndJob(), L1TGMTClient::dqmEndJob(), DQMHcalIsoTrackPostProcessor::dqmEndJob(), RPCEfficiencySecond::dqmEndJob(), TriggerRatesMonitorClient::dqmEndJob(), SusyPostProcessor::dqmEndJob(), EfficiencyPlotter::dqmEndJob(), EcalZmassClient::dqmEndJob(), MuonRecoTest::dqmEndJob(), TrackEfficiencyClient::dqmEndJob(), DTResolutionAnalysisTest::dqmEndJob(), JetMETHLTOfflineClient::dqmEndJob(), RPCDcsInfoClient::dqmEndLuminosityBlock(), BrilClient::dqmEndLuminosityBlock(), DTDataIntegrityTest::dqmEndLuminosityBlock(), DTEfficiencyTest::dqmEndLuminosityBlock(), HarvestingAnalyzer::endJob(), ESPedestalClient::endJobAnalyze(), RPCMonitorLinkSynchro::endLuminosityBlock(), DQMDcsInfoClient::endLuminosityBlock(), L1TdeStage2CaloLayer1::endLuminosityBlock(), L1TStage2CaloLayer1::endLuminosityBlock(), TauDQMHistEffProducer::endRun(), RPCBxTest::endRun(), 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(), ElectronMcFakePostValidator::finalize(), ElectronMcSignalPostValidator::finalize(), 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(), 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(), CTPPSDiamondDQMSource::PotPlots::PotPlots(), TotemRPDQMSource::PotPlots::PotPlots(), CastorDigiMonitor::processEvent(), L1TStage2RatioClient::processHistograms(), L1TStage2CaloLayer2DEClient::processHistograms(), L1TCSCTFClient::processHistograms(), MEtoEDMConverter::putData(), MuonTestSummary::ResidualCheck(), Comp2RefEqualH::runTest(), Comp2RefChi2::runTest(), Comp2RefKolmogorov::runTest(), ContentsXRange::runTest(), ContentsYRange::runTest(), DeadChannel::runTest(), NoisyChannel::runTest(), MeanWithinExpected::runTest(), CompareLastFilledBin::runTest(), CheckVariance::runTest(), DQMStore::scaleElements(), GenericHistoryDQM::setDBValuesForUser(), DTTimeEvolutionHisto::setTimeSlotValue(), and TrackIPHistograms< T >::TrackIPHistograms().

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

Definition at line 1473 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(), MeanWithinExpected::runTest(), and DQMStore::scaleElements().

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

Definition at line 1505 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(), ContentsWithinExpected::runTest(), and DQMStore::scaleElements().

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

Definition at line 1489 of file MonitorElement.cc.

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

Referenced by SiStripGainFromData::algoBeginJob(), L1TStage2EMTF::analyze(), JetAnalyzer_HeavyIons::analyze(), TotemRPDQMSource::ArmPlots::ArmPlots(), BeamMonitor::beginJob(), 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(), RPCMonitorLinkSynchro::bookHistograms(), RPCMonitorRaw::bookHistograms(), HLTTauDQMTagAndProbePlotter::bookHistograms(), RPCRecHitValid::bookHistograms(), CaloTowerAnalyzer::bookHistograms(), HLTTauDQMPathPlotter::bookHistograms(), L1TdeStage2CaloLayer1::bookHistograms(), PhysicsObjectsMonitor::bookHistograms(), CTPPSPixelDQMSource::bookHistograms(), CastorLEDMonitor::bookHistograms(), L1TDTTF::bookHistograms(), HLTInclusiveVBFSource::bookHistograms(), ZDCDigiStudy::bookHistograms(), ZdcSimHitStudy::bookHistograms(), L1TdeRCT::bookHistograms(), TriggerBxMonitor::bookHistograms(), TriggerBxVsOrbitMonitor::bookHistograms(), L1TStage2CaloLayer1::bookHistograms(), L1TCSCTF::bookHistograms(), JetAnalyzer::bookHistograms(), PrimaryVertexAnalyzer4PUSlimmed::bookHistograms(), DQMProvInfo::bookHistogramsEventInfo(), DQMStore::collate2D(), dqmoffline::l1t::L1TDiffHarvesting::L1TDiffPlotHandler::computeDiff(), GlobalMuonMatchAnalyzer::computeEfficiencyEta(), GlobalMuonMatchAnalyzer::computeEfficiencyPt(), PFClient::createProfilePlots(), PFClient::createProjectionPlots(), PFClient_JetRes::createResolutionPlots(), PFClient::createResolutionPlots(), FlavourHistograms2D< T, G >::divide(), L1TdeRCT::DivideME2D(), MuonTrackValidatorBase::doProfileX(), NewMuonTrackValidatorBase::doProfileX(), TrackingDQMClientHeavyIons::dqmEndJob(), L1TGMTClient::dqmEndJob(), TriggerRatesMonitorClient::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), MuonRecoTest::dqmEndJob(), PhotonDataCertification::dqmEndJob(), DTChamberEfficiencyClient::dqmEndJob(), HLTMuonCertSummary::dqmEndJob(), DTDataIntegrityTest::dqmEndLuminosityBlock(), DTNoiseAnalysisTest::dqmEndLuminosityBlock(), DTOccupancyTest::dqmEndLuminosityBlock(), DTChamberEfficiencyTest::dqmEndLuminosityBlock(), DTResolutionTest::dqmEndLuminosityBlock(), L1TEventInfoClient::dumpContentMonitorElements(), RPCMonitorLinkSynchro::endLuminosityBlock(), HigPhotonJetHLTOfflineSource::endRun(), HLTOverallSummary::endRun(), dqmoffline::l1t::fill2DWithinLimits(), SiPixelActionExecutor::fillEfficiency(), SiStripSummaryCreator::fillHistos(), SiPixelActionExecutor::fillOccupancy(), SiStripQualityChecker::fillStatusHistogram(), TrackingQualityChecker::fillStatusHistogram(), TrackingCertificationInfo::fillTrackingCertificationMEs(), SiPixelInformationExtractor::findNoisyPixels(), FitSlicesYTool::FitSlicesYTool(), FlavourHistograms2D< T, G >::FlavourHistograms2D(), L1TGMTClient::get2DHisto(), L1TDTTPGClient::get2DHisto(), SiStripBadModuleFedErrESSource::getFedBadChannelList(), FlavourHistograms2D< T, G >::getHistoVector(), HLTBTagHarvestingAnalyzer::GetNumDenumerators(), SiStripHistoPlotter::getProjection(), L1TOccupancyClientHistogramService::getRebinnedHistogram(), DQMCorrelationClient::getTH1(), L1TDTTFClient::getTH2F(), MuIsoValidation::GetTH2FromMonitorElement(), CTPPSDiamondDQMSource::GlobalPlots::GlobalPlots(), 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(), TotemRPDQMSource::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(), CastorDigiMonitor::processEvent(), CastorRecHitMonitor::processEvent(), CastorLEDMonitor::processEvent(), L1TGCTClient::processHistograms(), ElectronDqmHarvesterBase::profileX(), ElectronDqmHarvesterBase::profileY(), MEtoEDMConverter::putData(), Comp2RefEqualH::runTest(), Comp2Ref2DChi2::runTest(), DeadChannel::runTest(), NoisyChannel::runTest(), ContentsWithinExpected::runTest(), CompareLastFilledBin::runTest(), DQMStore::scaleElements(), SiStripPopConHistoryDQM::setDBValuesForUser(), HLXMonitor::SetupEventInfo(), and L1ValidatorHists::Write().

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

Definition at line 1497 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(), ContentsWithinExpected::runTest(), and DQMStore::scaleElements().

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

Definition at line 1513 of file MonitorElement.cc.

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

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

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

get MonitorElement title

Definition at line 840 of file MonitorElement.cc.

References accessRootObject().

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

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

Definition at line 1521 of file MonitorElement.cc.

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

Referenced by EcalSelectiveReadoutValidation::analyzeTP(), StripValidationPlots::beginJob(), FastTimerService::PlotsPerElement::book(), CastorMonitorModule::bookHistograms(), ElectronDqmAnalyzerBase::bookP1(), ElectronDqmHarvesterBase::bookP1(), ScoutingAnalyzerBase::bookP1(), Benchmark::bookProfile(), TrackingAnalyser::checkTrackerFEDsInLS(), TrackingAnalyser::checkTrackerFEDsWdataInLS(), DQMStore::collateProfile(), PFClient::createProfilePlots(), EmDQMPostProcessor::dividehistos(), JetMETDQMPostProcessor::dividehistos(), MuonTrackValidatorBase::doProfileX(), NewMuonTrackValidatorBase::doProfileX(), EmDQMPostProcessor::dqmEndJob(), HltSusyExoPostProcessor::dqmEndJob(), AlcaBeamMonitorClient::endLuminosityBlock(), AlcaBeamMonitor::endLuminosityBlock(), FastTimerServiceClient::fillPlotsVsLumi(), SiStripPedestalsDQM::fillSummaryMEs(), SiStripApvGainsDQM::fillSummaryMEs(), SiStripBackPlaneCorrectionDQM::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(), Comp2RefChi2::runTest(), Comp2RefKolmogorov::runTest(), ContentsWithinExpected::runTest(), CheckVariance::runTest(), and DQMStore::scaleElements().

1522 {
1523  assert(kind() == DQM_KIND_TPROFILE);
1524  const_cast<MonitorElement *>(this)->update();
1525  return static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 1));
1526 }
TH1 * accessRootObject(const char *func, int reqdim) const
void update(void)
Mark the object updated.
Kind kind(void) const
Get the type of the monitor element.
TProfile2D * MonitorElement::getTProfile2D ( void  ) const

Definition at line 1529 of file MonitorElement.cc.

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

Referenced by CastorDigiMonitor::bookHistograms(), CTPPSPixelDQMSource::bookHistograms(), DQMStore::collateProfile2D(), L1TDTTPGClient::get2DProfile(), SiStripTrackerMapCreator::paintTkMapFromHistogram(), MEtoEDMConverter::putData(), Comp2Ref2DChi2::runTest(), ContentsWithinExpected::runTest(), CompareToMedian::runTest(), and DQMStore::scaleElements().

1530 {
1531  assert(kind() == DQM_KIND_TPROFILE2D);
1532  const_cast<MonitorElement *>(this)->update();
1533  return static_cast<TProfile2D *>(accessRootObject(__PRETTY_FUNCTION__, 2));
1534 }
TH1 * accessRootObject(const char *func, int reqdim) const
void update(void)
Mark the object updated.
Kind kind(void) const
Get the type of the monitor element.
double MonitorElement::getYmax ( void  ) const
private

get max Y value (for profiles)

Definition at line 820 of file MonitorElement.cc.

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

821 {
822  if (kind() == DQM_KIND_TPROFILE)
823  return static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 1))
824  ->GetYmax();
825  else
826  {
827  incompatible(__PRETTY_FUNCTION__);
828  return 0;
829  }
830 }
void incompatible(const char *func) const
TH1 * accessRootObject(const char *func, int reqdim) const
Kind kind(void) const
Get the type of the monitor element.
double MonitorElement::getYmin ( void  ) const
private

get min Y value (for profiles)

Definition at line 806 of file MonitorElement.cc.

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

807 {
808  if (kind() == DQM_KIND_TPROFILE)
809  return static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 1))
810  ->GetYmin();
811  else
812  {
813  incompatible(__PRETTY_FUNCTION__);
814  return 0;
815  }
816 }
void incompatible(const char *func) const
TH1 * accessRootObject(const char *func, int reqdim) const
Kind kind(void) const
Get the type of the monitor element.
void MonitorElement::globalize ( )
inlineprivate
bool MonitorElement::hasError ( void  ) const
inline

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

Definition at line 200 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 ( void  ) const
inline

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

Definition at line 208 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 ( void  ) const
inline

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

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

684 {
685  raiseDQMError("MonitorElement", "Method '%s' cannot be invoked on monitor"
686  " element '%s'", func, data_.objname.c_str());
687 }
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
Kind kind(void) const
Get the type of the monitor element.
DQMNet::CoreObject data_
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
Kind kind(void) const
Get the type of the monitor element.
DQMNet::CoreObject data_
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(void) const
Get the type of the monitor element.
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
bool MonitorElement::isAccumulateEnabled ( void  ) const
inlineprivate

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

Definition at line 292 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 ( void  ) const
inline
bool MonitorElement::isSoftResetEnabled ( void  ) const
inlineprivate

whether soft-reset is enabled; default is false

Definition at line 288 of file MonitorElement.h.

Referenced by copyFrom(), and copyFunctions().

289  { return refvalue_ != 0; }
Kind MonitorElement::kind ( void  ) const
inline

Get the type of the monitor element.

Definition at line 109 of file MonitorElement.h.

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

Referenced by accessRootObject(), MEtoEDMConverter::beginRun(), 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(), MEtoEDMConverter::endJob(), Fill(), SiStripQualityChecker::fillDetectorStatusAtLumi(), SiStripSummaryCreator::fillHistos(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), SiStripQualityChecker::fillStatusHistogram(), TrackingQualityChecker::fillStatusHistogram(), TrackingCertificationInfo::fillTrackingCertificationMEs(), TrackingCertificationInfo::fillTrackingCertificationMEsAtLumi(), TrackingQualityChecker::fillTrackingStatusAtLumi(), DQMService::flushStandalone(), getBinEntries(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), 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(), ContentsWithinExpected::runTest(), MeanWithinExpected::runTest(), CompareToMedian::runTest(), CompareLastFilledBin::runTest(), CheckVariance::runTest(), 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 ( void  ) const
inline

Definition at line 392 of file MonitorElement.h.

References DQMNet::CoreObject::lumi.

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

true if ME is marked for deletion

Definition at line 296 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 ( void  )
inlineprivate

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

Definition at line 301 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 ( void  ) const
inline

Definition at line 394 of file MonitorElement.h.

References DQMNet::CoreObject::moduleId.

Referenced by MonitorElement().

394 {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 100 of file MonitorElement.h.

References data_, and DQMNet::setOrder().

101  {
102  return DQMNet::setOrder(data_, x.data_);
103  }
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 498 of file MonitorElement.cc.

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

499 {
501 }
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 473 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().

474 {
475  char buf[64];
476  if (kind() == DQM_KIND_INT)
477  {
478  snprintf(buf, sizeof(buf), "%s%" PRId64, prefix, scalar_.num);
479  into = buf;
480  }
481  else if (kind() == DQM_KIND_REAL)
482  {
483  snprintf(buf, sizeof(buf), "%s%.*g", prefix, DBL_DIG+2, scalar_.real);
484  into = buf;
485  }
486  else if (kind() == DQM_KIND_STRING)
487  {
488  into.reserve(strlen(prefix) + scalar_.str.size());
489  into += prefix;
490  into += scalar_.str;
491  }
492  else
493  incompatible(__PRETTY_FUNCTION__);
494 }
void incompatible(const char *func) const
Kind kind(void) const
Get the type of the monitor element.
std::string MonitorElement::qualityTagString ( const DQMNet::QValue qv) const

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

566 {
567  char buf[64];
569  size_t titlelen = data_.objname.size() + qv.qtname.size() + 1;
570  size_t buflen = sprintf(buf, "qr=st:%d:%.*g:", qv.code, DBL_DIG+2, qv.qtresult);
571 
572  result.reserve(7 + 2*titlelen + buflen + qv.algorithm.size() + qv.message.size());
573  result += '<'; result += data_.objname; result += '.'; result += qv.qtname; result += '>';
574  result += buf; result += qv.algorithm; result += ':'; result += qv.message;
575  result += '<'; result += '/'; result += data_.objname; result += '.'; result += qv.qtname; result += '>';
576  return result;
577 }
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 ( void  )

reset ME (ie. contents, errors, etc)

Definition at line 457 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(), EcalBarrelSimHitsValidation::analyze(), EcalEndcapSimHitsValidation::analyze(), AlcaBeamMonitor::beginLuminosityBlock(), SiStripMonitorDigi::beginLuminosityBlock(), PixelLumiDQM::beginLuminosityBlock(), TrackingMonitor::beginLuminosityBlock(), HLTScalers::beginLuminosityBlock(), SiStripDaqInfo::beginRun(), MEtoEDMConverter::beginRun(), L1TOccupancyClient::book(), DQMStore::book(), DQMLumiMonitor::bookHistograms(), SiStripMonitorRawData::bookHistograms(), L1TDTTFClient::buildSummaries(), L1TGT::countPfsIndicesPerLs(), PFClient_JetRes::createEfficiencyPlots(), PFClient::createEfficiencyPlots(), PFClient::createResolutionPlots(), DTOfflineSummaryClients::dqmEndJob(), MuonAlignmentSummary::dqmEndJob(), SiPixelEDAClient::dqmEndLuminosityBlock(), DTSummaryClients::dqmEndLuminosityBlock(), BeamSpotProblemMonitor::endJob(), 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(), DTBlockedROChannelsTest::performClientDiagnostic(), RPCChamberQuality::performeClientOperation(), 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_().

458 {
459  update();
460  if (kind() == DQM_KIND_INT)
461  scalar_.num = 0;
462  else if (kind() == DQM_KIND_REAL)
463  scalar_.real = 0;
464  else if (kind() == DQM_KIND_STRING)
465  scalar_.str.clear();
466  else
467  return accessRootObject(__PRETTY_FUNCTION__, 1)
468  ->Reset();
469 }
TH1 * accessRootObject(const char *func, int reqdim) const
void update(void)
Mark the object updated.
Kind kind(void) const
Get the type of the monitor element.
bool MonitorElement::resetMe ( void  ) const
inlineprivate

true if ME should be reset at end of monitoring cycle

Definition at line 310 of file MonitorElement.h.

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

Referenced by DQMStore::reset().

311  { 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 ( void  )
inlineprivate

reset "was updated" flag

Definition at line 306 of file MonitorElement.h.

References DQMNet::CoreObject::flags.

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

307  { 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 ( void  ) const
inline

Definition at line 391 of file MonitorElement.h.

References DQMNet::CoreObject::run.

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

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

run all quality tests

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

Referenced by DQMStore::runQTests().

652 {
653  assert(qreports_.size() == data_.qreports.size());
654 
655  // Rerun quality tests where the ME or the quality algorithm was modified.
656  bool dirty = wasUpdated();
657  for (size_t i = 0, e = data_.qreports.size(); i < e; ++i)
658  {
660  QReport &qr = qreports_[i];
661  QCriterion *qc = qr.qcriterion_;
662  qr.qvalue_ = &qv;
663 
664  // if (qc && (dirty || qc->wasModified())) // removed for new QTest (abm-090503)
665  if (qc && dirty)
666  {
667  assert(qc->getName() == qv.qtname);
668  std::string oldMessage = qv.message;
669  int oldStatus = qv.code;
670 
671  qc->runTest(this, qr, qv);
672 
673  if (oldStatus != qv.code || oldMessage != qv.message)
674  update();
675  }
676  }
677 
678  // Update QReport statistics.
680 }
QCriterion * qcriterion_
Definition: QReport.h:51
QReports qreports
Definition: DQMNet.h:108
std::string getName(void) const
get name of quality test
Definition: QTest.h:58
void updateQReportStats(void)
Refresh QReport stats, usually after MEs were read in from a file.
std::vector< QReport > qreports_
void update(void)
Mark the object updated.
bool wasUpdated(void) const
true if ME was updated in last monitoring cycle
std::string qtname
Definition: DQMNet.h:93
DQMNet::CoreObject data_
virtual float runTest(const MonitorElement *me)
Definition: QTest.cc:27
DQMNet::QValue * qvalue_
Definition: QReport.h:50
std::string message
Definition: DQMNet.h:92
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 315 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 
)

set x-, y- or z-axis range (axis=1, 2, 3 respectively)

Definition at line 946 of file MonitorElement.cc.

References getAxis(), and update().

Referenced by SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), RPCEfficiencySecond::dqmEndJob(), BDHadronTrackMonitoringHarvester::dqmEndJob(), and HLXMonitor::FillHistograms().

947 {
948  update();
949  getAxis(__PRETTY_FUNCTION__, axis)
950  ->SetRangeUser(xmin, xmax);
951 }
void update(void)
Mark the object updated.
TAxis * getAxis(const char *func, int axis) const
void MonitorElement::setAxisTimeDisplay ( int  value,
int  axis = 1 
)

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

Definition at line 964 of file MonitorElement.cc.

References getAxis(), and update().

965 {
966  update();
967  getAxis(__PRETTY_FUNCTION__, axis)
968  ->SetTimeDisplay(value);
969 }
void update(void)
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 973 of file MonitorElement.cc.

References getAxis(), and update().

974 {
975  update();
976  getAxis(__PRETTY_FUNCTION__, axis)
977  ->SetTimeFormat(format);
978 }
void update(void)
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 982 of file MonitorElement.cc.

References getAxis(), and update().

983 {
984  update();
985  getAxis(__PRETTY_FUNCTION__, axis)
986  ->SetTimeOffset(toffset, option);
987 }
void update(void)
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 955 of file MonitorElement.cc.

References getAxis(), and update().

Referenced by CSCOfflineMonitor::applyCSClabels(), DQMFEDIntegrityClient::beginJob(), BeamConditionsMonitor::beginJob(), BeamMonitor::beginJob(), BeamSpotProblemMonitor::beginJob(), RPCBxTest::beginRun(), OuterTrackerMonitorTTStub::beginRun(), OuterTrackerMonitorTTTrack::beginRun(), OuterTrackerMonitorTTCluster::beginRun(), SiStripLAProfileBooker::beginRun(), ecaldqm::MESetNonObject::book(), ESSummaryClient::book(), ESIntegrityClient::book(), L1TStage2RatioClient::book(), ecaldqm::MESetEcal::book(), SiPixelTrackResidualModule::book(), L1TDTTFClient::book(), SiPixelHitEfficiencyModule::book(), L1TTestsSummary::book(), SiPixelRecHitModule::book(), SiPixelClusterModule::book(), SiPixelDigiModule::book(), SiStripMonitorTrack::book(), L1TEventInfoClient::book(), DQMHelper::book1dHisto(), DQMHelper::book2dHisto(), DTLocalTriggerTask::bookBarrelHistos(), DTLocalTriggerBaseTest::bookCmsHistos(), DTTriggerLutTest::bookCmsHistos1d(), SiStripBaseCondObjDQM::bookCumulMEs(), SiPixelActionExecutor::bookEfficiency(), SiPixelDataQuality::bookGlobalQualityFlag(), TrackingQualityChecker::bookGlobalStatus(), DQMHOAlCaRecoStream::bookHistograms(), ESIntegrityTask::bookHistograms(), L1TScalersSCAL::bookHistograms(), ESOccupancyTask::bookHistograms(), L1TdeStage2EMTF::bookHistograms(), L1TStage2EMTF::bookHistograms(), L1TStage2uGMTMuon::bookHistograms(), ZDCTask::bookHistograms(), L1TStage2MuonComp::bookHistograms(), L1TStage2RegionalMuonCandComp::bookHistograms(), ESTrendTask::bookHistograms(), L1TStage2uGMT::bookHistograms(), ESRawDataTask::bookHistograms(), ESTimingTask::bookHistograms(), PrimaryVertexMonitor::bookHistograms(), L1TMP7ZeroSupp::bookHistograms(), DQMHcalPhiSymAlCaReco::bookHistograms(), dqm::RamdiskMonitor::bookHistograms(), AlcaBeamMonitor::bookHistograms(), TkAlCaRecoMonitor::bookHistograms(), DQMHcalDiJetsAlCaReco::bookHistograms(), EcalPileUpDepMonitor::bookHistograms(), MuonRecoAnalyzer::bookHistograms(), MuonTiming::bookHistograms(), MuonSeedsAnalyzer::bookHistograms(), MuonEnergyDepositAnalyzer::bookHistograms(), Tau3MuMonitor::bookHistograms(), SegmentTrackAnalyzer::bookHistograms(), BxTiming::bookHistograms(), DQMScalInfo::bookHistograms(), L1TDTTF::bookHistograms(), TrackSplittingMonitor::bookHistograms(), HLTBTagPerformanceAnalyzer::bookHistograms(), LumiMonitor::bookHistograms(), DQMHcalIsoTrackAlCaReco::bookHistograms(), SiPixelHitEfficiencySource::bookHistograms(), TrackEfficiencyMonitor::bookHistograms(), HLTSeedL1LogicScalers::bookHistograms(), SiStripMonitorQuality::bookHistograms(), L1TStage2uGT::bookHistograms(), ZDCDigiStudy::bookHistograms(), PSMonitor::bookHistograms(), SiStripMonitorRawData::bookHistograms(), L1TDTTPG::bookHistograms(), DQMSourcePi0::bookHistograms(), SiPixelTrackResidualSource::bookHistograms(), MuonRecoOneHLT::bookHistograms(), L1TRPCTF::bookHistograms(), L1TGMT::bookHistograms(), ZdcSimHitStudy::bookHistograms(), Vx3DHLTAnalyzer::bookHistograms(), GlobalDigisHistogrammer::bookHistograms(), L1TGT::bookHistograms(), SiStripFEDCheckPlugin::bookHistograms(), GlobalRecHitsHistogrammer::bookHistograms(), SiPixelClusterSource::bookHistograms(), TrackingMonitor::bookHistograms(), L1TdeCSCTF::bookHistograms(), LogMessageMonitor::bookHistograms(), MuonIsolationDQM::bookHistograms(), L1TCSCTF::bookHistograms(), MuIsoValidation::bookHistograms(), PiZeroAnalyzer::bookHistograms(), CSCOfflineMonitor::bookHistograms(), GlobalHitsHistogrammer::bookHistograms(), L1TCompare::bookHistograms(), GlobalHitsAnalyzer::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(), SiStripBaseCondObjDQM::bookSummaryCumulMEs(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), DTPreCalibrationTask::bookTimeBoxes(), TrackingCertificationInfo::bookTrackingCertificationMEs(), DTTriggerEfficiencyTest::bookWheelHistos(), DTTriggerEfficiencyTask::bookWheelHistos(), DTRunConditionVarClient::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(), L1TGMTClient::dqmEndJob(), DQMExample_Step2::dqmEndJob(), RPCEfficiencySecond::dqmEndJob(), BDHadronTrackMonitoringHarvester::dqmEndJob(), L1EmulatorErrorFlagClient::dqmEndJob(), DTOfflineSummaryClients::dqmEndJob(), MuonTestSummary::dqmEndJob(), DTCertificationSummary::dqmEndLuminosityBlock(), DTDAQInfo::dqmEndLuminosityBlock(), DTDCSByLumiSummary::dqmEndLuminosityBlock(), DTBlockedROChannelsTest::dqmEndLuminosityBlock(), DTDataIntegrityTest::dqmEndLuminosityBlock(), DTSummaryClients::dqmEndLuminosityBlock(), DTOccupancyTest::dqmEndLuminosityBlock(), DQMDcsInfoClient::endRun(), SiStripQualityDQM::fillGrandSummaryMEs(), BeamMonitor::FitAndFill(), SiStripCablingDQM::getActiveDetIds(), VertexMonitor::initHisto(), TrackBuildingAnalyzer::initHisto(), rpcdqm::utils::labelXAxisSegment(), HLTTauPostProcessor::plotFilterEfficiencies(), DQMCorrelationClient::setAxisTitle(), CSCMonitorObject::setAxisTitle(), HTMonitor::setHTitle(), L1TDTTPGClient::setMapPhLabel(), L1TDTTPG::setMapPhLabel(), L1TDTTPGClient::setMapThLabel(), L1TDTTPG::setMapThLabel(), TriggerDQMBase::setMETitle(), BPHMonitor::setMETitle(), RazorMonitor::setMETitle(), JetMonitor::setMETitle(), METMonitor::setMETitle(), NoBPTXMonitor::setNoBPTXTitle(), L1TDTTF::setQualLabel(), L1TDTTFClient::setQualLabel(), TrackIPHistograms< T >::settitle(), FlavourHistograms< T >::settitle(), FlavourHistograms2D< T, G >::settitle(), PhotonMonitor::setTitle(), MuonMonitor::setTitle(), HLXMonitor::SetupHists(), L1TDTTF::setWheelLabel(), and L1TDTTFClient::setWheelLabel().

956 {
957  update();
958  getAxis(__PRETTY_FUNCTION__, axis)
959  ->SetTitle(title.c_str());
960 }
void update(void)
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 848 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(), BeamMonitor::beginJob(), L1TdeStage2CaloLayer1::beginLuminosityBlock(), L1TStage2CaloLayer1::beginLuminosityBlock(), DQMProvInfo::blankPreviousLumiSections(), SiPixelDataQuality::bookGlobalQualityFlag(), ME0DigisValidation::bookHistograms(), HCALRecHitAnalyzer::bookHistograms(), ECALRecHitAnalyzer::bookHistograms(), DQMProvInfo::bookHistogramsLhcInfo(), SiPixelSCurveCalibrationAnalysis::buildACurveHistogram(), L1TDTTFClient::buildHighQualityPlot(), L1TDTTFClient::buildPhiEtaPlotO(), L1TDTTFClient::buildPhiEtaPlotOFC(), L1TDTTFClient::buildSummaries(), EcalMixingModuleValidation::bunchSumTest(), RPCOccupancyTest::clientOperation(), RPCDeadChannelTest::clientOperation(), RPCEventSummary::clientOperation(), SiPixelHitEfficiencyModule::computeEfficiencies(), GlobalMuonMatchAnalyzer::computeEfficiencyEta(), GlobalMuonMatchAnalyzer::computeEfficiencyPt(), PFClient_JetRes::createEfficiencyPlots(), PFClient::createProfilePlots(), PFClient::createProjectionPlots(), PFClient_JetRes::createResolutionPlots(), PFClient::createResolutionPlots(), ConversionPostprocessing::dividePlots(), PhotonPostprocessing::dividePlots(), PhotonOfflineClient::dividePlots(), HltSusyExoPostProcessor::dqmEndJob(), RPCDcsInfoClient::dqmEndJob(), RPCEfficiencyPerRingLayer::dqmEndJob(), DQMExample_Step2::dqmEndJob(), RPCEfficiencySecond::dqmEndJob(), BDHadronTrackMonitoringHarvester::dqmEndJob(), RPCEfficiencyShiftHisto::dqmEndJob(), JetTesterPostProcessor::dqmEndJob(), METTesterPostProcessorHarvesting::dqmEndJob(), DataCertificationJetMET::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(), DQMDcsInfoClient::endRun(), DQMHcalPhiSymAlCaReco::endRun(), ecaldqm::MESetDet2D::fill_(), SiPixelActionExecutor::fillDeviations(), QcdLowPtDQM::filldNdeta(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillEfficiencySummary(), SiPixelActionExecutor::fillFEDErrorSummary(), HCALRecHitAnalyzer::FillGeometry(), ECALRecHitAnalyzer::FillGeometry(), RPCNoisyStripTest::fillGlobalME(), RPCMultiplicityTest::fillGlobalME(), RPCOccupancyTest::fillGlobalME(), SiPixelDataQuality::fillGlobalQualityPlot(), DQMFEDIntegrityClient::fillHistograms(), HLXMonitor::FillHistograms(), SiStripSummaryCreator::fillHistos(), METTesterPostProcessor::FillMETRes(), SiPixelActionExecutor::fillOccupancy(), MuonTrackValidatorBase::fillPlotFromVector(), MuonTrackValidatorBase::fillPlotFromVectors(), ESSummaryClient::fillReportSummary(), HLXMonitor::FillReportSummary(), 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(), DQMGenericClient::limitedFit(), TotemRPDQMHarvester::MakeHitNumberRatios(), TotemRPDQMHarvester::MakePlaneEfficiencyHistograms(), METAnalyzer::makeRatePlot(), L1TGCTClient::makeXProjection(), L1TGCTClient::makeYProjection(), RPCDeadChannelTest::myBooker(), RPCDataCertification::myBooker(), RPCDCSSummary::myBooker(), SiPixelActionExecutor::normaliseAvDigiOcc(), SiPixelActionExecutor::normaliseAvDigiOccVsLumi(), DTTimeEvolutionHisto::normalizeTo(), L1TStage2CaloLayer2DEClient::processHistograms(), L1TdeRCT::readFEDVector(), 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(), HcalSubdetDigiMonitor::setMeElementBinContent(), DTTimeEvolutionHisto::setTimeSlotValue(), HLXMonitor::SetupEventInfo(), ecaldqm::MESetTrend::shift_(), ShiftFillLast(), HcalSimHitsClient::SimHitsEndjob(), HGCalSimHitsClient::simHitsEndjob(), and ECALRecHitAnalyzer::WriteECALRecHits().

849 {
850  update();
851  accessRootObject(__PRETTY_FUNCTION__, 1)
852  ->SetBinContent(binx, content);
853 }
TH1 * accessRootObject(const char *func, int reqdim) const
void update(void)
Mark the object updated.
void MonitorElement::setBinContent ( int  binx,
int  biny,
double  content 
)

set content of bin (2-D)

Definition at line 857 of file MonitorElement.cc.

References accessRootObject(), and update().

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

set content of bin (3-D)

Definition at line 865 of file MonitorElement.cc.

References accessRootObject(), and update().

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

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

Definition at line 900 of file MonitorElement.cc.

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

Referenced by PFClient::createProfilePlots(), HltSusyExoPostProcessor::dqmEndJob(), ecaldqm::MESetDet2D::reset(), ecaldqm::MESetDet1D::reset(), ecaldqm::MESetProjection::setBinEntries(), ecaldqm::MESetDet1D::setBinEntries(), ecaldqm::MESet::Bin::setBinEntries(), and ecaldqm::MESetTrend::shift_().

901 {
902  update();
903  if (kind() == DQM_KIND_TPROFILE)
904  static_cast<TProfile *>(accessRootObject(__PRETTY_FUNCTION__, 1))
905  ->SetBinEntries(bin, nentries);
906  else if (kind() == DQM_KIND_TPROFILE2D)
907  static_cast<TProfile2D *>(accessRootObject(__PRETTY_FUNCTION__, 1))
908  ->SetBinEntries(bin, nentries);
909  else
910  incompatible(__PRETTY_FUNCTION__);
911 }
void incompatible(const char *func) const
TH1 * accessRootObject(const char *func, int reqdim) const
void update(void)
Mark the object updated.
Kind kind(void) const
Get the type of the monitor element.
bin
set the eta bin as selection string.
void MonitorElement::setBinError ( int  binx,
double  error 
)

set uncertainty on content of bin (1-D)

Definition at line 873 of file MonitorElement.cc.

References accessRootObject(), and update().

Referenced by SiPixelSCurveCalibrationAnalysis::buildACurveHistogram(), EcalMixingModuleValidation::bunchSumTest(), SiPixelHitEfficiencyModule::computeEfficiencies(), GlobalMuonMatchAnalyzer::computeEfficiencyEta(), GlobalMuonMatchAnalyzer::computeEfficiencyPt(), PFClient_JetRes::createResolutionPlots(), ConversionPostprocessing::dividePlots(), PhotonPostprocessing::dividePlots(), PhotonOfflineClient::dividePlots(), HltSusyExoPostProcessor::dqmEndJob(), RPCEfficiencyPerRingLayer::dqmEndJob(), RPCEfficiencySecond::dqmEndJob(), PixelLumiDQM::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), QcdLowPtDQM::filldNdeta(), HLXMonitor::FillHistograms(), METTesterPostProcessor::FillMETRes(), MuonTrackValidatorBase::fillPlotFromVectors(), DQMGenericClient::generic_eff(), DQMGenericClient::limitedFit(), TotemRPDQMHarvester::MakePlaneEfficiencyHistograms(), ecaldqm::MESetDet2D::reset(), ecaldqm::MESetDet1D::reset(), HcalDigisClient::scaleMETH2D(), ecaldqm::MESetProjection::setBinError(), ecaldqm::MESetDet1D::setBinError(), ecaldqm::MESet::Bin::setBinError(), DTTimeEvolutionHisto::setTimeSlotValue(), ecaldqm::MESetTrend::shift_(), and ShiftFillLast().

874 {
875  update();
876  accessRootObject(__PRETTY_FUNCTION__, 1)
877  ->SetBinError(binx, error);
878 }
TH1 * accessRootObject(const char *func, int reqdim) const
void update(void)
Mark the object updated.
void MonitorElement::setBinError ( int  binx,
int  biny,
double  error 
)

set uncertainty on content of bin (2-D)

Definition at line 882 of file MonitorElement.cc.

References accessRootObject(), and update().

883 {
884  update();
885  accessRootObject(__PRETTY_FUNCTION__, 2)
886  ->SetBinError(binx, biny, error);
887 }
TH1 * accessRootObject(const char *func, int reqdim) const
void update(void)
Mark the object updated.
void MonitorElement::setBinError ( int  binx,
int  biny,
int  binz,
double  error 
)

set uncertainty on content of bin (3-D)

Definition at line 891 of file MonitorElement.cc.

References accessRootObject(), and update().

892 {
893  update();
894  accessRootObject(__PRETTY_FUNCTION__, 3)
895  ->SetBinError(binx, biny, binz, error);
896 }
TH1 * accessRootObject(const char *func, int reqdim) const
void update(void)
Mark the object updated.
void MonitorElement::setBinLabel ( int  bin,
const std::string &  label,
int  axis = 1 
)

set bin label for x, y or z axis (axis=1, 2, 3 respectively)

Definition at line 924 of file MonitorElement.cc.

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

Referenced by HcalOfflineHarvesting::_dqmEndJob(), HcalOnlineHarvesting::_dqmEndLuminosityBlock(), BeamMonitor::analyze(), HigPhotonJetHLTOfflineSource::analyze(), CSCOfflineMonitor::applyCSClabels(), DQMFEDIntegrityClient::beginJob(), BeamMonitor::beginJob(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetDet2D::book(), ecaldqm::MESetDet1D::book(), ecaldqm::MESetEcal::book(), L1TStage2CaloLayer2DEClient::book(), L1TDTTFClient::book(), SiStripMonitorTrack::book(), L1TEventInfoClient::book(), SiPixelActionExecutor::bookEfficiency(), HltSusyExoPostProcessor::bookEffMEProfileFromTH1(), SiPixelDataQuality::bookGlobalQualityFlag(), TrackingQualityChecker::bookGlobalStatus(), GEMCheckGeometry::bookHistograms(), L1TdeStage2EMTF::bookHistograms(), TrackingTruthValid::bookHistograms(), L1TStage2EMTF::bookHistograms(), HLTTauDQMPathSummaryPlotter::bookHistograms(), L1TStage2MuonComp::bookHistograms(), L1TStage2RegionalMuonCandComp::bookHistograms(), L1TStage2uGMT::bookHistograms(), HLTTauDQMPathPlotter::bookHistograms(), DQMMessageLogger::bookHistograms(), MonitorLTC::bookHistograms(), DQMHcalPhiSymAlCaReco::bookHistograms(), QcdPhotonsDQM::bookHistograms(), L1TdeGCT::bookHistograms(), L1TDEMON::bookHistograms(), BasicHepMCValidation::bookHistograms(), HTMHTAnalyzer::bookHistograms(), MuonRecoAnalyzer::bookHistograms(), MuonTiming::bookHistograms(), HiggsValidation::bookHistograms(), TopDiLeptonDQM::bookHistograms(), SegmentTrackAnalyzer::bookHistograms(), LaserAlignmentT0ProducerDQM::bookHistograms(), L1TDTTF::bookHistograms(), L1TDTTPG::bookHistograms(), PSMonitor::bookHistograms(), L1TFED::bookHistograms(), SiPixelTrackResidualSource::bookHistograms(), MuonRecoOneHLT::bookHistograms(), TauValidation::bookHistograms(), L1TRPCTF::bookHistograms(), QcdUeDQM::bookHistograms(), L1TGMT::bookHistograms(), L1TRate::bookHistograms(), L1TdeStage2CaloLayer2::bookHistograms(), L1TRate_Offline::bookHistograms(), L1TGT::bookHistograms(), L1TStage2BMTF::bookHistograms(), SiPixelClusterSource::bookHistograms(), LogMessageMonitor::bookHistograms(), L1TCSCTF::bookHistograms(), EwkElecTauHistManager::bookHistograms(), JetMETHLTOfflineSource::bookHistograms(), EmDQM::bookHistograms(), CSCOfflineMonitor::bookHistograms(), JetAnalyzer::bookHistograms(), L1TSync::bookHistograms(), EmDQMReco::bookHistograms(), RPCEfficiency::bookHistograms(), HLTObjectsMonitor::bookHistograms(), L1TSync_Offline::bookHistograms(), L1GtHwValidation::bookHistograms(), L1TBPTX::bookHistograms(), QcdLowPtDQM::bookHistograms(), BeamHaloAnalyzer::bookHistograms(), EwkMuTauHistManager::bookHistograms(), PackedCandidateTrackValidator::bookHistograms(), DQMProvInfo::bookHistogramsEventInfo(), DQMProvInfo::bookHistogramsLhcInfo(), DTNoiseAnalysisTest::bookHistos(), DTSegmentAnalysisTest::bookHistos(), DTResolutionTest::bookHistos(), DTOccupancyTest::bookHistos(), DTEfficiencyTest::bookHistos(), DTDataIntegrityTask::bookHistos(), dqm::TrackAnalyzer::bookHistosForHitProperties(), METAnalyzer::bookMonitorElement(), DTLocalTriggerBaseTest::bookSectorHistos(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripQualityChecker::bookStatus(), SiPixelPhase1Summary::bookSummaries(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), TrackingCertificationInfo::bookTrackingCertificationMEs(), DTTriggerEfficiencyTest::bookWheelHistos(), DTRunConditionVarClient::bookWheelHistos(), DTTriggerEfficiencyTask::bookWheelHistos(), DTLocalTriggerBaseTest::bookWheelHistos(), SiStripMonitorDigi::createMEs(), SiStripMonitorCluster::createMEs(), hcaldqm::ContainerSingle1D::customize(), hcaldqm::ContainerSingle2D::customize(), hcaldqm::Container2D::customize(), hcaldqm::Container1D::customize(), HltSusyExoPostProcessor::dqmEndJob(), RPCDcsInfoClient::dqmEndJob(), RPCEfficiencyPerRingLayer::dqmEndJob(), RPCEfficiencySecond::dqmEndJob(), BDHadronTrackMonitoringHarvester::dqmEndJob(), RPCEfficiencyShiftHisto::dqmEndJob(), L1EmulatorErrorFlagClient::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), MuonAlignmentSummary::dqmEndJob(), RPCEventSummary::dqmEndLuminosityBlock(), MuonAlignment::endJob(), L1ScalersClient::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), DQMDcsInfoClient::endRun(), SiPixelActionExecutor::fillFEDErrorSummary(), HLTScalersClient::HLTScalersClient(), TrackBuildingAnalyzer::initHisto(), L1ScalersClient::L1ScalersClient(), RPCFEDIntegrity::labelBins(), rpcdqm::utils::labelXAxisSector(), rpcdqm::utils::labelXAxisSegment(), rpcdqm::utils::labelYAxisRing(), rpcdqm::utils::labelYAxisRoll(), RPCDataCertification::myBooker(), RPCDaqInfo::myBooker(), RPCDCSSummary::myBooker(), RPCChamberQuality::myBooker(), HLTTauPostProcessor::plotFilterEfficiencies(), L1TDTTPGClient::setMapPhLabel(), L1TDTTPG::setMapPhLabel(), L1TDTTPGClient::setMapThLabel(), L1TDTTPG::setMapThLabel(), L1TDTTF::setQualLabel(), L1TDTTFClient::setQualLabel(), DTTimeEvolutionHisto::setTimeSlotValue(), L1TDTTF::setWheelLabel(), L1TDTTFClient::setWheelLabel(), ShiftFillLast(), B2GDoubleLeptonHLTValidation::triggerBinLabels(), B2GSingleLeptonHLTValidation::triggerBinLabels(), B2GHadronicHLTValidation::triggerBinLabels(), TopSingleLeptonHLTValidation::triggerBinLabels(), TopDiLeptonHLTValidation::triggerBinLabels(), and DTTimeEvolutionHisto::updateTimeSlot().

925 {
926  update();
927  if ( getAxis(__PRETTY_FUNCTION__, axis)->GetNbins() >= bin )
928  {
929  getAxis(__PRETTY_FUNCTION__, axis)
930  ->SetBinLabel(bin, label.c_str());
931  }
932  else
933  {
934 #if WITHOUT_CMS_FRAMEWORK
935  std::cout
936 #else
937  edm::LogWarning("MonitorElement")
938 #endif
939  << "*** MonitorElement: WARNING:"
940  <<"setBinLabel: attempting to set label of non-existent bin number for ME: "<< getFullname() << " \n";
941  }
942 }
void update(void)
Mark the object updated.
const std::string getFullname(void) const
get full name of ME including Pathname
bin
set the eta bin as selection string.
TAxis * getAxis(const char *func, int axis) const
void MonitorElement::setEfficiencyFlag ( void  )
inline
void MonitorElement::setEntries ( double  nentries)

set # of entries

Definition at line 915 of file MonitorElement.cc.

References accessRootObject(), and update().

Referenced by PFClient::createProfilePlots(), PFClient::createProjectionPlots(), PFClient_JetRes::createResolutionPlots(), PhotonOfflineClient::dividePlots(), CSCMonitorObject::SetEntries(), ecaldqm::MESetTrend::shift_(), and ShiftFillLast().

916 {
917  update();
918  accessRootObject(__PRETTY_FUNCTION__, 1)
919  ->SetEntries(nentries);
920 }
TH1 * accessRootObject(const char *func, int reqdim) const
void update(void)
Mark the object updated.
void MonitorElement::setLumi ( uint32_t  ls)
inlineprivate
void MonitorElement::setLumiFlag ( void  )
inline
void MonitorElement::setResetMe ( bool  )
inline

specify whether ME should be reset at end of monitoring cycle (default:false); (typically called by Sources that control the original ME)

Definition at line 146 of file MonitorElement.h.

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

Referenced by LaserDQM::initMonitors(), and HLXMonitor::SetupHists().

uint32_t flags
Definition: DQMNet.h:99
static const uint32_t DQM_PROP_RESET
Definition: DQMNet.h:57
DQMNet::CoreObject data_
void MonitorElement::setTitle ( const std::string &  title)
void MonitorElement::ShiftFillLast ( double  y,
double  ye = 0.,
int32_t  xscale = 1 
)

shift bin to the left and fill last bin with new entry 1st argument is y value, 2nd argument is y error (default 0) can be used with 1D or profile histograms only

Definition at line 343 of file MonitorElement.cc.

References a, b, edmScanValgrind::buffer, DQM_KIND_TH1D, DQM_KIND_TH1F, DQM_KIND_TH1S, getBinContent(), getBinError(), getEntries(), getNbinsX(), mps_fire::i, incompatible(), diffTreeTool::index, createfilelist::int, kind(), RecoTauDiscriminantConfiguration::mean, N, pileupCalc::nbins, alignCSCRings::s, setBinContent(), setBinError(), setBinLabel(), setEntries(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, and update().

Referenced by BeamConditionsMonitor::endLuminosityBlock(), and BeamMonitor::FitAndFill().

344 {
345  update();
346  if (kind() == DQM_KIND_TH1F
347  || kind() == DQM_KIND_TH1S
348  || kind() == DQM_KIND_TH1D)
349  {
350  int nbins = getNbinsX();
351  int entries = (int)getEntries();
352  // first fill bins from left to right
353  int index = entries + 1 ;
354  int xlow = 2 ; int xup = nbins ;
355  // if more entries than bins then start shifting
356  if ( entries >= nbins )
357  {
358  index = nbins;
359  xlow = entries - nbins + 3 ; xup = entries+1 ;
360  // average first bin
361  double y1 = getBinContent(1);
362  double y2 = getBinContent(2);
363  double y1err = getBinError(1);
364  double y2err = getBinError(2);
365  double N = entries - nbins + 1.;
366  if ( ye == 0. || y1err == 0. || y2err == 0.)
367  {
368  // for errors zero calculate unweighted mean and its error
369  double sum = N*y1 + y2;
370  y1 = sum/(N+1.) ;
371  // FIXME check if correct
372  double s=(N+1.)*(N*y1*y1 + y2*y2) - sum*sum;
373  if (s>=0.)
374  y1err = sqrt(s)/(N+1.);
375  else
376  y1err = 0.;
377  }
378  else
379  {
380  // for errors non-zero calculate weighted mean and its error
381  double denom = (1./y1err + 1./y2err);
382  double mean = (y1/y1err + y2/y2err)/denom;
383  // FIXME check if correct
384  y1err = sqrt(((y1-mean)*(y1-mean)/y1err +
385  (y2-mean)*(y2-mean)/y2err)/denom/2.);
386  y1 = mean; // set y1 to mean for filling below
387  }
388  setBinContent(1,y1);
389  setBinError(1,y1err);
390  // shift remaining bins to the left
391  for ( int i = 3; i <= nbins ; i++)
392  {
395  }
396  }
397  // fill last bin with new values
398  setBinContent(index,y);
399  setBinError(index,ye);
400  // set entries
401  setEntries(entries+1);
402  // set axis labels and reset drawing option
403  char buffer [10];
404  sprintf (buffer, "%d", xlow*xscale);
405  std::string a(buffer); setBinLabel(2,a);
406  sprintf (buffer, "%d", xup*xscale);
407  std::string b(buffer); setBinLabel(nbins,b);
408  setBinLabel(1,"av.");
409  }
410  else
411  incompatible(__PRETTY_FUNCTION__);
412 }
void incompatible(const char *func) const
void setBinContent(int binx, double content)
set content of bin (1-D)
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
void update(void)
Mark the object updated.
double getEntries(void) const
get # of entries
T sqrt(T t)
Definition: SSEVec.h:18
void setBinError(int binx, double error)
set uncertainty on content of bin (1-D)
Kind kind(void) const
Get the type of the monitor element.
void setEntries(double nentries)
set # of entries
#define N
Definition: blowfish.cc:9
double getBinError(int binx) const
get uncertainty on content of bin (1-D) - See TH1::GetBinError for details
double b
Definition: hdecay.h:120
double getBinContent(int binx) const
get content of bin (1-D)
double a
Definition: hdecay.h:121
int getNbinsX(void) const
get # of bins in X-axis
void MonitorElement::softReset ( void  )

reset contents (does not erase contents permanently) (makes copy of current contents; will be subtracted from future contents)

Definition at line 1023 of file MonitorElement.cc.

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

Referenced by HLXMonitor::FillHistograms(), HLXMonitor::ResetAll(), and DQMStore::softReset().

1024 {
1025  update();
1026 
1027  // Create the reference object the first time this is called.
1028  // On subsequent calls accumulate the current value to the
1029  // reference, and then reset the current value. This way the
1030  // future contents will have the reference "subtracted".
1031  if (kind() == DQM_KIND_TH1F)
1032  {
1033  TH1F *orig = static_cast<TH1F *>(object_);
1034  TH1F *r = static_cast<TH1F *>(refvalue_);
1035  if (! r)
1036  {
1037  refvalue_ = r = (TH1F*)orig->Clone((std::string(orig->GetName()) + "_ref").c_str());
1038  r->SetDirectory(0);
1039  r->Reset();
1040  }
1041 
1042  r->Add(orig);
1043  orig->Reset();
1044  }
1045  else if (kind() == DQM_KIND_TH1S)
1046  {
1047  TH1S *orig = static_cast<TH1S *>(object_);
1048  TH1S *r = static_cast<TH1S *>(refvalue_);
1049  if (! r)
1050  {
1051  refvalue_ = r = (TH1S*)orig->Clone((std::string(orig->GetName()) + "_ref").c_str());
1052  r->SetDirectory(0);
1053  r->Reset();
1054  }
1055 
1056  r->Add(orig);
1057  orig->Reset();
1058  }
1059  else if (kind() == DQM_KIND_TH1D)
1060  {
1061  TH1D *orig = static_cast<TH1D *>(object_);
1062  TH1D *r = static_cast<TH1D *>(refvalue_);
1063  if (! r)
1064  {
1065  refvalue_ = r = (TH1D*)orig->Clone((std::string(orig->GetName()) + "_ref").c_str());
1066  r->SetDirectory(0);
1067  r->Reset();
1068  }
1069 
1070  r->Add(orig);
1071  orig->Reset();
1072  }
1073  else if (kind() == DQM_KIND_TH2F)
1074  {
1075  TH2F *orig = static_cast<TH2F *>(object_);
1076  TH2F *r = static_cast<TH2F *>(refvalue_);
1077  if (! r)
1078  {
1079  refvalue_ = r = (TH2F*)orig->Clone((std::string(orig->GetName()) + "_ref").c_str());
1080  r->SetDirectory(0);
1081  r->Reset();
1082  }
1083 
1084  r->Add(orig);
1085  orig->Reset();
1086  }
1087  else if (kind() == DQM_KIND_TH2S)
1088  {
1089  TH2S *orig = static_cast<TH2S *>(object_);
1090  TH2S *r = static_cast<TH2S *>(refvalue_);
1091  if (! r)
1092  {
1093  refvalue_ = r = (TH2S*)orig->Clone((std::string(orig->GetName()) + "_ref").c_str());
1094  r->SetDirectory(0);
1095  r->Reset();
1096  }
1097 
1098  r->Add(orig);
1099  orig->Reset();
1100  }
1101  else if (kind() == DQM_KIND_TH2D)
1102  {
1103  TH2D *orig = static_cast<TH2D *>(object_);
1104  TH2D *r = static_cast<TH2D *>(refvalue_);
1105  if (! r)
1106  {
1107  refvalue_ = r = (TH2D*)orig->Clone((std::string(orig->GetName()) + "_ref").c_str());
1108  r->SetDirectory(0);
1109  r->Reset();
1110  }
1111 
1112  r->Add(orig);
1113  orig->Reset();
1114  }
1115  else if (kind() == DQM_KIND_TH3F)
1116  {
1117  TH3F *orig = static_cast<TH3F *>(object_);
1118  TH3F *r = static_cast<TH3F *>(refvalue_);
1119  if (! r)
1120  {
1121  refvalue_ = r = (TH3F*)orig->Clone((std::string(orig->GetName()) + "_ref").c_str());
1122  r->SetDirectory(0);
1123  r->Reset();
1124  }
1125 
1126  r->Add(orig);
1127  orig->Reset();
1128  }
1129  else if (kind() == DQM_KIND_TPROFILE)
1130  {
1131  TProfile *orig = static_cast<TProfile *>(object_);
1132  TProfile *r = static_cast<TProfile *>(refvalue_);
1133  if (! r)
1134  {
1135  refvalue_ = r = (TProfile*)orig->Clone((std::string(orig->GetName()) + "_ref").c_str());
1136  r->SetDirectory(0);
1137  r->Reset();
1138  }
1139 
1140  addProfiles(r, orig, r, 1, 1);
1141  orig->Reset();
1142  }
1143  else if (kind() == DQM_KIND_TPROFILE2D)
1144  {
1145  TProfile2D *orig = static_cast<TProfile2D *>(object_);
1146  TProfile2D *r = static_cast<TProfile2D *>(refvalue_);
1147  if (! r)
1148  {
1149  refvalue_ = r = (TProfile2D*)orig->Clone((std::string(orig->GetName()) + "_ref").c_str());
1150  r->SetDirectory(0);
1151  r->Reset();
1152  }
1153 
1154  addProfiles(r, orig, r, 1, 1);
1155  orig->Reset();
1156  }
1157  else
1158  incompatible(__PRETTY_FUNCTION__);
1159 }
void incompatible(const char *func) const
void update(void)
Mark the object updated.
void addProfiles(TProfile *h1, TProfile *h2, TProfile *sum, float c1, float c2)
Kind kind(void) const
Get the type of the monitor element.
const uint32_t MonitorElement::streamId ( void  ) const
inline

Definition at line 393 of file MonitorElement.h.

References DQMNet::CoreObject::streamId.

Referenced by MonitorElement().

393 {return data_.streamId;}
DQMNet::CoreObject data_
uint32_t streamId
Definition: DQMNet.h:104
std::string MonitorElement::tagLabelString ( void  ) const

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

Definition at line 538 of file MonitorElement.cc.

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

539 {
540  char buf[32];
542  size_t len = sprintf(buf, "t=%" PRIu32, data_.tag);
543 
544  result.reserve(6 + 2*data_.objname.size() + len);
545  result += '<'; result += data_.objname; result += '>';
546  result += buf;
547  result += '<'; result += '/'; result += data_.objname; result += '>';
548  return result;
549 }
uint32_t tag
Definition: DQMNet.h:100
std::string objname
Definition: DQMNet.h:107
DQMNet::CoreObject data_
std::string MonitorElement::tagString ( void  ) const

return tagged value of ME in string format (eg. <name>f=3.14151926</name> for double numbers); relevant only for sending scalar or string MEs over TSocket

Definition at line 525 of file MonitorElement.cc.

References data_, DQMNet::CoreObject::objname, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, heppy_batch::val, and valueString().

526 {
529  result.reserve(6 + 2*data_.objname.size() + val.size());
530  result += '<'; result += data_.objname; result += '>';
531  result += val;
532  result += '<'; result += '/'; result += data_.objname; result += '>';
533  return result;
534 }
std::string objname
Definition: DQMNet.h:107
std::string valueString(void) const
DQMNet::CoreObject data_
void MonitorElement::update ( void  )
inline

Mark the object updated.

Definition at line 141 of file MonitorElement.h.

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

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), addQReport(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), copyFunctions(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), doFill(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), Fill(), progressbar.ProgressBar::finish(), BeamMonitor::FitAndFill(), getRefRootObject(), getRefTH1(), getRefTH1D(), getRefTH1F(), getRefTH1S(), getRefTH2D(), getRefTH2F(), getRefTH2S(), getRefTH3F(), getRefTProfile(), getRefTProfile2D(), getRootObject(), getTH1(), getTH1D(), getTH1F(), getTH1S(), getTH2D(), getTH2F(), getTH2S(), getTH3F(), getTProfile(), getTProfile2D(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Reset(), Vispa.Gui.FindDialog.FindDialog::reset(), runQTests(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), setAxisRange(), setAxisTimeDisplay(), setAxisTimeFormat(), setAxisTimeOffset(), setAxisTitle(), setBinContent(), setBinEntries(), setBinError(), setBinLabel(), setEntries(), Vispa.Gui.VispaWidget.VispaWidget::setText(), setTitle(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), ShiftFillLast(), softReset(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

uint32_t flags
Definition: DQMNet.h:99
DQMNet::CoreObject data_
static const uint32_t DQM_PROP_NEW
Definition: DQMNet.h:59
void MonitorElement::updateQReportStats ( void  )
private

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

Definition at line 1429 of file MonitorElement.cc.

References data_, DQMNet::DQM_PROP_REPORT_ERROR, DQMNet::DQM_PROP_REPORT_OTHER, DQMNet::DQM_PROP_REPORT_WARN, MillePedeFileConverter_cfg::e, dqm::qstatus::ERROR, DQMNet::CoreObject::flags, mps_fire::i, DQMNet::CoreObject::qreports, dqm::qstatus::STATUS_OK, and dqm::qstatus::WARNING.

Referenced by runQTests().

1430 {
1431  data_.flags &= ~DQMNet::DQM_PROP_REPORT_ALARM;
1432  for (size_t i = 0, e = data_.qreports.size(); i < e; ++i)
1433  switch (data_.qreports[i].code)
1434  {
1436  break;
1437  case dqm::qstatus::WARNING:
1439  break;
1440  case dqm::qstatus::ERROR:
1442  break;
1443  default:
1445  break;
1446  }
1447 }
static const uint32_t DQM_PROP_REPORT_WARN
Definition: DQMNet.h:48
QReports qreports
Definition: DQMNet.h:108
Definition: DQMNet.h:23
uint32_t flags
Definition: DQMNet.h:99
static const int WARNING
static const uint32_t DQM_PROP_REPORT_ERROR
Definition: DQMNet.h:47
static const uint32_t DQM_PROP_REPORT_OTHER
Definition: DQMNet.h:49
DQMNet::CoreObject data_
static const int STATUS_OK
static const int ERROR
std::string MonitorElement::valueString ( void  ) const

returns value of ME in string format (eg. "f = 3.14151926" for double numbers); relevant only for scalar or string MEs

Definition at line 506 of file MonitorElement.cc.

References DQM_KIND_INT, DQM_KIND_REAL, DQM_KIND_STRING, incompatible(), kind(), packScalarData(), mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by TrackingUtility::getMEValue(), SiStripUtility::getMEValue(), and tagString().

507 {
509  if (kind() == DQM_KIND_INT)
510  packScalarData(result, "i=");
511  else if (kind() == DQM_KIND_REAL)
512  packScalarData(result, "f=");
513  else if (kind() == DQM_KIND_STRING)
514  packScalarData(result, "s=");
515  else
516  incompatible(__PRETTY_FUNCTION__);
517 
518  return result;
519 }
void incompatible(const char *func) const
void packScalarData(std::string &into, const char *prefix) const
convert scalar data into a string.
Kind kind(void) const
Get the type of the monitor element.
bool MonitorElement::wasUpdated ( void  ) const
inline

true if ME was updated in last monitoring cycle

Definition at line 137 of file MonitorElement.h.

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

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

138  { return data_.flags & DQMNet::DQM_PROP_NEW; }
uint32_t flags
Definition: DQMNet.h:99
DQMNet::CoreObject data_
static const uint32_t DQM_PROP_NEW
Definition: DQMNet.h:59

Friends And Related Function Documentation

friend class DQMService
friend

Definition at line 40 of file MonitorElement.h.

friend class DQMStore
friend

Definition at line 39 of file MonitorElement.h.

Member Data Documentation

DQMNet::CoreObject MonitorElement::data_
private
TH1* MonitorElement::object_
private
std::vector<QReport> MonitorElement::qreports_
private
TH1* MonitorElement::reference_
private
TH1* MonitorElement::refvalue_
private
Scalar MonitorElement::scalar_
private

Definition at line 70 of file MonitorElement.h.

Referenced by doFill(), Fill(), initialise(), MonitorElement(), packScalarData(), and Reset().