Main Page
Namespaces
Classes
Package Documentation
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
LuminosityBlockID.h
RunLumiEventNumber.h
RunID.h
EventID.h
ParameterSetDescription
PuttableSourceBase.h
ParameterSet
Definition:
Functions.h:16
edm::ProducerSourceBase::readEvent_
void readEvent_(EventPrincipal &eventPrincipal) override
Definition:
ProducerSourceBase.cc:25
edm::EventPrincipal
Definition:
EventPrincipal.h:46
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
IDGeneratorSourceBase.h
Frameworkfwd.h
edm::InputSourceDescription
Definition:
InputSourceDescription.h:20
edm::ProducerSourceBase::ProducerSourceBase
ProducerSourceBase(ParameterSet const &pset, InputSourceDescription const &desc, bool realData)
Definition:
ProducerSourceBase.cc:20
edm::ProducerSourceBase
Definition:
ProducerSourceBase.h:23
Timestamp.h
edm::IDGeneratorSourceBase
Definition:
IDGeneratorSourceBase.h:23
noexcept
#define noexcept
Definition:
GCC11Compatibility.h:36
edm::ProducerSourceBase::~ProducerSourceBase
~ProducerSourceBase()(false) override
Definition:
ProducerSourceBase.cc:23
EventAuxiliary.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ProducerSourceBase::produce
virtual void produce(Event &e)=0
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:72
Generated for CMSSW Reference Manual by
1.8.11