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  * \author M. Zanetti - CERN PH
12  *
13  */
14 #include "boost/scoped_ptr.hpp"
24 
25 #include <memory>
26 #include <iostream>
27 #include <string>
28 
29 class DQMStore;
30 class QTestHandle;
31 
32 
34 
35 public:
36 
39 
41  virtual ~QualityTester();
42 
43 protected:
44 
46  void analyze(const edm::Event& e, const edm::EventSetup& c) ;
47 
49  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
50  void beginRun(const edm::Run&, const edm::EventSetup&) ;
51  void endRun(const edm::Run& r, const edm::EventSetup& c);
52  void endJob();
53 
54 private:
55 
56 
57  void performTests(void);
58 
59  int nEvents;
68  bool verboseQT;
69 
71 
73 };
74 
75 #endif
bool testInEventloop
Definition: QualityTester.h:63
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
perform the actual quality tests
bool getQualityTestsFromFile
Definition: QualityTester.h:61
QTestHandle * qtHandler
Definition: QualityTester.h:72
void endRun(const edm::Run &r, const edm::EventSetup &c)
std::string Label
Definition: QualityTester.h:62
virtual ~QualityTester()
Destructor.
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
DQMStore * bei
Definition: QualityTester.h:70
std::string reportThreshold
Definition: QualityTester.h:67
QualityTester(const edm::ParameterSet &ps)
Constructor.
void performTests(void)
Definition: Run.h:41
void beginRun(const edm::Run &, const edm::EventSetup &)