30 #include <boost/algorithm/string/join.hpp> 86 return (
time.value() >> 32) + 1
e-6 * (
time.value() & 0xffffffff);
93 gettimeofday(&
now,
nullptr);
144 gethostname(hostname, 64);
148 char*
pwd = getcwd(
nullptr, 0);
163 std::vector<std::string> evSelectionList;
169 std::for_each(evSelectionList.begin(), evSelectionList.end(), [](
std::string&
s) {
171 s = squote +
s + squote;
176 if (evSelection.empty()) {
180 ibooker.
bookString(
"eventSelection", evSelection);
196 gettimeofday(&
now,
nullptr);
MonitorElement * hostName_
of event processed so far
MonitorElement * workingDir_
DQM "name" of the job (eg, Hcal or DT)
T getParameter(std::string const &) const
MonitorElement * bookFloat(TString const &name, FUNC onbooking=NOOP())
MonitorElement * eventTimeStamp_
virtual void setCurrentFolder(std::string const &fullpath)
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
~DQMEventInfo() override=default
Destructor.
#define DEFINE_FWK_MODULE(type)
ModuleDescription const & moduleDescription() const
MonitorElement * processId_
Number of collector updates (TBD)
MonitorElement * processStartTimeStamp_
The PID associated with this job.
ParameterSet const & getParameterSet(std::string const &) const
MonitorElement * errSummaryEtaPhi_
Subdetector-specific error summary (float)
MonitorElement * bookString(TString const &name, TString const &value, FUNC onbooking=NOOP())
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * cmsswVer_
Current working directory of the job.
MonitorElement * eventId_
UTC time of the run start.
std::string eventInfoFolder_
MonitorElement * lumisecId_
MonitorElement * runStartTimeStamp_
DQMEventInfo(const edm::ParameterSet &ps)
Constructor.
MonitorElement * processEvents_
Avg # of events in programmable window (default: 5 min)
MonitorElement * processLatency_
The UTC time of the last event.
MonitorElement * processName_
Hostname of the local machine.
MonitorElement * errSummary_
DQM patch version for this job.
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
ParameterSet const & getProcessParameterSetContainingModule(ModuleDescription const &moduleDescription)
std::string getReleaseVersion()
static std::string join(char **cmd)
MonitorElement * nUpdates_
These MEs are either static or updated upon each analyze() call.
MonitorElement * bookInt(TString const &name, FUNC onbooking=NOOP())
MonitorElement * processEventRate_
Time elapsed since the last event.
Timestamp const & beginTime() const
MonitorElement * dqmPatch_
CMSSW version run for this job.
MonitorElement * errSummarySegment_[10]
Subdetector-specific etaPhi summary (float)
MonitorElement * processTimeStamp_
The UTC time of the first event processed.
static double stampToReal(edm::Timestamp time)
std::string subsystemname_