CMS 3D CMS Logo

BenchmarkAnalyzer.cc
Go to the documentation of this file.
3 
6 
9 
10 #include <string>
11 #include <iostream>
12 
13 using namespace std;
14 
16 {
17 
18  inputLabel_ = parameterSet.getParameter<edm::InputTag>("InputCollection");
19  benchmarkLabel_ = parameterSet.getParameter<std::string>("BenchmarkLabel");
20 
22 
23  subsystemname_ = "ParticleFlow" ;
24  eventInfoFolder_ = subsystemname_ + "/" + folder ;
25 
26 }
27 
28 
29 //
30 // -- BookHistograms
31 //
33  edm::Run const & /* iRun */,
34  edm::EventSetup const & /* iSetup */ )
35 {
36  ibooker.setCurrentFolder(eventInfoFolder_) ;
37  cout << "path set to " << eventInfoFolder_ << endl;
38 }
T getParameter(std::string const &) const
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
string benchmarkLabel_
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
ParameterSet const & parameterSet(Provenance const &provenance)
Definition: Provenance.cc:11
Definition: Run.h:44
BenchmarkAnalyzer()
Constructors.