CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes | Friends

QReport Class Reference

#include <QReport.h>

List of all members.

Public Member Functions

const std::vector< DQMChannel > & getBadChannels (void) const
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.

    : qvalue_ (value),
      qcriterion_ (qc)
    {}

Member Function Documentation

const std::vector<DQMChannel>& QReport::getBadChannels ( void  ) const [inline]
const std::string& QReport::getMessage ( void  ) const [inline]
const QCriterion* QReport::getQCriterion ( void  ) const [inline]

get QCriterion

Definition at line 37 of file QReport.h.

References qcriterion_.

    { 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_.

    { return qvalue_->qtname; }
float QReport::getQTresult ( void  ) const [inline]
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 MuonTestSummary::doKinematicsTests(), DTt0DBValidation::endJob(), MuonRecoTest::endRun(), MuonTrackResidualsTest::endRun(), and DQMClientExample::performClient().

    { 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().

Definition at line 50 of file QReport.h.

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