Main Page
Namespaces
Classes
Package Documentation
DQMOffline
Trigger
plugins
Tau3MuMonitor.h
Go to the documentation of this file.
1
#ifndef DQMOFFLINE_TRIGGER_TAU3MUMONITOR_H
2
#define DQMOFFLINE_TRIGGER_TAU3MUMONITOR_H
3
4
#include <string>
5
6
// Framework
7
#include "
CommonTools/Utils/interface/StringCutObjectSelector.h
"
8
#include "
FWCore/Framework/interface/ESHandle.h
"
9
#include "
FWCore/Framework/interface/Event.h
"
10
#include "
FWCore/Framework/interface/EventSetup.h
"
11
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
12
#include "
FWCore/Framework/interface/MakerMacros.h
"
13
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
14
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
15
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
16
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
17
#include "
FWCore/ParameterSet/interface/Registry.h
"
18
#include "
FWCore/ServiceRegistry/interface/Service.h
"
19
#include "
FWCore/Utilities/interface/EDGetToken.h
"
20
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
21
#include "
DQMServices/Core/interface/MonitorElement.h
"
22
23
// TriggerUtils
24
#include "
CommonTools/TriggerUtils/interface/GenericTriggerEventFlag.h
"
25
26
// DataFormats
27
#include "
DataFormats/Candidate/interface/CompositeCandidate.h
"
28
29
struct
MEbinning {
30
unsigned
int
nbins
;
31
double
xmin
;
32
double
xmax
;
33
};
34
35
class
Tau3MuMonitor
:
public
DQMEDAnalyzer
36
{
37
public
:
38
Tau3MuMonitor
(
const
edm::ParameterSet
& );
39
~
Tau3MuMonitor
()
override
;
40
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
41
static
void
fillHistoPSetDescription(
edm::ParameterSetDescription
&
pset
);
42
43
protected
:
44
void
bookHistograms
(
DQMStore::IBooker
&,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
45
void
analyze
(
edm::Event
const
&
iEvent
,
edm::EventSetup
const
& iSetup)
override
;
46
47
private
:
48
static
MEbinning getHistoPSet (
edm::ParameterSet
pset);
49
50
std::string
folderName_
;
51
52
bool
validProduct_ =
true
;
// internally store a flag to remember whether the needed tau3mu collection is present and valid
53
54
edm::EDGetTokenT<reco::CompositeCandidateCollection>
tauToken_
;
// tau 3 mu collection
55
56
MonitorElement
*
tau1DPt_
;
// 1D tau pt histogram
57
MonitorElement
*
tau1DEta_
;
// 1D tau eta histogram
58
MonitorElement
*
tau1DPhi_
;
// 1D tau phi histogram
59
MonitorElement
*
tau1DMass_
;
// 1D tau mass histogram
60
MonitorElement
*
tau2DEtaPhi_
;
// 2D tau eta vs phi histogram
61
62
MEbinning
pt_binning_
;
// for the 1D tau pt histogram
63
MEbinning
eta_binning_
;
// for the 1D tau eta histogram and 2D tau eta vs phi histogram
64
MEbinning
phi_binning_
;
// for the 1D tau phi histogram and 2D tau eta vs phi histogram
65
MEbinning
mass_binning_
;
// for the 1D tau mass histogram
66
67
std::unique_ptr<GenericTriggerEventFlag>
genTriggerEventFlag_
;
// "is trigger fired?" flag
68
};
69
70
#endif // DQMOFFLINE_TRIGGER_TAU3MUMONITOR_H
Tau3MuMonitor
Definition:
Tau3MuMonitor.h:35
Tau3MuMonitor::folderName_
std::string folderName_
Definition:
Tau3MuMonitor.h:50
MessageLogger.h
Tau3MuMonitor::tau1DEta_
MonitorElement * tau1DEta_
Definition:
Tau3MuMonitor.h:57
Registry.h
EDGetToken.h
Tau3MuMonitor::tau1DPt_
MonitorElement * tau1DPt_
Definition:
Tau3MuMonitor.h:56
TrackerOfflineValidation_Dqm_cff.xmin
xmin
Definition:
TrackerOfflineValidation_Dqm_cff.py:10
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Event.h
MakerMacros.h
EventSetup.h
Tau3MuMonitor::pt_binning_
MEbinning pt_binning_
Definition:
Tau3MuMonitor.h:62
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
edm::EDGetTokenT< reco::CompositeCandidateCollection >
Frameworkfwd.h
analyze
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
CompositeCandidate.h
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
Tau3MuMonitor::genTriggerEventFlag_
std::unique_ptr< GenericTriggerEventFlag > genTriggerEventFlag_
Definition:
Tau3MuMonitor.h:67
Tau3MuMonitor::tau1DMass_
MonitorElement * tau1DMass_
Definition:
Tau3MuMonitor.h:59
ParameterSet.h
StringCutObjectSelector.h
iEvent
int iEvent
Definition:
GenABIO.cc:224
ParameterSetDescription.h
GenericTriggerEventFlag.h
DQMEDAnalyzer.h
Tau3MuMonitor::tau1DPhi_
MonitorElement * tau1DPhi_
Definition:
Tau3MuMonitor.h:58
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
ESHandle.h
Service.h
Tau3MuMonitor::mass_binning_
MEbinning mass_binning_
Definition:
Tau3MuMonitor.h:65
edm::EventSetup
Definition:
EventSetup.h:57
Tau3MuMonitor::tau2DEtaPhi_
MonitorElement * tau2DEtaPhi_
Definition:
Tau3MuMonitor.h:60
MonitorElement
Definition:
MonitorElement.h:37
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
TrackerOfflineValidation_Dqm_cff.xmax
xmax
Definition:
TrackerOfflineValidation_Dqm_cff.py:11
bookHistograms
example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
MonitorElement.h
Tau3MuMonitor::phi_binning_
MEbinning phi_binning_
Definition:
Tau3MuMonitor.h:64
edm::ParameterSet
Definition:
ParameterSet.h:36
ConfigurationDescriptions.h
pileupCalc.nbins
nbins
Definition:
pileupCalc.py:240
Tau3MuMonitor::eta_binning_
MEbinning eta_binning_
Definition:
Tau3MuMonitor.h:63
edm::Event
Definition:
Event.h:71
DQMStore::IBooker
Definition:
DQMStore.h:88
Tau3MuMonitor::tauToken_
edm::EDGetTokenT< reco::CompositeCandidateCollection > tauToken_
Definition:
Tau3MuMonitor.h:54
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::Run
Definition:
Run.h:45
Generated for CMSSW Reference Manual by
1.8.11