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
DataFormats
Provenance
src
StableProvenance.cc
Go to the documentation of this file.
1
#include "
DataFormats/Provenance/interface/StableProvenance.h
"
2
#include "
DataFormats/Provenance/interface/ProcessConfiguration.h
"
3
4
#include <algorithm>
5
#include <cassert>
6
7
/*----------------------------------------------------------------------
8
9
----------------------------------------------------------------------*/
10
11
namespace
edm
{
12
13
StableProvenance::StableProvenance
() :
StableProvenance
{std::shared_ptr<BranchDescription const>(),
ProductID
()} {}
14
15
StableProvenance::StableProvenance
(std::shared_ptr<BranchDescription const>
const
&
p
,
ProductID
const
& pid)
16
: branchDescription_(
p
), productID_(pid) {}
17
18
void
StableProvenance::write
(std::ostream& os)
const
{
19
// This is grossly inadequate, but it is not critical for the first pass.
20
branchDescription
().
write
(os);
21
}
22
23
bool
operator==
(
StableProvenance
const
&
a
,
StableProvenance
const
&
b
) {
24
return
a
.branchDescription() ==
b
.branchDescription();
25
}
26
27
void
StableProvenance::swap
(
StableProvenance
& iOther) {
28
branchDescription_
.swap(iOther.
branchDescription_
);
29
productID_
.
swap
(iOther.
productID_
);
30
}
31
}
// namespace edm
edm::StableProvenance::branchDescription_
std::shared_ptr< BranchDescription const > branchDescription_
Definition:
StableProvenance.h:61
edm
HLT enums.
Definition:
AlignableModifier.h:19
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
edm::BranchDescription::write
void write(std::ostream &os) const
Definition:
BranchDescription.cc:257
ProcessConfiguration.h
edm::operator==
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &) noexcept
Definition:
debugging_allocator.h:72
edm::StableProvenance::branchDescription
BranchDescription const & branchDescription() const
Definition:
StableProvenance.h:36
b
double b
Definition:
hdecay.h:118
a
double a
Definition:
hdecay.h:119
edm::StableProvenance::swap
void swap(StableProvenance &)
Definition:
StableProvenance.cc:27
edm::StableProvenance
Definition:
StableProvenance.h:30
edm::StableProvenance::write
void write(std::ostream &os) const
Definition:
StableProvenance.cc:18
edm::ProductID::swap
void swap(ProductID &other)
Definition:
ProductID.cc:16
edm::StableProvenance::StableProvenance
StableProvenance()
Definition:
StableProvenance.cc:13
edm::StableProvenance::productID_
ProductID productID_
Definition:
StableProvenance.h:62
StableProvenance.h
edm::ProductID
Definition:
ProductID.h:27
Generated for CMSSW Reference Manual by
1.8.16