Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
TrackValidation_cff.pset
tuple pset
Definition:
TrackValidation_cff.py:591
edm::EventPrincipal
Definition:
EventPrincipal.h:48
edm::ProducerSourceBase::~ProducerSourceBase
~ProducerSourceBase() noexcept(false) override
Definition:
ProducerSourceBase.cc:23
IDGeneratorSourceBase.h
Frameworkfwd.h
edm::InputSourceDescription
Definition:
InputSourceDescription.h:21
edm::ProducerSourceBase::ProducerSourceBase
ProducerSourceBase(ParameterSet const &pset, InputSourceDescription const &desc, bool realData)
Definition:
ProducerSourceBase.cc:20
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
edm::ProducerSourceBase
Definition:
ProducerSourceBase.h:23
Timestamp.h
edm::IDGeneratorSourceBase
Definition:
IDGeneratorSourceBase.h:24
alignCSCRings.e
list e
Definition:
alignCSCRings.py:91
EventAuxiliary.h
edm::ProducerSourceBase::produce
virtual void produce(Event &e)=0
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.5