1 #if !WITHOUT_CMS_FRAMEWORK
8 # include "classlib/utils/Regexp.h"
9 # include "classlib/utils/Error.h"
14 #include "TBufferFile.h"
60 publishFrequency_(5.0)
77 if (host !=
"" && port > 0)
81 net_->updateToCollector(host, port);
89 filter_ =
new lat::Regexp(filter);
92 <<
"Invalid 'filter' parameter value '" << filter <<
"':"
93 <<
" bad regular expression syntax at character "
100 <<
"Invalid regular expression 'filter' parameter value '"
101 << filter <<
"': " << e.explain();
118 double vtime = version * 1
e-9;
126 std::set<std::string> seen;
131 bool updated =
false;
134 DQMStore::MEMap::iterator
i,
e;
148 seen.insert(fullpath);
161 assert(o.
qdata.empty());
174 TBufferFile buffer(TBufferFile::kWrite);
175 buffer.WriteObject(me.
object_);
179 buffer.WriteObjectAny(0, 0);
180 o.
rawdata.resize(buffer.Length());
181 memcpy(&o.
rawdata[0], buffer.Buffer(), buffer.Length());
188 net_->updateLocalObject(o);
196 if (
net_->removeLocalExcept(seen))
204 net_->sendLocalChanges();
228 #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)
void watchPostSourceEvent(PostSourceEvent::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 &)
static void restrictDQMAccessS(edm::StreamID)
std::vector< unsigned char > DataBlob
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 releaseDQMAccessS(edm::StreamID)
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 watchPreSourceEvent(PreSourceEvent::slot_type const &iSlot)