Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DQMServices
Components
interface
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"
15
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
16
#include <
FWCore/Framework/interface/EDAnalyzer.h
>
17
#include <
FWCore/Framework/interface/ESHandle.h
>
18
#include <
FWCore/Framework/interface/Event.h
>
19
#include <
FWCore/Framework/interface/MakerMacros.h
>
20
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
21
#include <
FWCore/Framework/interface/LuminosityBlock.h
>
22
#include "
CondFormats/Common/interface/FileBlob.h
"
23
#include "
CondFormats/DataRecord/interface/DQMXMLFileRcd.h
"
24
25
#include <memory>
26
#include <iostream>
27
#include <string>
28
29
class
DQMStore
;
30
class
QTestHandle
;
31
32
33
class
QualityTester
:
public
edm::EDAnalyzer
{
34
35
public
:
36
38
QualityTester
(
const
edm::ParameterSet
& ps);
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
;
60
int
prescaleFactor
;
61
bool
getQualityTestsFromFile
;
62
std::string
Label
;
63
bool
testInEventloop
;
64
bool
qtestOnEndRun
;
65
bool
qtestOnEndJob
;
66
bool
qtestOnEndLumi
;
67
std::string
reportThreshold
;
68
bool
verboseQT
;
69
70
DQMStore
*
bei
;
71
72
QTestHandle
*
qtHandler
;
73
};
74
75
#endif
QualityTester::testInEventloop
bool testInEventloop
Definition:
QualityTester.h:63
QualityTester::endLuminosityBlock
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
perform the actual quality tests
Definition:
QualityTester.cc:91
Event.h
edm::LuminosityBlock
Definition:
LuminosityBlock.h:45
MakerMacros.h
QualityTester::getQualityTestsFromFile
bool getQualityTestsFromFile
Definition:
QualityTester.h:61
QualityTester::qtHandler
QTestHandle * qtHandler
Definition:
QualityTester.h:72
QualityTester::qtestOnEndLumi
bool qtestOnEndLumi
Definition:
QualityTester.h:66
EnergyCorrector.c
tuple c
Definition:
EnergyCorrector.py:43
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ParameterSet.h
DQMStore
Definition:
DQMStore.h:75
QualityTester::endRun
void endRun(const edm::Run &r, const edm::EventSetup &c)
Definition:
QualityTester.cc:102
QualityTester::qtestOnEndRun
bool qtestOnEndRun
Definition:
QualityTester.h:64
QualityTester::qtestOnEndJob
bool qtestOnEndJob
Definition:
QualityTester.h:65
QualityTester::verboseQT
bool verboseQT
Definition:
QualityTester.h:68
ESHandle.h
QualityTester
Definition:
QualityTester.h:33
edm::EventSetup
Definition:
EventSetup.h:45
QualityTester::nEvents
int nEvents
Definition:
QualityTester.h:59
QualityTester::Label
std::string Label
Definition:
QualityTester.h:62
DQMXMLFileRcd.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:26
EDAnalyzer.h
QualityTester::prescaleFactor
int prescaleFactor
Definition:
QualityTester.h:60
QualityTester::endJob
void endJob()
Definition:
QualityTester.cc:106
QualityTester::~QualityTester
virtual ~QualityTester()
Destructor.
Definition:
QualityTester.cc:74
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
QualityTester::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
Definition:
QualityTester.cc:79
LuminosityBlock.h
QualityTester::bei
DQMStore * bei
Definition:
QualityTester.h:70
QualityTester::reportThreshold
std::string reportThreshold
Definition:
QualityTester.h:67
QualityTester::QualityTester
QualityTester(const edm::ParameterSet &ps)
Constructor.
Definition:
QualityTester.cc:24
FileBlob.h
QualityTester::performTests
void performTests(void)
Definition:
QualityTester.cc:110
alignCSCRings.r
list r
Definition:
alignCSCRings.py:92
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:66
QTestHandle
Definition:
QTestHandle.h:20
edm::Run
Definition:
Run.h:42
QualityTester::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &)
Definition:
QualityTester.cc:51
Generated for CMSSW Reference Manual by
1.8.5