FWCore
Framework
interface
one
OutputModule.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_one_OutputModule_h
2
#define FWCore_Framework_one_OutputModule_h
3
// -*- C++ -*-
4
//
5
// Package: FWCore/Framework
6
// Class : edm::one::OutputModule
7
//
16
//
17
// Original Author: Chris Jones
18
// Created: Wed, 31 Jul 2013 18:21:29 GMT
19
//
20
21
// system include files
22
23
// user include files
24
#include "
FWCore/Framework/interface/one/outputmoduleAbilityToImplementor.h
"
25
26
// forward declarations
27
namespace
edm
{
28
namespace
one {
29
template
<
typename
...
T
>
30
class
OutputModule
:
public
virtual
OutputModuleBase
,
public
outputmodule::AbilityToImplementor
<T>
::Type
... {
31
public
:
32
OutputModule
(
edm::ParameterSet
const
& iPSet)
33
:
OutputModuleBase
(iPSet), outputmodule::
AbilityToImplementor
<
T
>::
Type
(iPSet)... {}
34
// Required to work around ICC bug, but possible source of bloat in gcc.
35
// We do this only in the case of the intel compiler as this might end up
36
// creating a lot of code bloat due to inline symbols being generated in
37
// each DSO which uses this header.
38
#ifdef __INTEL_COMPILER
39
virtual
~
OutputModule
() =
default
;
40
#endif
41
42
// ---------- const member functions ---------------------
43
bool
wantsGlobalRuns
()
const
final {
return
WantsGlobalRunTransitions
<
T
...>
::value
; }
44
bool
wantsGlobalLuminosityBlocks
()
const
final {
return
WantsGlobalLuminosityBlockTransitions
<
T
...>
::value
; }
45
46
SerialTaskQueue
*
globalRunsQueue
() final {
return
globalRunsQueue_
.queue(); }
47
SerialTaskQueue
*
globalLuminosityBlocksQueue
() final {
return
globalLuminosityBlocksQueue_
.queue(); }
48
49
// ---------- static member functions --------------------
50
51
// ---------- member functions ---------------------------
52
53
private
:
54
OutputModule
(
const
OutputModule
&) =
delete
;
// stop default
55
56
const
OutputModule
&
operator=
(
const
OutputModule
&) =
delete
;
// stop default
57
58
// ---------- member data --------------------------------
59
impl::OptionalSerialTaskQueueHolder
<
WantsSerialGlobalRunTransitions
<
T
...>
::value
>
globalRunsQueue_
;
60
impl::OptionalSerialTaskQueueHolder
<
WantsSerialGlobalLuminosityBlockTransitions
<
T
...>
::value
>
61
globalLuminosityBlocksQueue_
;
62
};
63
}
// namespace one
64
}
// namespace edm
65
66
#endif
edm::one::OutputModule::globalRunsQueue
SerialTaskQueue * globalRunsQueue() final
Definition:
OutputModule.h:46
edm::one::OutputModule
Definition:
OutputModule.h:30
AbilityToImplementor
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::one::outputmodule::AbilityToImplementor
Definition:
outputmoduleAbilityToImplementor.h:139
edm::one::WantsSerialGlobalRunTransitions
Definition:
moduleAbilities.h:64
edm::SerialTaskQueue
Definition:
SerialTaskQueue.h:67
edm::one::OutputModule::OutputModule
OutputModule(edm::ParameterSet const &iPSet)
Definition:
OutputModule.h:32
watchdog.const
const
Definition:
watchdog.py:83
edm::one::OutputModule::operator=
const OutputModule & operator=(const OutputModule &)=delete
susybsm::HSCParticleType::Type
Type
Definition:
HSCParticle.h:20
edm::one::WantsGlobalLuminosityBlockTransitions
Definition:
moduleAbilities.h:54
edm::one::OutputModuleBase
Definition:
OutputModuleBase.h:68
edm::one::OutputModule::wantsGlobalLuminosityBlocks
bool wantsGlobalLuminosityBlocks() const final
Definition:
OutputModule.h:44
edm::one::OutputModule::globalLuminosityBlocksQueue_
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalLuminosityBlockTransitions< T... >::value > globalLuminosityBlocksQueue_
Definition:
OutputModule.h:61
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::one::OutputModule::globalLuminosityBlocksQueue
SerialTaskQueue * globalLuminosityBlocksQueue() final
Definition:
OutputModule.h:47
outputmoduleAbilityToImplementor.h
edm::one::WantsGlobalRunTransitions
Definition:
moduleAbilities.h:46
edm::one::OutputModule::wantsGlobalRuns
bool wantsGlobalRuns() const final
Definition:
OutputModule.h:43
edm::one::WantsSerialGlobalLuminosityBlockTransitions
Definition:
moduleAbilities.h:70
T
long double T
Definition:
Basic3DVectorLD.h:48
relativeConstraints.value
value
Definition:
relativeConstraints.py:53
edm::one::OutputModule::globalRunsQueue_
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalRunTransitions< T... >::value > globalRunsQueue_
Definition:
OutputModule.h:59
edm::one::impl::OptionalSerialTaskQueueHolder
Definition:
implementors.h:41
Generated for CMSSW Reference Manual by
1.8.16