Main Page
Namespaces
Classes
Package Documentation
src
FWCore
ServiceRegistry
interface
ConsumesInfo.h
Go to the documentation of this file.
1
#ifndef FWCore_ServiceRegistry_ConsumesInfo_h
2
#define FWCore_ServiceRegistry_ConsumesInfo_h
3
12
//
13
// Original Author: W. David Dagenhart
14
// Created: 12/4/2014
15
16
#include "
FWCore/Utilities/interface/BranchType.h
"
17
#include "
FWCore/Utilities/interface/ProductKindOfType.h
"
18
#include "
FWCore/Utilities/interface/TypeID.h
"
19
20
#include <string>
21
22
namespace
edm
{
23
class
ConsumesInfo
{
24
public
:
25
26
ConsumesInfo
(
TypeID
const
& iType,
27
char
const
* iLabel,
28
char
const
* iInstance,
29
char
const
* iProcess,
30
BranchType
iBranchType,
31
KindOfType
iKindOfType,
32
bool
iAlwaysGets,
33
bool
iSkipCurrentProcess_);
34
35
TypeID
const
&
type
()
const
{
return
type_
; }
36
std::string
const
&
label
()
const
{
return
label_
; }
37
std::string
const
&
instance
()
const
{
return
instance_
; }
38
std::string
const
&
process
()
const
{
return
process_
; }
39
BranchType
branchType
()
const
{
return
branchType_
; }
40
KindOfType
kindOfType
()
const
{
return
kindOfType_
; }
41
bool
alwaysGets
()
const
{
return
alwaysGets_
; }
42
bool
skipCurrentProcess
()
const
{
return
skipCurrentProcess_
; }
43
44
// This provides information from EDConsumerBase
45
// There a couple cases that need explanation.
46
//
47
// consumesMany
48
// The label, instance and process are all empty.
49
//
50
// process is empty - A get will search over processes in reverse
51
// time order (unknown which process the product will be gotten
52
// from and it is possible for this to vary from event to event)
53
54
private
:
55
56
TypeID
type_
;
57
std::string
label_
;
58
std::string
instance_
;
59
std::string
process_
;
60
BranchType
branchType_
;
61
KindOfType
kindOfType_
;
62
bool
alwaysGets_
;
63
bool
skipCurrentProcess_
;
64
};
65
}
66
#endif
edm::ConsumesInfo::branchType
BranchType branchType() const
Definition:
ConsumesInfo.h:39
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
edm::ConsumesInfo::process_
std::string process_
Definition:
ConsumesInfo.h:59
edm::ConsumesInfo::label
std::string const & label() const
Definition:
ConsumesInfo.h:36
edm::TypeID
Definition:
TypeID.h:22
edm::ConsumesInfo::skipCurrentProcess_
bool skipCurrentProcess_
Definition:
ConsumesInfo.h:63
edm::BranchType
BranchType
Definition:
BranchType.h:11
edm::ConsumesInfo::alwaysGets_
bool alwaysGets_
Definition:
ConsumesInfo.h:62
edm::ConsumesInfo::skipCurrentProcess
bool skipCurrentProcess() const
Definition:
ConsumesInfo.h:42
edm::ConsumesInfo::label_
std::string label_
Definition:
ConsumesInfo.h:57
edm::ConsumesInfo::instance_
std::string instance_
Definition:
ConsumesInfo.h:58
edm::ConsumesInfo::process
std::string const & process() const
Definition:
ConsumesInfo.h:38
ProductKindOfType.h
edm::ConsumesInfo::type
TypeID const & type() const
Definition:
ConsumesInfo.h:35
BranchType.h
TypeID.h
edm::ConsumesInfo::branchType_
BranchType branchType_
Definition:
ConsumesInfo.h:60
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ConsumesInfo::kindOfType_
KindOfType kindOfType_
Definition:
ConsumesInfo.h:61
edm::ConsumesInfo::instance
std::string const & instance() const
Definition:
ConsumesInfo.h:37
edm::ConsumesInfo::alwaysGets
bool alwaysGets() const
Definition:
ConsumesInfo.h:41
edm::ConsumesInfo
Definition:
ConsumesInfo.h:23
edm::ConsumesInfo::kindOfType
KindOfType kindOfType() const
Definition:
ConsumesInfo.h:40
edm::ConsumesInfo::type_
TypeID type_
Definition:
ConsumesInfo.h:56
edm::ConsumesInfo::ConsumesInfo
ConsumesInfo(TypeID const &iType, char const *iLabel, char const *iInstance, char const *iProcess, BranchType iBranchType, KindOfType iKindOfType, bool iAlwaysGets, bool iSkipCurrentProcess_)
Definition:
ConsumesInfo.cc:5
edm::KindOfType
KindOfType
Definition:
ProductKindOfType.h:5
Generated for CMSSW Reference Manual by
1.8.11