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 <vector>
16
#include <string>
17
18
19
class
PCLMetadataWriter
:
public
edm::EDAnalyzer
{
20
public
:
22
PCLMetadataWriter
(
const
edm::ParameterSet
&);
23
25
~PCLMetadataWriter
()
override
;
26
27
// Operations
28
// virtual void beginJob (void);
29
// virtual void endJob (void);
30
void
analyze
(
const
edm::Event
& ,
const
edm::EventSetup
&)
override
;
31
void
beginRun
(
const
edm::Run
& ,
const
edm::EventSetup
&)
override
;
32
void
endRun
(
const
edm::Run
& ,
const
edm::EventSetup
&)
override
;
33
// virtual void beginLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&);
34
// virtual void endLuminosityBlock (const edm::LuminosityBlock&, const edm::EventSetup&);
35
36
protected
:
37
38
private
:
39
bool
readFromDB
;
40
std::map<std::string, std::map<std::string, std::string> >
recordMap
;
41
42
43
};
44
#endif
45
PCLMetadataWriter::PCLMetadataWriter
PCLMetadataWriter(const edm::ParameterSet &)
Constructor.
Definition:
PCLMetadataWriter.cc:25
PCLMetadataWriter
Definition:
PCLMetadataWriter.h:19
PCLMetadataWriter::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
PCLMetadataWriter.cc:61
Frameworkfwd.h
ParameterSet.h
PCLMetadataWriter::recordMap
std::map< std::string, std::map< std::string, std::string > > recordMap
Definition:
PCLMetadataWriter.h:40
edm::EventSetup
Definition:
EventSetup.h:51
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
EDAnalyzer.h
PCLMetadataWriter::endRun
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition:
PCLMetadataWriter.cc:66
PCLMetadataWriter::~PCLMetadataWriter
~PCLMetadataWriter() override
Destructor.
Definition:
PCLMetadataWriter.cc:58
PCLMetadataWriter::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition:
PCLMetadataWriter.cc:64
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:70
edm::Run
Definition:
Run.h:44
PCLMetadataWriter::readFromDB
bool readFromDB
Definition:
PCLMetadataWriter.h:39
Generated for CMSSW Reference Manual by
1.8.11