CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
QReport Class Reference

#include <QReport.h>

Public Member Functions

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

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 
)
inlineprivate

Definition at line 45 of file QReport.h.

46  : qvalue_ (value),
47  qcriterion_ (qc)
48  {}
QCriterion * qcriterion_
Definition: QReport.h:51
DQMNet::QValue * qvalue_
Definition: QReport.h:50

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

38  { return qcriterion_; }
QCriterion * qcriterion_
Definition: QReport.h:51
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_.

29  { return qvalue_->qtname; }
std::string qtname
Definition: DQMNet.h:92
DQMNet::QValue * qvalue_
Definition: QReport.h:50
float QReport::getQTresult ( void  ) const
inline
int QReport::getStatus ( void  ) const
inline

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
DQMNet::QValue* QReport::qvalue_
private

Definition at line 50 of file QReport.h.

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