Go to the documentation of this file.
33 #include <boost/algorithm/string/join.hpp>
89 return (
time.value() >> 32) + 1
e-6 * (
time.value() & 0xffffffff);
96 gettimeofday(&
now,
nullptr);
120 runId_ = ibooker.bookInt(
"iRun");
124 eventId_ = ibooker.bookInt(
"iEvent");
138 nUpdates_ = ibooker.bookInt(
"processUpdates");
149 gethostname(hostname, 64);
151 hostName_ = ibooker.bookString(
"hostName", hostname);
153 char*
pwd = getcwd(
nullptr, 0);
160 ibooker.setCurrentFolder(subfolder);
168 std::vector<std::string> evSelectionList;
174 std::for_each(evSelectionList.begin(), evSelectionList.end(), [](
std::string&
s) {
176 s = squote +
s + squote;
181 if (evSelection.empty()) {
185 ibooker.bookString(
"eventSelection", evSelection);
201 gettimeofday(&
now,
nullptr);
static double stampToReal(edm::Timestamp time)
MonitorElement * processEvents_
Avg # of events in programmable window (default: 5 min)
MonitorElement * errSummarySegment_[10]
Subdetector-specific etaPhi summary (float)
DQMEventInfo(const edm::ParameterSet &ps)
Constructor.
MonitorElement * runStartTimeStamp_
static std::string join(char **cmd)
MonitorElement * eventTimeStamp_
ParameterSet const & getProcessParameterSetContainingModule(ModuleDescription const &moduleDescription)
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * hostName_
MonitorElement * processId_
Number of collector updates (TBD)
MonitorElement * nUpdates_
These MEs are either static or updated upon each analyze() call.
dqm::implementation::IBooker IBooker
#define DEFINE_FWK_MODULE(type)
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
MonitorElement * processTimeStamp_
The UTC time of the first event processed.
std::string eventInfoFolder_
ModuleDescription const & moduleDescription() const
MonitorElement * processLatency_
The UTC time of the last event.
MonitorElement * processEventRate_
Time elapsed since the last event.
MonitorElement * cmsswVer_
Current working directory of the job.
MonitorElement * errSummaryEtaPhi_
Subdetector-specific error summary (float)
MonitorElement * processName_
Hostname of the local machine.
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
T getParameter(std::string const &) const
MonitorElement * lumisecId_
MonitorElement * errSummary_
DQM patch version for this job.
std::string subsystemname_
std::string getReleaseVersion()
MonitorElement * processStartTimeStamp_
The PID associated with this job.
MonitorElement * eventId_
UTC time of the run start.
MonitorElement * workingDir_
DQM "name" of the job (eg, Hcal or DT)
MonitorElement * dqmPatch_
CMSSW version run for this job.
Timestamp const & beginTime() const
~DQMEventInfo() override
Destructor.
ParameterSet const & getParameterSet(std::string const &) const