Definition at line 16 of file MonitorElement.cc.
References Exception, EcalMonitorTask_cff::func, h, and Skims_PA_cff::name.
Referenced by dqm::impl::MonitorElement::accessRootObject().
19 <<
"' cannot be invoked on monitor" 21 <<
name <<
"' because it is not a ROOT object.";
23 auto *
h =
static_cast<TH1 *
>(tobj);
24 int ndim =
h->GetDimension();
25 if (reqdim < 0 || reqdim > ndim)
27 <<
"' cannot be invoked on monitor" 29 <<
name <<
"' because it requires " << reqdim
30 <<
" dimensions; this" 32 <<
typeid(*h).name() <<
"' has " << ndim <<
" dimensions";
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.