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
// forward declarations
33
34
namespace
edm
{
35
36
class
ModuleCallingContext;
37
class
ActivityRegistry
;
38
class
WaitingTask
;
39
class
WaitingTaskWithArenaHolder;
40
41
namespace
maker {
42
template
<
typename
T>
43
class
ModuleHolderT;
44
}
45
46
namespace
stream {
47
class
EDProducerBase
;
48
class
EDProducerAdaptorBase
:
public
ProducingModuleAdaptorBase
<EDProducerBase> {
49
public
:
50
template
<
typename
T>
51
friend
class
edm::maker::ModuleHolderT
;
52
template
<
typename
T>
53
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
65
protected
:
66
using
ProducingModuleAdaptorBase<EDProducerBase>::commit
;
67
68
private
:
69
EDProducerAdaptorBase
(
const
EDProducerAdaptorBase
&) =
delete
;
// stop default
70
71
const
EDProducerAdaptorBase
&
operator=
(
const
EDProducerAdaptorBase
&) =
delete
;
// stop default
72
73
bool
doEvent(
EventPrincipal
const
&,
EventSetupImpl
const
&,
ActivityRegistry
*,
ModuleCallingContext
const
*);
74
75
void
doAcquire(
EventPrincipal
const
&,
76
EventSetupImpl
const
&,
77
ActivityRegistry
*,
78
ModuleCallingContext
const
*,
79
WaitingTaskWithArenaHolder
&);
80
81
//For now this is a placeholder
82
/*virtual*/
void
preActionBeforeRunEventAsync
(
WaitingTask
* iTask,
83
ModuleCallingContext
const
& iModuleCallingContext,
84
Principal
const
& iPrincipal)
const
{}
85
};
86
}
// namespace stream
87
}
// namespace edm
88
89
#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:58
edm::EventSetupImpl
Definition:
EventSetupImpl.h:44
EDProducerBase
edm::ModuleCallingContext
Definition:
ModuleCallingContext.h:29
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
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:26
edm::stream::ProducingModuleAdaptorBase
Definition:
Event.h:69
edm::stream::EDProducerAdaptorBase::workerType
std::string workerType() const
Definition:
EDProducerAdaptorBase.h:63
StreamID.h
ActivityRegistry
edm::stream::EDProducerAdaptorBase
Definition:
EDProducerAdaptorBase.h:48
WaitingTask
edm::WorkerT
Definition:
Frameworkfwd.h:52
edm::WaitingTask
Definition:
WaitingTask.h:36
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ActivityRegistry
Definition:
ActivityRegistry.h:132
LuminosityBlockIndex.h
ProducingModuleAdaptorBase.h
Generated for CMSSW Reference Manual by
1.8.11