CMS 3D CMS Logo

QReport Class Reference

Class for reporting results of quality tests for Monitoring Elements. More...

#include <DQMServices/Core/interface/QReport.h>

List of all members.

Public Member Functions

const std::vector< DQMChannel > & getBadChannels (void) const
 get vector of channels that failed test (not relevant for all quality tests!)
const std::string & getMessage (void) const
 get message attached to test
const QCriteriongetQCriterion (void) const
 get QCriterion
const std::string & getQRName (void) const
 get name of quality test
float getQTresult (void) const
 get test result i.e. prob value
int getStatus (void) const
 get test status (see Core/interface/QTestStatus.h)

Private Member Functions

 QReport (DQMNet::QValue *value, QCriterion *qc)

Private Attributes

std::vector< DQMChannelbadChannels_
QCriterionqcriterion_
DQMNet::QValueqvalue_

Friends

class DQMStore
class MonitorElement
class QCriterion


Detailed Description

Class for reporting results of quality tests for Monitoring Elements.

Definition at line 12 of file QReport.h.


Constructor & Destructor Documentation

QReport::QReport ( DQMNet::QValue value,
QCriterion qc 
) [inline, private]

Definition at line 45 of file QReport.h.

00046     : qvalue_ (value),
00047       qcriterion_ (qc)
00048     {}


Member Function Documentation

const std::vector<DQMChannel>& QReport::getBadChannels ( void   )  const [inline]

get vector of channels that failed test (not relevant for all quality tests!)

Definition at line 33 of file QReport.h.

References badChannels_.

Referenced by DQMClientExample::analyze(), DTt0DBValidation::endJob(), L1TGCTClient::endLuminosityBlock(), DTChamberEfficiencyTest::endLuminosityBlock(), MuonRecoTest::endLuminosityBlock(), DTSegmentAnalysisTest::endLuminosityBlock(), RPCEventSummary::endLuminosityBlock(), DTEfficiencyTest::endLuminosityBlock(), L1TEventInfoClient::endLuminosityBlock(), RPCDeadChannelTest::endLuminosityBlock(), DTDeadChannelTest::endLuminosityBlock(), DTNoiseTest::endLuminosityBlock(), DTResolutionTest::endLuminosityBlock(), L1TRPCTFClient::endLuminosityBlock(), MuonTrackResidualsTest::endLuminosityBlock(), and DTLocalTriggerLutTest::runClientDiagnostic().

00034     { return badChannels_; }

const std::string& QReport::getMessage ( void   )  const [inline]

get message attached to test

Definition at line 24 of file QReport.h.

References DQMNet::QValue::message, and qvalue_.

Referenced by DTt0DBValidation::endJob(), MuonRecoTest::endLuminosityBlock(), RPCMultiplicityTest::endLuminosityBlock(), and MuonTrackResidualsTest::endLuminosityBlock().

00025     { return qvalue_->message; }

const QCriterion* QReport::getQCriterion ( void   )  const [inline]

get QCriterion

Definition at line 37 of file QReport.h.

References qcriterion_.

00038     { return qcriterion_; }

const std::string& QReport::getQRName ( void   )  const [inline]

get name of quality test

Definition at line 28 of file QReport.h.

References DQMNet::QValue::qtname, and qvalue_.

00029     { return qvalue_->qtname; }

float QReport::getQTresult ( void   )  const [inline]

get test result i.e. prob value

Definition at line 20 of file QReport.h.

References DQMNet::QValue::qtresult, and qvalue_.

00021     { return qvalue_->qtresult; }

int QReport::getStatus ( void   )  const [inline]

get test status (see Core/interface/QTestStatus.h)

Definition at line 16 of file QReport.h.

References DQMNet::QValue::code, and qvalue_.

Referenced by DTt0DBValidation::endJob(), MuonRecoTest::endLuminosityBlock(), RPCMultiplicityTest::endLuminosityBlock(), and MuonTrackResidualsTest::endLuminosityBlock().

00017     { return qvalue_->code; }


Friends And Related Function Documentation

friend class DQMStore [friend]

Definition at line 43 of file QReport.h.

friend class MonitorElement [friend]

Definition at line 42 of file QReport.h.

friend class QCriterion [friend]

Definition at line 41 of file QReport.h.


Member Data Documentation

std::vector<DQMChannel> QReport::badChannels_ [private]

Definition at line 52 of file QReport.h.

Referenced by getBadChannels(), and QCriterion::runTest().

QCriterion* QReport::qcriterion_ [private]

Definition at line 51 of file QReport.h.

Referenced by MonitorElement::addQReport(), getQCriterion(), MonitorElement::runQTests(), and QCriterion::runTest().

DQMNet::QValue* QReport::qvalue_ [private]

Definition at line 50 of file QReport.h.

Referenced by getMessage(), getQRName(), getQTresult(), getStatus(), and MonitorElement::runQTests().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:30:33 2009 for CMSSW by  doxygen 1.5.4