CMS 3D CMS Logo

BenchmarkAnalyzer.cc
Go to the documentation of this file.
3 
6 
9 
10 #include <iostream>
11 #include <string>
12 
13 using namespace std;
14 
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 //
29  edm::Run const & /* iRun */,
30  edm::EventSetup const & /* iSetup */) {
31  ibooker.setCurrentFolder(eventInfoFolder_);
32  cout << "path set to " << eventInfoFolder_ << endl;
33 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
ParameterSet const & parameterSet(StableProvenance const &provenance, ProcessHistory const &history)
Definition: Provenance.cc:11
Definition: Run.h:45
BenchmarkAnalyzer()
Constructors.