FWCore
Integration
plugins
HierarchicalEDProducer.cc
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/MakerMacros.h
"
2
#include "
HierarchicalEDProducer.h
"
3
4
namespace
edmtest
{
5
6
HierarchicalEDProducer::HierarchicalEDProducer
(
edm::ParameterSet
const
& ps)
7
: radius_(ps.getParameter<double>(
"radius"
)), outer_alg_(ps.
getParameterSet
(
"nest_1"
)) {
8
produces<int>();
9
}
10
11
// Virtual destructor needed.
12
HierarchicalEDProducer::~HierarchicalEDProducer
() {}
13
14
// Functions that gets called by framework every event
15
void
HierarchicalEDProducer::produce
(
edm::StreamID
,
edm::Event
&,
edm::EventSetup
const
&)
const
{
16
// nothing to do ... is just a dummy!
17
}
18
}
// namespace edmtest
19
using
edmtest::HierarchicalEDProducer
;
20
DEFINE_FWK_MODULE
(
HierarchicalEDProducer
);
edm::StreamID
Definition:
StreamID.h:30
edmtest::HierarchicalEDProducer::produce
void produce(edm::StreamID, edm::Event &e, edm::EventSetup const &c) const override
Definition:
HierarchicalEDProducer.cc:15
HierarchicalEDProducer.h
edmtest
Definition:
AlignPCLThresholdsReader.cc:15
edmtest::HierarchicalEDProducer::HierarchicalEDProducer
HierarchicalEDProducer(edm::ParameterSet const &ps)
Definition:
HierarchicalEDProducer.cc:6
edmtest::HierarchicalEDProducer::~HierarchicalEDProducer
~HierarchicalEDProducer() override
Definition:
HierarchicalEDProducer.cc:12
edmtest::HierarchicalEDProducer
Definition:
HierarchicalEDProducer.h:16
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
edm::EventSetup
Definition:
EventSetup.h:56
edm::getParameterSet
ParameterSet const & getParameterSet(ParameterSetID const &id)
Definition:
ParameterSet.cc:862
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
MakerMacros.h
Generated for CMSSW Reference Manual by
1.8.14