FWCore
Sources
interface
ProducerSourceBase.h
Go to the documentation of this file.
1
#ifndef Framework_Sources_ProducerSourceBase_h
2
#define Framework_Sources_ProducerSourceBase_h
3
4
/*----------------------------------------------------------------------
5
----------------------------------------------------------------------*/
6
7
#include "
FWCore/Sources/interface/PuttableSourceBase.h
"
8
#include "
FWCore/Sources/interface/IDGeneratorSourceBase.h
"
9
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
10
#include "
DataFormats/Provenance/interface/EventAuxiliary.h
"
11
#include "
DataFormats/Provenance/interface/EventID.h
"
12
#include "
DataFormats/Provenance/interface/Timestamp.h
"
13
#include "
DataFormats/Provenance/interface/RunID.h
"
14
#include "
DataFormats/Provenance/interface/LuminosityBlockID.h
"
15
#include "
DataFormats/Provenance/interface/RunLumiEventNumber.h
"
16
17
#include <memory>
18
#include <vector>
19
20
namespace
edm
{
21
class
ParameterSet
;
22
class
ParameterSetDescription
;
23
class
ProducerSourceBase
:
public
IDGeneratorSourceBase
<PuttableSourceBase> {
24
public
:
25
explicit
ProducerSourceBase
(
ParameterSet
const
&
pset
,
InputSourceDescription
const
& desc,
bool
realData);
26
~ProducerSourceBase
() noexcept(
false
)
override
;
27
28
protected
:
29
private
:
30
virtual
void
produce
(
Event
&
e
) = 0;
31
32
void
readEvent_
(
EventPrincipal
& eventPrincipal)
override
;
33
};
34
}
// namespace edm
35
#endif
edm
HLT enums.
Definition:
AlignableModifier.h:19
RunLumiEventNumber.h
edm::ProducerSourceBase
Definition:
ProducerSourceBase.h:23
edm::InputSourceDescription
Definition:
InputSourceDescription.h:20
edm::IDGeneratorSourceBase
Definition:
IDGeneratorSourceBase.h:24
PuttableSourceBase.h
LuminosityBlockID.h
edm::EventPrincipal
Definition:
EventPrincipal.h:46
EventID.h
edm::ProducerSourceBase::readEvent_
void readEvent_(EventPrincipal &eventPrincipal) override
Definition:
ProducerSourceBase.cc:25
edm::ParameterSet
Definition:
ParameterSet.h:36
Timestamp.h
ParameterSet
Definition:
Functions.h:16
Frameworkfwd.h
EventAuxiliary.h
ParameterSetDescription
IDGeneratorSourceBase.h
edm::Event
Definition:
Event.h:73
edm::ProducerSourceBase::ProducerSourceBase
ProducerSourceBase(ParameterSet const &pset, InputSourceDescription const &desc, bool realData)
Definition:
ProducerSourceBase.cc:20
edm::ProducerSourceBase::produce
virtual void produce(Event &e)=0
edm::ProducerSourceBase::~ProducerSourceBase
~ProducerSourceBase() noexcept(false) override
Definition:
ProducerSourceBase.cc:23
RunID.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16