DQMOffline
PFTau
plugins
BenchmarkAnalyzer.cc
Go to the documentation of this file.
1
#include "
DQMOffline/PFTau/plugins/BenchmarkAnalyzer.h
"
2
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
FWCore/Utilities/interface/InputTag.h
"
6
7
#include "
DQMServices/Core/interface/DQMStore.h
"
8
#include "
FWCore/ServiceRegistry/interface/Service.h
"
9
10
#include <iostream>
11
#include <string>
12
13
using namespace
std
;
14
15
BenchmarkAnalyzer::BenchmarkAnalyzer
(
const
edm::ParameterSet
&
parameterSet
) {
16
inputLabel_ =
parameterSet
.
getParameter
<
edm::InputTag
>(
"InputCollection"
);
17
benchmarkLabel_
=
parameterSet
.
getParameter
<
std::string
>(
"BenchmarkLabel"
);
18
19
std::string
folder
=
benchmarkLabel_
;
20
21
subsystemname_ =
"ParticleFlow"
;
22
eventInfoFolder_ = subsystemname_ +
"/"
+
folder
;
23
}
24
25
//
26
// -- BookHistograms
27
//
28
void
BenchmarkAnalyzer::bookHistograms
(
DQMStore::IBooker
&ibooker,
29
edm::Run
const
&
/* iRun */
,
30
edm::EventSetup
const
&
/* iSetup */
) {
31
ibooker.
setCurrentFolder
(eventInfoFolder_);
32
cout
<<
"path set to "
<< eventInfoFolder_ << endl;
33
}
MessageLogger.h
edm::Run
Definition:
Run.h:45
printsummarytable.folder
folder
Definition:
printsummarytable.py:7
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition:
DQMStore.cc:32
BenchmarkAnalyzer::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition:
BenchmarkAnalyzer.cc:28
BenchmarkAnalyzer.h
DQMStore.h
Service.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::EventSetup
Definition:
EventSetup.h:57
InputTag.h
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
std
Definition:
JetResolutionObject.h:76
edm::parameterSet
ParameterSet const & parameterSet(Provenance const &provenance, ProcessHistory const &history)
Definition:
Provenance.cc:11
dqm::implementation::IBooker
Definition:
DQMStore.h:43
ParameterSet.h
BenchmarkAnalyzer::BenchmarkAnalyzer
BenchmarkAnalyzer()
Constructors.
edm::InputTag
Definition:
InputTag.h:15
benchmarkLabel_
string benchmarkLabel_
Definition:
PFJetBenchmarkAnalyzer.cc:74
Generated for CMSSW Reference Manual by
1.8.16