FWCore
Framework
interface
MergeableRunProductProcesses.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_MergeableRunProductProcesses_h
2
#define FWCore_Framework_MergeableRunProductProcesses_h
3
4
#include <string>
5
#include <vector>
6
7
namespace
edm
{
8
9
class
ProductRegistry;
10
11
class
MergeableRunProductProcesses
{
12
public
:
13
MergeableRunProductProcesses
();
14
15
std::vector<std::string>
const
&
processesWithMergeableRunProducts
()
const
{
16
return
processesWithMergeableRunProducts_
;
17
}
18
19
std::string
const
&
getProcessName
(
unsigned
int
index
)
const
{
return
processesWithMergeableRunProducts_
[
index
]; }
20
21
std::vector<std::string>::size_type
size
()
const
{
return
processesWithMergeableRunProducts_
.size(); }
22
23
// Called once in a job right after the ProductRegistry is frozen.
24
// After that the names stored in this class are never modified.
25
void
setProcessesWithMergeableRunProducts
(
ProductRegistry
const
& productRegistry);
26
27
private
:
28
// Holds the process names for processes that created mergeable
29
// run products that are in the input of the current job.
30
// Note this does not include the current process.
31
std::vector<std::string>
processesWithMergeableRunProducts_
;
32
};
33
}
// namespace edm
34
#endif
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::MergeableRunProductProcesses::processesWithMergeableRunProducts_
std::vector< std::string > processesWithMergeableRunProducts_
Definition:
MergeableRunProductProcesses.h:31
edm::MergeableRunProductProcesses::getProcessName
std::string const & getProcessName(unsigned int index) const
Definition:
MergeableRunProductProcesses.h:19
edm::MergeableRunProductProcesses::processesWithMergeableRunProducts
std::vector< std::string > const & processesWithMergeableRunProducts() const
Definition:
MergeableRunProductProcesses.h:15
edm::ProductRegistry
Definition:
ProductRegistry.h:37
trigger::size_type
uint16_t size_type
Definition:
TriggerTypeDefs.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::MergeableRunProductProcesses::MergeableRunProductProcesses
MergeableRunProductProcesses()
Definition:
MergeableRunProductProcesses.cc:16
edm::MergeableRunProductProcesses::size
std::vector< std::string >::size_type size() const
Definition:
MergeableRunProductProcesses.h:21
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:46
edm::MergeableRunProductProcesses
Definition:
MergeableRunProductProcesses.h:11
edm::MergeableRunProductProcesses::setProcessesWithMergeableRunProducts
void setProcessesWithMergeableRunProducts(ProductRegistry const &productRegistry)
Definition:
MergeableRunProductProcesses.cc:18
Generated for CMSSW Reference Manual by
1.8.16