Main Page
Namespaces
Classes
Package Documentation
Calibration
TkAlCaRecoProducers
plugins
PCLMetadataWriter.h
Go to the documentation of this file.
1
#ifndef PCLMetadataWriter_H
2
#define PCLMetadataWriter_H
3
10
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
11
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
12
13
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
14
15
#include <string>
16
#include <vector>
17
18
class
PCLMetadataWriter
:
public
edm::EDAnalyzer
{
19
public
:
21
PCLMetadataWriter
(
const
edm::ParameterSet
&);
22
24
~PCLMetadataWriter
()
override
;
25
26
// Operations
27
// virtual void beginJob (void);
28
// virtual void endJob (void);
29
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
30
void
beginRun
(
const
edm::Run
&,
const
edm::EventSetup
&)
override
;
31
void
endRun
(
const
edm::Run
&,
const
edm::EventSetup
&)
override
;
32
// virtual void beginLuminosityBlock(const edm::LuminosityBlock&, const
33
// edm::EventSetup&); virtual void endLuminosityBlock (const
34
// edm::LuminosityBlock&, const edm::EventSetup&);
35
36
protected
:
37
private
:
38
bool
readFromDB
;
39
std::map<std::string, std::map<std::string, std::string>>
recordMap
;
40
};
41
#endif
PCLMetadataWriter::PCLMetadataWriter
PCLMetadataWriter(const edm::ParameterSet &)
Constructor.
Definition:
PCLMetadataWriter.cc:25
PCLMetadataWriter
Definition:
PCLMetadataWriter.h:18
PCLMetadataWriter::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
PCLMetadataWriter.cc:53
Frameworkfwd.h
ParameterSet.h
PCLMetadataWriter::recordMap
std::map< std::string, std::map< std::string, std::string > > recordMap
Definition:
PCLMetadataWriter.h:39
edm::EventSetup
Definition:
EventSetup.h:57
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EDAnalyzer.h
PCLMetadataWriter::endRun
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition:
PCLMetadataWriter.cc:57
PCLMetadataWriter::~PCLMetadataWriter
~PCLMetadataWriter() override
Destructor.
Definition:
PCLMetadataWriter.cc:51
PCLMetadataWriter::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition:
PCLMetadataWriter.cc:55
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:71
edm::Run
Definition:
Run.h:45
PCLMetadataWriter::readFromDB
bool readFromDB
Definition:
PCLMetadataWriter.h:38
Generated for CMSSW Reference Manual by
1.8.11