DQM
TrackingMonitor
interface
TrackEfficiencyClient.h
Go to the documentation of this file.
1
#ifndef TrackingMonitor_TrackEfficiencyClient_h
2
#define TrackingMonitor_TrackEfficiencyClient_h
3
// -*- C++ -*-
4
//
5
// Package: TrackingMonitor
6
// Class : TrackEfficiencyClient
7
//
11
// Original Author: A.-C. Le Bihan
12
// Created: Fri Dec 5 12:14:22 CET 2008
13
14
#include <string>
15
16
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
17
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
18
#include "
FWCore/Framework/interface/ESHandle.h
"
19
#include "
FWCore/Framework/interface/LuminosityBlock.h
"
20
#include "
FWCore/Framework/interface/Run.h
"
21
#include "
FWCore/Framework/interface/EventSetup.h
"
22
#include "
FWCore/Framework/interface/MakerMacros.h
"
23
24
#include "
DQMServices/Core/interface/DQMStore.h
"
25
26
#include <iostream>
27
#include <fstream>
28
#include <string>
29
#include <vector>
30
//#include <map>
31
32
class
TrackEfficiencyClient
:
public
DQMEDHarvester
{
33
public
:
35
TrackEfficiencyClient
(
const
edm::ParameterSet
& ps);
36
38
~TrackEfficiencyClient
()
override
;
39
40
protected
:
42
void
beginJob
(
void
)
override
;
43
45
void
beginRun
(
edm::Run
const
&
run
,
edm::EventSetup
const
& eSetup)
override
;
46
48
void
dqmEndJob
(
DQMStore::IBooker
& ibooker_,
DQMStore::IGetter
& igetter_)
override
;
49
50
private
:
52
void
bookMEs
(
DQMStore::IBooker
& ibooker_);
53
54
edm::ParameterSet
conf_
;
55
56
bool
trackEfficiency_
;
//1 if one wants to measure the tracking efficiency
57
//0 if one wants to measure the muon reco efficiency
58
59
std::string
histName
;
60
std::string
algoName_
;
61
std::string
FolderName_
;
62
63
MonitorElement
*
effX
;
64
MonitorElement
*
effY
;
65
MonitorElement
*
effZ
;
66
MonitorElement
*
effEta
;
67
MonitorElement
*
effPhi
;
68
MonitorElement
*
effD0
;
69
MonitorElement
*
effCompatibleLayers
;
70
MonitorElement
*
effPtPhiLowPt
, *
effPtPhiHighPt
;
71
};
72
#endif
DQMEDHarvester.h
TrackEfficiencyClient::histName
std::string histName
Definition:
TrackEfficiencyClient.h:59
TrackEfficiencyClient::TrackEfficiencyClient
TrackEfficiencyClient(const edm::ParameterSet &ps)
Constructor.
Definition:
TrackEfficiencyClient.cc:25
TrackEfficiencyClient::effPtPhiLowPt
MonitorElement * effPtPhiLowPt
Definition:
TrackEfficiencyClient.h:70
TrackEfficiencyClient::effZ
MonitorElement * effZ
Definition:
TrackEfficiencyClient.h:65
ESHandle.h
TrackEfficiencyClient::FolderName_
std::string FolderName_
Definition:
TrackEfficiencyClient.h:61
edm::Run
Definition:
Run.h:45
LuminosityBlock.h
TrackEfficiencyClient::bookMEs
void bookMEs(DQMStore::IBooker &ibooker_)
book MEs
Definition:
TrackEfficiencyClient.cc:59
TrackEfficiencyClient::effD0
MonitorElement * effD0
Definition:
TrackEfficiencyClient.h:68
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:461
TrackEfficiencyClient::effCompatibleLayers
MonitorElement * effCompatibleLayers
Definition:
TrackEfficiencyClient.h:69
TrackEfficiencyClient::dqmEndJob
void dqmEndJob(DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_) override
EndJob.
Definition:
TrackEfficiencyClient.cc:159
TrackEfficiencyClient::trackEfficiency_
bool trackEfficiency_
Definition:
TrackEfficiencyClient.h:56
TrackEfficiencyClient
Definition:
TrackEfficiencyClient.h:32
MakerMacros.h
TrackEfficiencyClient::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
BeginRun.
Definition:
TrackEfficiencyClient.cc:52
Run.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:36
TrackEfficiencyClient::effPhi
MonitorElement * effPhi
Definition:
TrackEfficiencyClient.h:67
TrackEfficiencyClient::effX
MonitorElement * effX
Definition:
TrackEfficiencyClient.h:63
edm::EventSetup
Definition:
EventSetup.h:57
TrackEfficiencyClient::beginJob
void beginJob(void) override
BeginJob.
Definition:
TrackEfficiencyClient.cc:45
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
TrackEfficiencyClient::effPtPhiHighPt
MonitorElement * effPtPhiHighPt
Definition:
TrackEfficiencyClient.h:70
TrackEfficiencyClient::effY
MonitorElement * effY
Definition:
TrackEfficiencyClient.h:64
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
TrackEfficiencyClient::effEta
MonitorElement * effEta
Definition:
TrackEfficiencyClient.h:66
dqm::implementation::IGetter
Definition:
DQMStore.h:484
TrackEfficiencyClient::conf_
edm::ParameterSet conf_
Definition:
TrackEfficiencyClient.h:54
EventSetup.h
dqm::implementation::IBooker
Definition:
DQMStore.h:43
ParameterSet.h
TrackEfficiencyClient::~TrackEfficiencyClient
~TrackEfficiencyClient() override
Destructor.
Definition:
TrackEfficiencyClient.cc:38
TrackEfficiencyClient::algoName_
std::string algoName_
Definition:
TrackEfficiencyClient.h:60
Generated for CMSSW Reference Manual by
1.8.16