Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
FWCore
Framework
src
ProductResolverBase.cc
Go to the documentation of this file.
1
/*----------------------------------------------------------------------
2
----------------------------------------------------------------------*/
3
#include "
FWCore/Framework/interface/ProductResolverBase.h
"
4
#include "
FWCore/Framework/interface/Principal.h
"
5
#include "
FWCore/Framework/src/ProductDeletedException.h
"
6
7
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
8
#include "
FWCore/Utilities/interface/TypeID.h
"
9
10
#include <cassert>
11
12
namespace
edm
{
13
14
ProductResolverBase::ProductResolverBase
() {}
15
16
ProductResolverBase::~ProductResolverBase
() {}
17
18
bool
ProductResolverBase::provenanceAvailable
()
const
{
19
// If this product is from a the current process,
20
// the provenance is available if and only if a product has been put.
21
if
(
branchDescription
().produced()) {
22
return
productResolved
();
23
}
24
// If this product is from a prior process, the provenance is available,
25
// although the per event part may have been dropped.
26
return
true
;
27
}
28
29
TypeID
ProductResolverBase::productType
()
const
{
return
TypeID
(
branchDescription
().wrappedTypeID()); }
30
31
Provenance
const
*
ProductResolverBase::provenance
()
const
{
return
provenance_
(); }
32
33
void
ProductResolverBase::retrieveAndMerge_
(
Principal
const
&,
MergeableRunProductMetadata
const
*)
const
{}
34
35
void
ProductResolverBase::setMergeableRunProductMetadata_
(
MergeableRunProductMetadata
const
*) {}
36
37
void
ProductResolverBase::write
(std::ostream& os)
const
{
38
// This is grossly inadequate. It is also not critical for the
39
// first pass.
40
os <<
std::string
(
"ProductResolver for product with ID: "
) <<
productID
();
41
}
42
43
void
ProductResolverBase::setupUnscheduled
(
UnscheduledConfigurator
const
&) {}
44
45
}
// namespace edm
edm::ProductResolverBase::ProductResolverBase
ProductResolverBase()
Definition:
ProductResolverBase.cc:14
edm::ProductResolverBase::provenance
Provenance const * provenance() const
Definition:
ProductResolverBase.cc:31
ProductResolverBase.h
MessageLogger.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ProductResolverBase::provenance_
virtual Provenance const * provenance_() const =0
TypeID.h
edm::Principal
Definition:
Principal.h:56
edm::ProductResolverBase::productResolved
bool productResolved() const
Definition:
ProductResolverBase.h:90
edm::ProductResolverBase::provenanceAvailable
bool provenanceAvailable() const
Definition:
ProductResolverBase.cc:18
edm::ProductResolverBase::productType
TypeID productType() const
Definition:
ProductResolverBase.cc:29
edm::MergeableRunProductMetadata
Definition:
MergeableRunProductMetadata.h:52
edm::ProductResolverBase::write
void write(std::ostream &os) const
Definition:
ProductResolverBase.cc:37
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Principal.h
edm::ProductResolverBase::setMergeableRunProductMetadata_
virtual void setMergeableRunProductMetadata_(MergeableRunProductMetadata const *)
Definition:
ProductResolverBase.cc:35
edm::ProductResolverBase::~ProductResolverBase
virtual ~ProductResolverBase()
Definition:
ProductResolverBase.cc:16
edm::ProductResolverBase::productID
ProductID const & productID() const
Definition:
ProductResolverBase.h:160
edm::UnscheduledConfigurator
Definition:
UnscheduledConfigurator.h:32
edm::ProductResolverBase::retrieveAndMerge_
virtual void retrieveAndMerge_(Principal const &principal, MergeableRunProductMetadata const *mergeableRunProductMetadata) const
Definition:
ProductResolverBase.cc:33
edm::TypeID
Definition:
TypeID.h:22
edm::ProductResolverBase::branchDescription
BranchDescription const & branchDescription() const
Definition:
ProductResolverBase.h:110
ProductDeletedException.h
edm::ProductResolverBase::setupUnscheduled
virtual void setupUnscheduled(UnscheduledConfigurator const &)
Definition:
ProductResolverBase.cc:43
edm::Provenance
Definition:
Provenance.h:34
Generated for CMSSW Reference Manual by
1.8.16