FWCore
Framework
interface
ProcessBlockPrincipal.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_ProcessBlockPrincipal_h
2
#define FWCore_Framework_ProcessBlockPrincipal_h
3
10
#include "
FWCore/Framework/interface/Principal.h
"
11
#include "
FWCore/Utilities/interface/ProductResolverIndex.h
"
12
13
#include <memory>
14
#include <string>
15
16
namespace
edm
{
17
18
class
ProcessConfiguration;
19
class
ProductRegistry;
20
class
WrapperBase;
21
22
class
ProcessBlockPrincipal
:
public
Principal
{
23
public
:
24
ProcessBlockPrincipal
(std::shared_ptr<ProductRegistry const>,
25
ProcessConfiguration
const
&,
26
bool
isForPrimaryProcess =
true
);
27
28
void
fillProcessBlockPrincipal
(
std::string
const
&
processName
,
DelayedReader
*
reader
=
nullptr
);
29
30
std::string
const
&
processName
()
const
{
return
processName_
; }
31
32
void
put
(
ProductResolverIndex
index
, std::unique_ptr<WrapperBase> edp)
const
;
33
34
// Should only be 1 ProcessBlock needed at a time (no concurrent ProcessBlocks)
35
unsigned
int
index
()
const
{
return
0; }
36
37
private
:
38
unsigned
int
transitionIndex_
()
const
final;
39
40
std
::
string
processName_
;
41
};
42
}
// namespace edm
43
44
#endif // FWCore_Framework_ProcessBlockPrincipal_h
edm::ProductResolverIndex
unsigned int ProductResolverIndex
Definition:
ProductResolverIndex.h:8
edm::ProcessBlockPrincipal::index
unsigned int index() const
Definition:
ProcessBlockPrincipal.h:35
edm
HLT enums.
Definition:
AlignableModifier.h:19
ProductResolverIndex.h
edm::Principal
Definition:
Principal.h:56
edm::ProcessBlockPrincipal::processName
std::string const & processName() const
Definition:
ProcessBlockPrincipal.h:30
watchdog.const
const
Definition:
watchdog.py:83
edm::ProcessBlockPrincipal
Definition:
ProcessBlockPrincipal.h:22
edm::ProcessBlockPrincipal::put
void put(ProductResolverIndex index, std::unique_ptr< WrapperBase > edp) const
Definition:
ProcessBlockPrincipal.cc:21
edm::Principal::reader
DelayedReader * reader() const
Definition:
Principal.h:187
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Principal.h
edm::ProcessBlockPrincipal::processName_
std::string processName_
Definition:
ProcessBlockPrincipal.h:40
edm::ProcessBlockPrincipal::transitionIndex_
unsigned int transitionIndex_() const final
Definition:
ProcessBlockPrincipal.cc:26
edm::ProcessBlockPrincipal::fillProcessBlockPrincipal
void fillProcessBlockPrincipal(std::string const &processName, DelayedReader *reader=nullptr)
Definition:
ProcessBlockPrincipal.cc:16
std
Definition:
JetResolutionObject.h:76
edm::DelayedReader
Definition:
DelayedReader.h:29
edm::ProcessBlockPrincipal::ProcessBlockPrincipal
ProcessBlockPrincipal(std::shared_ptr< ProductRegistry const >, ProcessConfiguration const &, bool isForPrimaryProcess=true)
Definition:
ProcessBlockPrincipal.cc:11
edm::ProcessConfiguration
Definition:
ProcessConfiguration.h:14
Generated for CMSSW Reference Manual by
1.8.16