Definition at line 20 of file MonitorElement.cc.
References h, and raiseDQMError().
Referenced by dqm::impl::MonitorElement::accessRootObject().
23 "Method '%s' cannot be invoked on monitor" 24 " element '%s' because it is not a ROOT object.",
28 auto *
h =
static_cast<TH1 *
>(tobj);
29 int ndim = h->GetDimension();
30 if (reqdim < 0 || reqdim > ndim)
32 "Method '%s' cannot be invoked on monitor" 33 " element '%s' because it requires %d dimensions; this" 34 " object of type '%s' has %d dimensions",
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
void raiseDQMError(const char *context, const char *fmt,...)