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
Common
src
CommonExceptions.cc
Go to the documentation of this file.
1
#include "
DataFormats/Common/interface/CommonExceptions.h
"
2
#include "
DataFormats/Provenance/interface/ProductID.h
"
3
#include "
FWCore/Utilities/interface/EDMException.h
"
4
namespace
edm
{
5
void
checkForWrongProduct
(
ProductID
const
& keyID,
ProductID
const
& refID) {
6
if
(keyID != refID) {
7
throw
Exception
(
errors::InvalidReference
)
8
<<
"AssociationVector: trying to use [] operator passing a reference\n"
9
<<
" with the wrong product id (i.e.: pointing to the wrong collection)\n"
10
<<
" keyRef.id = "
<< keyID <<
", ref.id = "
<< refID <<
"\n"
;
11
}
12
}
13
}
// namespace edm
edm::errors::InvalidReference
Definition:
EDMException.h:39
CommonExceptions.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
EDMException.h
edm::checkForWrongProduct
void checkForWrongProduct(ProductID const &keyID, ProductID const &refID)
Definition:
CommonExceptions.cc:5
ProductID.h
Exception
Definition:
hltDiff.cc:245
edm::ProductID
Definition:
ProductID.h:27
Generated for CMSSW Reference Manual by
1.8.16