DQMOffline
Muon
interface
MuonRecoTest.h
Go to the documentation of this file.
1
#ifndef MuonRecoTest_H
2
#define MuonRecoTest_H
3
12
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
13
#include "
DataFormats/Common/interface/Handle.h
"
14
#include <
FWCore/Framework/interface/ESHandle.h
>
15
#include <
FWCore/Framework/interface/Event.h
>
16
#include <
FWCore/Framework/interface/MakerMacros.h
>
17
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
18
#include <
FWCore/Framework/interface/LuminosityBlock.h
>
19
20
#include "
DQMServices/Core/interface/DQMStore.h
"
21
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
22
23
#include "
FWCore/ServiceRegistry/interface/Service.h
"
24
#include "
FWCore/Framework/interface/Run.h
"
25
26
#include <memory>
27
#include <iostream>
28
#include <string>
29
#include <vector>
30
#include <map>
31
32
class
MuonRecoTest
:
public
DQMEDHarvester
{
33
public
:
35
MuonRecoTest
(
const
edm::ParameterSet
& ps);
36
38
~MuonRecoTest
()
override
{};
39
40
protected
:
42
void
dqmEndRun
(
DQMStore::IBooker
&,
DQMStore::IGetter
&,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
43
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
44
45
private
:
46
// counters
47
int
nevents
;
48
unsigned
int
nLumiSegs
;
49
int
prescaleFactor
;
50
int
run
;
51
// Switch for verbosity
52
std::string
metname
;
53
edm::ParameterSet
parameters
;
54
55
//histo binning parameters
56
std::string
EfficiencyCriterionName
;
57
int
etaBin
;
58
double
etaMin
;
59
double
etaMax
;
60
61
int
phiBin
;
62
double
phiMin
;
63
double
phiMax
;
64
65
// efficiency histograms
66
MonitorElement
*
etaEfficiency
;
67
MonitorElement
*
phiEfficiency
;
68
// aligment plot
69
std::vector<MonitorElement*>
globalRotation
;
70
};
71
72
#endif
DQMEDHarvester.h
Handle.h
MuonRecoTest::dqmEndRun
void dqmEndRun(DQMStore::IBooker &, DQMStore::IGetter &, edm::Run const &, edm::EventSetup const &) override
Endjob.
Definition:
MuonRecoTest.cc:48
ESHandle.h
MuonRecoTest::metname
std::string metname
Definition:
MuonRecoTest.h:52
MuonRecoTest::run
int run
Definition:
MuonRecoTest.h:50
edm::Run
Definition:
Run.h:45
LuminosityBlock.h
MuonRecoTest::phiBin
int phiBin
Definition:
MuonRecoTest.h:61
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:461
MuonRecoTest::~MuonRecoTest
~MuonRecoTest() override
Destructor.
Definition:
MuonRecoTest.h:38
MuonRecoTest::globalRotation
std::vector< MonitorElement * > globalRotation
Definition:
MuonRecoTest.h:69
dqm::legacy::DQMStore::IBooker
dqm::implementation::IBooker IBooker
Definition:
DQMStore.h:729
MakerMacros.h
Service.h
Run.h
MuonRecoTest::prescaleFactor
int prescaleFactor
Definition:
MuonRecoTest.h:49
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
MuonRecoTest::EfficiencyCriterionName
std::string EfficiencyCriterionName
Definition:
MuonRecoTest.h:56
MuonRecoTest::nLumiSegs
unsigned int nLumiSegs
Definition:
MuonRecoTest.h:48
edm::EventSetup
Definition:
EventSetup.h:57
MuonRecoTest::etaEfficiency
MonitorElement * etaEfficiency
Definition:
MuonRecoTest.h:66
MuonRecoTest::phiMax
double phiMax
Definition:
MuonRecoTest.h:63
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
MuonRecoTest::parameters
edm::ParameterSet parameters
Definition:
MuonRecoTest.h:53
MuonRecoTest
Definition:
MuonRecoTest.h:32
MuonRecoTest::phiEfficiency
MonitorElement * phiEfficiency
Definition:
MuonRecoTest.h:67
Frameworkfwd.h
MuonRecoTest::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
MuonRecoTest.cc:105
MuonRecoTest::MuonRecoTest
MuonRecoTest(const edm::ParameterSet &ps)
Constructor.
Definition:
MuonRecoTest.cc:31
MuonRecoTest::nevents
int nevents
Definition:
MuonRecoTest.h:47
MuonRecoTest::phiMin
double phiMin
Definition:
MuonRecoTest.h:62
ParameterSet.h
dqm::legacy::DQMStore::IGetter
dqm::implementation::IGetter IGetter
Definition:
DQMStore.h:730
MuonRecoTest::etaBin
int etaBin
Definition:
MuonRecoTest.h:57
MuonRecoTest::etaMax
double etaMax
Definition:
MuonRecoTest.h:59
MuonRecoTest::etaMin
double etaMin
Definition:
MuonRecoTest.h:58
Generated for CMSSW Reference Manual by
1.8.16