#include <DQMOfflineHLTEventInfoClient.h>
DQMOfflineHLTEventInfoClient::DQMOfflineHLTEventInfoClient |
( |
const edm::ParameterSet & |
ps | ) |
|
DQMOfflineHLTEventInfoClient::~DQMOfflineHLTEventInfoClient |
( |
| ) |
|
|
virtual |
void DQMOfflineHLTEventInfoClient::beginJob |
( |
void |
| ) |
|
|
protectedvirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 121 of file DQMOfflineHLTEventInfoClient.cc.
References DQMStore::book2D(), DQMStore::bookFloat(), gather_cfg::cout, dbe_, MonitorElement::Fill(), DQMStore::get(), cmsCodeRules.cppFunctionSkipper::operator, DQMStore::removeElement(), MonitorElement::setAxisTitle(), and DQMStore::setCurrentFolder().
const std::string & getName(void) const
get name of ME
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
MonitorElement * reportSummaryMap_
MonitorElement * bookFloat(const char *name)
Book float.
MonitorElement * CertificationSummary_
void removeElement(const std::string &name)
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
MonitorElement * CertificationSummaryMap_
MonitorElement * reportSummary_
prescale on number of events
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void setCurrentFolder(const std::string &fullpath)
void DQMOfflineHLTEventInfoClient::endJob |
( |
void |
| ) |
|
|
protectedvirtual |
EndRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 222 of file DQMOfflineHLTEventInfoClient.cc.
References dbe_, MonitorElement::Fill(), DQMStore::get(), MonitorElement::getFloatValue(), m, and DQMStore::setCurrentFolder().
224 float summarySum = 0;
225 float reportSummary = 0;
243 for (
int m = 0;
m < nSubsystems;
m++) {
248 if(nSubsystems > 0) {
249 reportSummary = summarySum / nSubsystems;;
261 float electronValue = 1;
262 if(HLT_Electron) electronValue = HLT_Electron->
getFloatValue();
264 float photonValue = 1;
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * reportSummaryMap_
std::vector< MonitorElement * > reportSummaryContent_
MonitorElement * CertificationSummary_
double getFloatValue(void) const
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
MonitorElement * CertificationSummaryMap_
MonitorElement * reportSummary_
prescale on number of events
void setCurrentFolder(const std::string &fullpath)
void DQMOfflineHLTEventInfoClient::initialize |
( |
| ) |
|
|
private |
std::vector<MonitorElement*> DQMOfflineHLTEventInfoClient::CertificationSummaryContent_ |
|
private |
MonitorElement* DQMOfflineHLTEventInfoClient::CertificationSummaryMap_ |
|
private |
int DQMOfflineHLTEventInfoClient::counterEvt_ |
|
private |
int DQMOfflineHLTEventInfoClient::counterLS_ |
|
private |
DQMStore* DQMOfflineHLTEventInfoClient::dbe_ |
|
private |
int DQMOfflineHLTEventInfoClient::prescaleEvt_ |
|
private |
int DQMOfflineHLTEventInfoClient::prescaleLS_ |
|
private |
std::vector<MonitorElement*> DQMOfflineHLTEventInfoClient::reportSummaryContent_ |
|
private |
bool DQMOfflineHLTEventInfoClient::verbose_ |
|
private |