Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
* $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"
17
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
18
#include <
FWCore/Framework/interface/EDAnalyzer.h
>
19
#include <
FWCore/Framework/interface/ESHandle.h
>
20
#include <
FWCore/Framework/interface/Event.h
>
21
#include <
FWCore/Framework/interface/MakerMacros.h
>
22
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
23
#include <
FWCore/Framework/interface/LuminosityBlock.h
>
24
#include "
CondFormats/Common/interface/FileBlob.h
"
25
#include "
CondFormats/DataRecord/interface/DQMXMLFileRcd.h
"
26
27
#include <memory>
28
#include <iostream>
29
#include <string>
30
31
class
DQMStore
;
32
class
QTestHandle
;
33
34
35
class
QualityTester
:
public
edm::EDAnalyzer
{
36
37
public
:
38
40
QualityTester
(
const
edm::ParameterSet
& ps);
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
;
62
int
prescaleFactor
;
63
bool
getQualityTestsFromFile
;
64
std::string
Label
;
65
bool
testInEventloop
;
66
bool
qtestOnEndRun
;
67
bool
qtestOnEndJob
;
68
bool
qtestOnEndLumi
;
69
std::string
reportThreshold
;
70
bool
verboseQT
;
71
72
DQMStore
*
bei
;
73
74
QTestHandle
*
qtHandler
;
75
};
76
77
#endif
QualityTester::testInEventloop
bool testInEventloop
Definition:
QualityTester.h:65
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:41
MakerMacros.h
QualityTester::getQualityTestsFromFile
bool getQualityTestsFromFile
Definition:
QualityTester.h:63
QualityTester::qtHandler
QTestHandle * qtHandler
Definition:
QualityTester.h:74
QualityTester::qtestOnEndLumi
bool qtestOnEndLumi
Definition:
QualityTester.h:68
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ParameterSet.h
DQMStore
Definition:
DQMStore.h:67
QualityTester::endRun
void endRun(const edm::Run &r, const edm::EventSetup &c)
Definition:
QualityTester.cc:102
QualityTester::qtestOnEndRun
bool qtestOnEndRun
Definition:
QualityTester.h:66
QualityTester::qtestOnEndJob
bool qtestOnEndJob
Definition:
QualityTester.h:67
QualityTester::verboseQT
bool verboseQT
Definition:
QualityTester.h:70
ESHandle.h
QualityTester
Definition:
QualityTester.h:35
edm::EventSetup
Definition:
EventSetup.h:44
QualityTester::nEvents
int nEvents
Definition:
QualityTester.h:61
QualityTester::Label
std::string Label
Definition:
QualityTester.h:64
DQMXMLFileRcd.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:15
EDAnalyzer.h
QualityTester::prescaleFactor
int prescaleFactor
Definition:
QualityTester.h:62
QualityTester::endJob
void endJob()
Definition:
QualityTester.cc:106
trackerHits.c
tuple c
Definition:
trackerHits.py:26
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:72
QualityTester::reportThreshold
std::string reportThreshold
Definition:
QualityTester.h:69
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:35
edm::Event
Definition:
Event.h:56
QTestHandle
Definition:
QTestHandle.h:22
edm::Run
Definition:
Run.h:36
QualityTester::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &)
Definition:
QualityTester.cc:51
Generated for CMSSW Reference Manual by
1.8.5