1 #if !WITHOUT_CMS_FRAMEWORK
8 # include "classlib/utils/Regexp.h"
9 # include "classlib/utils/Error.h"
14 #include "TBufferFile.h"
52 publishFrequency_(5.0)
69 if (host !=
"" && port > 0)
73 net_->updateToCollector(host, port);
81 filter_ =
new lat::Regexp(filter);
84 <<
"Invalid 'filter' parameter value '" << filter <<
"':"
85 <<
" bad regular expression syntax at character "
92 <<
"Invalid regular expression 'filter' parameter value '"
93 << filter <<
"': " << e.explain();
110 double vtime = version * 1
e-9;
118 std::set<std::string> seen;
123 bool updated =
false;
126 DQMStore::MEMap::iterator
i,
e;
140 seen.insert(fullpath);
153 assert(o.
qdata.empty());
166 TBufferFile buffer(TBufferFile::kWrite);
167 buffer.WriteObject(me.
object_);
171 buffer.WriteObjectAny(0, 0);
172 o.
rawdata.resize(buffer.Length());
173 memcpy(&o.
rawdata[0], buffer.Buffer(), buffer.Length());
180 net_->updateLocalObject(o);
188 if (
net_->removeLocalExcept(seen))
196 net_->sendLocalChanges();
220 #endif // !WITHOUT_CMS_FRAMEWORK
T getUntrackedParameter(std::string const &, T const &) const
static void releaseDQMAccessM(const edm::ModuleDescription &)
static std::recursive_mutex s_mutex
void watchPostEndJob(PostEndJob::slot_type const &iSlot)
void watchPostModule(PostModule::slot_type const &iSlot)
void watchPreSourceConstruction(PreSourceConstruction::slot_type const &iSlot)
void watchPostSourceConstruction(PostSourceConstruction::slot_type const &iSlot)
const std::string * dirname
void watchPreModule(PreModule::slot_type const &iSlot)
void packScalarData(std::string &into, const char *prefix) const
convert scalar data into a string.
bool wasUpdated(void) const
true if ME was updated in last monitoring cycle
void watchPostProcessEvent(PostProcessEvent::slot_type const &iSlot)
static void releaseDQMAccess(void)
Release access to the DQM core.
static void restrictDQMAccessM(const edm::ModuleDescription &)
std::vector< unsigned char > DataBlob
void watchPreSource(PreSource::slot_type const &iSlot)
static size_t dqmhash(const void *key, size_t keylen)
static void restrictDQMAccess(void)
Restrict access to the DQM core.
Kind kind(void) const
Get the type of the monitor element.
~DQMScope(void)
Release access lock to the DQM core.
unsigned long long uint64_t
static void packQualityData(std::string &into, const QReports &qr)
DQMService(const edm::ParameterSet &pset, edm::ActivityRegistry &ar)
void flush(const edm::Event &, const edm::EventSetup &)
void watchPostSource(PostSource::slot_type const &iSlot)