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
interface
makeRefToBaseProdFrom.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_makeRefToBaseProdFrom_h
2
#define FWCore_Framework_makeRefToBaseProdFrom_h
3
// -*- C++ -*-
4
//
5
// Package: FWCore/Framework
6
// Class : makeRefToBaseProdFrom
7
//
16
//
17
// Original Author: Christopher Jones
18
// Created: Tue, 02 Dec 2014 16:00:08 GMT
19
//
20
21
// system include files
22
23
// user include files
24
#include "
DataFormats/Common/interface/RefToBase.h
"
25
#include "
DataFormats/Common/interface/RefToBaseProd.h
"
26
#include "
DataFormats/Common/interface/View.h
"
27
#include "
DataFormats/Common/interface/Handle.h
"
28
#include "
FWCore/Framework/interface/Event.h
"
29
30
// forward declarations
31
32
namespace
edm
{
33
template
<
typename
T>
34
RefToBaseProd<T>
makeRefToBaseProdFrom
(
RefToBase<T>
const
& iRef,
Event
const
&
iEvent
) {
35
Handle<View<T>
> view;
36
iEvent
.get(iRef.
id
(), view);
37
38
return
RefToBaseProd<T>
(view);
39
}
40
}
// namespace edm
41
#endif
Handle.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::Handle
Definition:
AssociativeIterator.h:50
RefToBase.h
RefToBaseProd.h
Event.h
edm::makeRefToBaseProdFrom
RefToBaseProd< T > makeRefToBaseProdFrom(RefToBase< T > const &iRef, Event const &iEvent)
Definition:
makeRefToBaseProdFrom.h:34
iEvent
int iEvent
Definition:
GenABIO.cc:224
edm::RefToBase::id
ProductID id() const
Definition:
RefToBase.h:214
edm::RefToBase
Definition:
AssociativeIterator.h:54
View.h
edm::Event
Definition:
Event.h:73
edm::RefToBaseProd
Definition:
RefToBase.h:65
Generated for CMSSW Reference Manual by
1.8.16