DQM
DataScouting
plugins
ScoutingTestAnalyzer.h
Go to the documentation of this file.
1
#ifndef ScoutingTestAnalyzer_h
2
#define ScoutingTestAnalyzer_h
3
4
// This class is used to test the functionalities of the package
5
#include "
DQM/DataScouting/interface/ScoutingAnalyzerBase.h
"
6
#include "
DataFormats/JetReco/interface/CaloJet.h
"
7
8
class
ScoutingTestAnalyzer
:
public
ScoutingAnalyzerBase
{
9
public
:
10
explicit
ScoutingTestAnalyzer
(
const
edm::ParameterSet
&);
11
~ScoutingTestAnalyzer
()
override
;
12
void
bookHistograms
(
DQMStore::IBooker
&,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
13
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
14
15
private
:
16
// histograms
17
edm::InputTag
m_pfJetsCollectionTag
;
18
MonitorElement
*
m_jetPt
;
19
MonitorElement
*
m_jetEtaPhi
;
20
// define Token(-s)
21
edm::EDGetTokenT<reco::CaloJetCollection>
m_pfJetsCollectionTagToken_
;
22
};
23
#endif
ScoutingTestAnalyzer
Definition:
ScoutingTestAnalyzer.h:8
CaloJet.h
ScoutingTestAnalyzer::m_pfJetsCollectionTag
edm::InputTag m_pfJetsCollectionTag
Definition:
ScoutingTestAnalyzer.h:17
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< reco::CaloJetCollection >
ScoutingAnalyzerBase.h
ScoutingTestAnalyzer::m_pfJetsCollectionTagToken_
edm::EDGetTokenT< reco::CaloJetCollection > m_pfJetsCollectionTagToken_
Definition:
ScoutingTestAnalyzer.h:21
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:461
ScoutingTestAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
ScoutingTestAnalyzer.cc:41
ScoutingTestAnalyzer::~ScoutingTestAnalyzer
~ScoutingTestAnalyzer() override
Definition:
ScoutingTestAnalyzer.cc:15
ScoutingTestAnalyzer::m_jetPt
MonitorElement * m_jetPt
Definition:
ScoutingTestAnalyzer.h:18
ScoutingTestAnalyzer::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition:
ScoutingTestAnalyzer.cc:18
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::EventSetup
Definition:
EventSetup.h:57
ScoutingTestAnalyzer::ScoutingTestAnalyzer
ScoutingTestAnalyzer(const edm::ParameterSet &)
Definition:
ScoutingTestAnalyzer.cc:8
ScoutingTestAnalyzer::m_jetEtaPhi
MonitorElement * m_jetEtaPhi
Definition:
ScoutingTestAnalyzer.h:19
dqm::implementation::IBooker
Definition:
DQMStore.h:43
ScoutingAnalyzerBase
Definition:
ScoutingAnalyzerBase.h:19
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
Generated for CMSSW Reference Manual by
1.8.16