Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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 <string>
11
#include <iostream>
12
13
using namespace
std;
14
15
BenchmarkAnalyzer::BenchmarkAnalyzer
(
const
edm::ParameterSet
&
parameterSet
)
16
{
17
18
inputLabel_ = parameterSet.
getParameter
<
edm::InputTag
>(
"InputCollection"
);
19
benchmarkLabel_
= parameterSet.
getParameter
<
std::string
>(
"BenchmarkLabel"
);
20
21
std::string
folder =
benchmarkLabel_
;
22
23
subsystemname_ =
"ParticleFlow"
;
24
eventInfoFolder_ = subsystemname_ +
"/"
+ folder ;
25
26
}
27
28
29
//
30
// -- BookHistograms
31
//
32
void
BenchmarkAnalyzer::bookHistograms
(
DQMStore::IBooker
& ibooker,
33
edm::Run
const
&
/* iRun */
,
34
edm::EventSetup
const
&
/* iSetup */
)
35
{
36
ibooker.
setCurrentFolder
(eventInfoFolder_) ;
37
cout
<<
"path set to "
<< eventInfoFolder_ << endl;
38
}
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
MessageLogger.h
BenchmarkAnalyzer::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition:
BenchmarkAnalyzer.cc:32
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
BenchmarkAnalyzer.h
ParameterSet.h
DQMStore.h
Service.h
edm::EventSetup
Definition:
EventSetup.h:45
benchmarkLabel_
string benchmarkLabel_
Definition:
PFJetBenchmarkAnalyzer.cc:76
DQMStore::IBooker::setCurrentFolder
void setCurrentFolder(const std::string &fullpath)
Definition:
DQMStore.cc:274
edm::InputTag
Definition:
InputTag.h:18
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:121
DQMStore::IBooker
Definition:
DQMStore.h:90
edm::parameterSet
ParameterSet const & parameterSet(Provenance const &provenance)
Definition:
Provenance.cc:11
edm::Run
Definition:
Run.h:43
BenchmarkAnalyzer::BenchmarkAnalyzer
BenchmarkAnalyzer()
Constructors.
Generated for CMSSW Reference Manual by
1.8.5