src
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
MuonRecoTest::EfficiencyCriterionName
std::string EfficiencyCriterionName
Definition:
MuonRecoTest.h:56
Event.h
DQMEDHarvester.h
MuonRecoTest::etaBin
int etaBin
Definition:
MuonRecoTest.h:57
Frameworkfwd.h
dqm::implementation::IGetter
Definition:
DQMStore.h:571
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
MuonRecoTest::dqmEndRun
void dqmEndRun(DQMStore::IBooker &, DQMStore::IGetter &, edm::Run const &, edm::EventSetup const &) override
Endjob.
Definition:
MuonRecoTest.cc:48
MuonRecoTest::nevents
int nevents
Definition:
MuonRecoTest.h:47
MuonRecoTest::phiBin
int phiBin
Definition:
MuonRecoTest.h:61
ParameterSet.h
MuonRecoTest::etaMin
double etaMin
Definition:
MuonRecoTest.h:58
dqm::implementation::IBooker
Definition:
DQMStore.h:43
MuonRecoTest::globalRotation
std::vector< MonitorElement * > globalRotation
Definition:
MuonRecoTest.h:69
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:466
ESHandle.h
MuonRecoTest::~MuonRecoTest
~MuonRecoTest() override
Destructor.
Definition:
MuonRecoTest.h:38
Service.h
edm::EventSetup
Definition:
EventSetup.h:56
Run.h
MuonRecoTest::metname
std::string metname
Definition:
MuonRecoTest.h:52
MuonRecoTest::run
int run
Definition:
MuonRecoTest.h:50
MuonRecoTest::etaMax
double etaMax
Definition:
MuonRecoTest.h:59
MuonRecoTest::phiEfficiency
MonitorElement * phiEfficiency
Definition:
MuonRecoTest.h:67
MuonRecoTest::phiMax
double phiMax
Definition:
MuonRecoTest.h:63
MuonRecoTest::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
MuonRecoTest.cc:105
MuonRecoTest::parameters
edm::ParameterSet parameters
Definition:
MuonRecoTest.h:53
MuonRecoTest::nLumiSegs
unsigned int nLumiSegs
Definition:
MuonRecoTest.h:48
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
LuminosityBlock.h
MuonRecoTest::MuonRecoTest
MuonRecoTest(const edm::ParameterSet &ps)
Constructor.
Definition:
MuonRecoTest.cc:31
edm::ParameterSet
Definition:
ParameterSet.h:48
MuonRecoTest
Definition:
MuonRecoTest.h:32
MuonRecoTest::phiMin
double phiMin
Definition:
MuonRecoTest.h:62
MuonRecoTest::prescaleFactor
int prescaleFactor
Definition:
MuonRecoTest.h:49
MakerMacros.h
MuonRecoTest::etaEfficiency
MonitorElement * etaEfficiency
Definition:
MuonRecoTest.h:66
edm::Run
Definition:
Run.h:45
Handle.h
Generated for CMSSW Reference Manual by
1.8.14