22 {
return (time.
value() >> 32) + 1
e-6*(time.
value() & 0xffffffff); }
25 {
return time.tv_sec + 1
e-6*time.tv_usec; }
31 gettimeofday(&now, 0);
85 std::string subfolder = eventInfoFolder_ +
"/reportSummaryContents" ;
103 std::vector<std::string> evSelectionList;
105 evSelectionList = evSelectionPSet.
getParameter<std::vector<std::string> >(
"SelectEvents");
106 for ( std::vector<std::string>::iterator it = evSelectionList.begin(); it < evSelectionList.end(); it++ )
107 evSelection +=
"'"+ *it +
"', ";
109 evSelection.resize(evSelection.length()-2);
132 gettimeofday(&now, 0);
LuminosityBlockID id() const
T getParameter(std::string const &) const
EventNumber_t event() const
MonitorElement * hostName_
of event processed so far
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * workingDir_
DQM "name" of the job (eg, Hcal or DT)
MonitorElement * eventTimeStamp_
edm::ParameterSet parameters_
MonitorElement * processId_
Number of collector updates (TBD)
MonitorElement * processStartTimeStamp_
The PID associated with this job.
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
MonitorElement * bookFloat(const char *name)
Book float.
MonitorElement * cmsswVer_
Current working directory of the job.
MonitorElement * eventId_
UTC time of the run start.
std::string eventInfoFolder_
MonitorElement * bookString(const char *name, const char *value)
Book string.
ParameterSet const & getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
MonitorElement * lumisecId_
void beginRun(const edm::Run &r, const edm::EventSetup &c)
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.
std::string getReleaseVersion()
TimeValue_t value() const
ParameterSet const & getProcessParameterSet()
ParameterSet const & getParameterSet(std::string const &) const
MonitorElement * nUpdates_
These MEs are either static or updated upon each analyze() call.
LuminosityBlockNumber_t luminosityBlock() const
MonitorElement * processEventRate_
Time elapsed since the last event.
virtual ~DQMEventInfo()
Destructor.
Timestamp const & beginTime() const
void beginLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &c)
MonitorElement * bookInt(const char *name)
Book int.
MonitorElement * processTimeStamp_
The UTC time of the first event processed.
static double stampToReal(edm::Timestamp time)
edm::Timestamp time() const
void setCurrentFolder(const std::string &fullpath)