DQMOffline
Muon
interface
MuonMiniAOD.h
Go to the documentation of this file.
1
#ifndef MuonMiniAOD_H
2
#define MuonMiniAOD_H
3
4
#include <memory>
5
#include <fstream>
6
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
7
#include "
FWCore/Utilities/interface/InputTag.h
"
8
#include "
FWCore/Framework/interface/stream/EDAnalyzer.h
"
//
9
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
10
#include "
FWCore/Framework/interface/Event.h
"
11
#include "
FWCore/Framework/interface/MakerMacros.h
"
12
#include "
FWCore/ServiceRegistry/interface/Service.h
"
13
14
#include "
DQMServices/Core/interface/DQMStore.h
"
15
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
16
17
#include "
DataFormats/PatCandidates/interface/Muon.h
"
18
#include "
DataFormats/Common/interface/ValueMap.h
"
19
#include "
DataFormats/Common/interface/View.h
"
20
#include "
DataFormats/MuonReco/interface/MuonSelectors.h
"
21
#include "
DataFormats/PatCandidates/interface/Flags.h
"
22
#include "
DataFormats/VertexReco/interface/Vertex.h
"
23
#include "
DataFormats/VertexReco/interface/VertexFwd.h
"
24
25
class
MuonMiniAOD
:
public
DQMEDAnalyzer
{
26
public
:
28
MuonMiniAOD
(
const
edm::ParameterSet
&);
29
31
~MuonMiniAOD
()
override
;
32
34
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
35
void
bookHistograms
(
DQMStore::IBooker
&,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
36
37
private
:
38
// ----------member data ---------------------------
39
40
edm::ParameterSet
parameters
;
41
42
edm::EDGetTokenT<edm::View<pat::Muon>
>
theMuonCollectionLabel_
;
43
// Switch for verbosity
44
std::string
metname
;
45
46
// Monitors:
47
std::vector<MonitorElement *>
workingPoints
;
48
/* MonitorElement* mediumMuons; */
49
/* MonitorElement* looseMuons; */
50
/* MonitorElement* softMuons; */
51
/* MonitorElement* highPtMuons; */
52
53
//Vertex requirements
54
bool
doPVCheck_
;
55
edm::EDGetTokenT<reco::VertexCollection>
theVertexLabel_
;
56
edm::EDGetTokenT<reco::BeamSpot>
theBeamSpotLabel_
;
57
58
bool
PassesCut_A
(
edm::View<pat::Muon>::const_iterator
,
reco::Vertex
, TString);
59
bool
PassesCut_B
(
edm::View<pat::Muon>::const_iterator
,
reco::Vertex
, TString);
60
};
61
#endif
MuonMiniAOD::PassesCut_A
bool PassesCut_A(edm::View< pat::Muon >::const_iterator, reco::Vertex, TString)
Definition:
MuonMiniAOD.cc:38
MuonMiniAOD::metname
std::string metname
Definition:
MuonMiniAOD.h:44
EDAnalyzer.h
edm::Run
Definition:
Run.h:45
MuonMiniAOD::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition:
MuonMiniAOD.cc:17
edm::EDGetTokenT
Definition:
EDGetToken.h:33
Muon.h
DQMStore.h
MuonMiniAOD::MuonMiniAOD
MuonMiniAOD(const edm::ParameterSet &)
Constructor.
Definition:
MuonMiniAOD.cc:6
MakerMacros.h
MuonMiniAOD::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Inizialize parameters for histo binning.
Definition:
MuonMiniAOD.cc:76
MuonMiniAOD::theMuonCollectionLabel_
edm::EDGetTokenT< edm::View< pat::Muon > > theMuonCollectionLabel_
Definition:
MuonMiniAOD.h:42
MuonSelectors.h
Service.h
MuonMiniAOD::parameters
edm::ParameterSet parameters
Definition:
MuonMiniAOD.h:40
DQMEDAnalyzer.h
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
MuonMiniAOD::workingPoints
std::vector< MonitorElement * > workingPoints
Definition:
MuonMiniAOD.h:47
MuonMiniAOD::~MuonMiniAOD
~MuonMiniAOD() override
Destructor.
Definition:
MuonMiniAOD.cc:16
edm::EventSetup
Definition:
EventSetup.h:58
MuonMiniAOD
Definition:
MuonMiniAOD.h:25
MuonMiniAOD::doPVCheck_
bool doPVCheck_
Definition:
MuonMiniAOD.h:54
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
InputTag.h
ValueMap.h
VertexFwd.h
Vertex.h
Frameworkfwd.h
MuonMiniAOD::theVertexLabel_
edm::EDGetTokenT< reco::VertexCollection > theVertexLabel_
Definition:
MuonMiniAOD.h:55
dqm::implementation::IBooker
Definition:
DQMStore.h:43
edm::View::const_iterator
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
Definition:
View.h:86
Flags.h
MuonMiniAOD::PassesCut_B
bool PassesCut_B(edm::View< pat::Muon >::const_iterator, reco::Vertex, TString)
Definition:
MuonMiniAOD.cc:57
View.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
reco::Vertex
Definition:
Vertex.h:35
MuonMiniAOD::theBeamSpotLabel_
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotLabel_
Definition:
MuonMiniAOD.h:56
Generated for CMSSW Reference Manual by
1.8.16