Main Page
Namespaces
Classes
Package Documentation
FWCore
Framework
interface
stream
EDProducerAdaptorBase.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_stream_EDProducerAdaptorBase_h
2
#define FWCore_Framework_stream_EDProducerAdaptorBase_h
3
// -*- C++ -*-
4
//
5
// Package: FWCore/Framework
6
// Class : EDProducerAdaptorBase
7
//
16
//
17
// Original Author: Chris Jones
18
// Created: Fri, 02 Aug 2013 18:09:15 GMT
19
//
20
21
// system include files
22
23
// user include files
24
#include "
FWCore/Framework/interface/stream/ProducingModuleAdaptorBase.h
"
25
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
26
#include "
DataFormats/Provenance/interface/ModuleDescription.h
"
27
#include "
FWCore/ParameterSet/interface/ParameterSetfwd.h
"
28
#include "
FWCore/Utilities/interface/StreamID.h
"
29
#include "
FWCore/Utilities/interface/RunIndex.h
"
30
#include "
FWCore/Utilities/interface/LuminosityBlockIndex.h
"
31
32
33
// forward declarations
34
35
namespace
edm
{
36
37
class
ModuleCallingContext;
38
class
ActivityRegistry
;
39
class
WaitingTask
;
40
class
WaitingTaskWithArenaHolder;
41
42
namespace
maker {
43
template
<
typename
T>
class
ModuleHolderT;
44
}
45
46
namespace
stream {
47
class
EDProducerBase
;
48
class
EDProducerAdaptorBase
:
public
ProducingModuleAdaptorBase
<EDProducerBase>
49
{
50
51
public
:
52
template
<
typename
T>
friend
class
edm::maker::ModuleHolderT
;
53
template
<
typename
T>
friend
class
edm::WorkerT
;
54
55
EDProducerAdaptorBase
();
56
57
// ---------- const member functions ---------------------
58
59
// ---------- static member functions --------------------
60
61
// ---------- member functions ---------------------------
62
63
std::string
workerType
()
const
{
return
"WorkerT<EDProducerAdaptorBase>"
;}
64
protected
:
65
using
ProducingModuleAdaptorBase<EDProducerBase>::commit
;
66
67
private
:
68
EDProducerAdaptorBase
(
const
EDProducerAdaptorBase
&) =
delete
;
// stop default
69
70
const
EDProducerAdaptorBase
&
operator=
(
const
EDProducerAdaptorBase
&) =
delete
;
// stop default
71
72
bool
doEvent(
EventPrincipal
const
&,
EventSetup
const
&,
73
ActivityRegistry
*,
74
ModuleCallingContext
const
*);
75
76
void
doAcquire(
EventPrincipal
const
&,
EventSetup
const
&,
77
ActivityRegistry
*,
78
ModuleCallingContext
const
*,
79
WaitingTaskWithArenaHolder
&);
80
81
//For now this is a placeholder
82
/*virtual*/
void
preActionBeforeRunEventAsync
(
WaitingTask
* iTask,
ModuleCallingContext
const
& iModuleCallingContext,
Principal
const
& iPrincipal)
const
{}
83
84
};
85
}
86
}
87
88
#endif
edm::stream::EDProducerAdaptorBase::preActionBeforeRunEventAsync
void preActionBeforeRunEventAsync(WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const
Definition:
EDProducerAdaptorBase.h:82
edm::Principal
Definition:
Principal.h:57
EDProducerBase
edm::ModuleCallingContext
Definition:
ModuleCallingContext.h:30
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
edm::EventPrincipal
Definition:
EventPrincipal.h:46
ModuleDescription.h
Frameworkfwd.h
ParameterSetfwd.h
RunIndex.h
edm::WaitingTaskWithArenaHolder
Definition:
WaitingTaskWithArenaHolder.h:32
edm::Worker::operator=
Worker & operator=(Worker const &)=delete
edm::maker::ModuleHolderT
Definition:
EDAnalyzer.h:25
edm::stream::ProducingModuleAdaptorBase
Definition:
Event.h:67
edm::stream::EDProducerAdaptorBase::workerType
std::string workerType() const
Definition:
EDProducerAdaptorBase.h:63
StreamID.h
edm::EventSetup
Definition:
EventSetup.h:52
ActivityRegistry
edm::stream::EDProducerAdaptorBase
Definition:
EDProducerAdaptorBase.h:48
WaitingTask
edm::WorkerT
Definition:
Frameworkfwd.h:49
edm::WaitingTask
Definition:
WaitingTask.h:36
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ActivityRegistry
Definition:
ActivityRegistry.h:116
LuminosityBlockIndex.h
ProducingModuleAdaptorBase.h
Generated for CMSSW Reference Manual by
1.8.11