CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QualityTester.h
Go to the documentation of this file.
1 #ifndef QualityTester_H
2 #define QualityTester_H
3 
4 /*
5  * \file QualityTester.h
6  *
7  * Helping EDAnalyzer running the quality tests for clients when:
8  * - they receive ME data from the SM
9  * - they are run together with the producers (standalone mode)
10  *
11  * $Date: 2010/01/27 13:11:57 $
12  * $Revision: 1.11 $
13  * \author M. Zanetti - CERN PH
14  *
15  */
16 #include "boost/scoped_ptr.hpp"
26 
27 #include <memory>
28 #include <iostream>
29 #include <string>
30 
31 class DQMStore;
32 class QTestHandle;
33 
34 
36 
37 public:
38 
41 
43  virtual ~QualityTester();
44 
45 protected:
46 
48  void analyze(const edm::Event& e, const edm::EventSetup& c) ;
49 
51  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
52  void beginRun(const edm::Run&, const edm::EventSetup&) ;
53  void endRun(const edm::Run& r, const edm::EventSetup& c);
54  void endJob();
55 
56 private:
57 
58 
59  void performTests(void);
60 
61  int nEvents;
70  bool verboseQT;
71 
73 
75 };
76 
77 #endif
bool testInEventloop
Definition: QualityTester.h:65
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
perform the actual quality tests
bool getQualityTestsFromFile
Definition: QualityTester.h:63
QTestHandle * qtHandler
Definition: QualityTester.h:74
void endRun(const edm::Run &r, const edm::EventSetup &c)
std::string Label
Definition: QualityTester.h:64
virtual ~QualityTester()
Destructor.
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
DQMStore * bei
Definition: QualityTester.h:72
std::string reportThreshold
Definition: QualityTester.h:69
QualityTester(const edm::ParameterSet &ps)
Constructor.
void performTests(void)
Definition: Run.h:36
void beginRun(const edm::Run &, const edm::EventSetup &)