CMS 3D CMS Logo

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  ~QualityTester() override;
42 
43 protected:
44 
46  void analyze(const edm::Event& e, const edm::EventSetup& c) override ;
47 
49  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c) override;
50  void beginRun(const edm::Run&, const edm::EventSetup&) override ;
51  void endRun(const edm::Run& r, const edm::EventSetup& c) override;
52  void endJob() override;
53 
54 private:
55 
56 
57  void performTests();
58 
59  int nEvents;
68  bool verboseQT;
69 
71 
73 };
74 
75 #endif
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c) override
perform the actual quality tests
bool testInEventloop
Definition: QualityTester.h:63
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
bool getQualityTestsFromFile
Definition: QualityTester.h:61
~QualityTester() override
Destructor.
QTestHandle * qtHandler
Definition: QualityTester.h:72
void endJob() override
std::string Label
Definition: QualityTester.h:62
void endRun(const edm::Run &r, const edm::EventSetup &c) override
DQMStore * bei
Definition: QualityTester.h:70
std::string reportThreshold
Definition: QualityTester.h:67
QualityTester(const edm::ParameterSet &ps)
Constructor.
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: Run.h:43