src
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
}
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition:
ParameterSet.h:307
MessageLogger.h
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
std
Definition:
JetResolutionObject.h:76
edm::parameterSet
ParameterSet const & parameterSet(StableProvenance const &provenance, ProcessHistory const &history)
Definition:
Provenance.cc:11
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
BenchmarkAnalyzer.h
ParameterSet.h
dqm::implementation::IBooker
Definition:
DQMStore.h:43
DQMStore.h
Service.h
edm::EventSetup
Definition:
EventSetup.h:59
benchmarkLabel_
string benchmarkLabel_
Definition:
PFJetBenchmarkAnalyzer.cc:74
printsummarytable.folder
folder
Definition:
printsummarytable.py:7
edm::InputTag
Definition:
InputTag.h:15
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:48
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
edm::Run
Definition:
Run.h:45
BenchmarkAnalyzer::BenchmarkAnalyzer
BenchmarkAnalyzer()
Constructors.
Generated for CMSSW Reference Manual by
1.8.14