Main Page
Namespaces
Classes
Package Documentation
CondCore
PopCon
interface
PopConAnalyzer.h
Go to the documentation of this file.
1
#ifndef POPCON_ANALYZER_H
2
#define POPCON_ANALYZER_H
3
4
//
5
// Original Author: Marcin BOGUSZ
6
// Created: Tue Jul 3 10:48:22 CEST 2007
7
8
9
#include "
CondCore/PopCon/interface/PopCon.h
"
10
#include <vector>
11
12
13
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
14
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
15
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
16
17
namespace
popcon
{
18
template
<
typename
S>
19
class
PopConAnalyzer
:
public
edm::EDAnalyzer
{
20
public
:
21
typedef
S
SourceHandler
;
22
23
PopConAnalyzer
(
const
edm::ParameterSet
&
pset
) :
24
m_populator
(pset),
25
m_source
(pset.getParameter<
edm
::
ParameterSet
>(
"Source"
)) {}
26
27
28
~PopConAnalyzer
()
override
{}
29
30
private
:
31
32
void
beginJob
()
override
{}
33
void
endJob
()
override
{
34
write
();
35
}
36
37
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
{}
38
39
40
void
write
() {
41
m_populator
.
write
(
m_source
);
42
43
}
44
45
private
:
46
PopCon
m_populator
;
47
SourceHandler
m_source
;
48
};
49
50
}
51
#endif
popcon::PopConAnalyzer::write
void write()
Definition:
PopConAnalyzer.h:40
popcon::PopConAnalyzer::beginJob
void beginJob() override
Definition:
PopConAnalyzer.h:32
popcon::PopConAnalyzer
Definition:
PopConAnalyzer.h:19
popcon::PopConAnalyzer::SourceHandler
S SourceHandler
Definition:
PopConAnalyzer.h:21
ParameterSet
Definition:
Functions.h:16
popcon::PopConAnalyzer::m_populator
PopCon m_populator
Definition:
PopConAnalyzer.h:46
popcon::PopConAnalyzer::~PopConAnalyzer
~PopConAnalyzer() override
Definition:
PopConAnalyzer.h:28
popcon
Definition:
Exception.h:6
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Frameworkfwd.h
popcon::PopCon::write
void write(Source const &source)
Definition:
PopCon.h:123
ParameterSet.h
popcon::PopCon
Definition:
PopCon.h:34
popcon::PopConAnalyzer::m_source
SourceHandler m_source
Definition:
PopConAnalyzer.h:47
PopCon.h
S
Definition:
CSCDBL1TPParametersExtended.h:16
popcon::PopConAnalyzer::endJob
void endJob() override
Definition:
PopConAnalyzer.h:33
edm::EventSetup
Definition:
EventSetup.h:57
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EDAnalyzer.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
popcon::PopConAnalyzer::PopConAnalyzer
PopConAnalyzer(const edm::ParameterSet &pset)
Definition:
PopConAnalyzer.h:23
edm::Event
Definition:
Event.h:71
popcon::PopConAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
PopConAnalyzer.h:37
Generated for CMSSW Reference Manual by
1.8.11