Main Page
Namespaces
Classes
Package Documentation
DataFormats
Common
interface
RefHolder.h
Go to the documentation of this file.
1
#ifndef DataFormats_Common_RefHolder_h
2
#define DataFormats_Common_RefHolder_h
3
#include "
DataFormats/Common/interface/RefHolder_.h
"
4
5
#include "
DataFormats/Common/interface/IndirectVectorHolder.h
"
6
#include "
DataFormats/Common/interface/RefVectorHolder.h
"
7
#include "
DataFormats/Common/interface/RefVector.h
"
8
#include "
DataFormats/Common/interface/HolderToVectorTrait.h
"
9
#include <memory>
10
11
namespace
edm
{
12
namespace
reftobase {
13
template
<
class
REF>
14
std::unique_ptr<RefVectorHolderBase>
RefHolder<REF>::makeVectorHolder
()
const
{
15
typedef
typename
RefHolderToRefVectorTrait<REF>::type
helper
;
16
return
helper::makeVectorHolder();
17
}
18
}
19
}
20
21
#include "
DataFormats/Common/interface/RefKeyTrait.h
"
22
23
namespace
edm
{
24
namespace
reftobase {
25
template
<
class
REF>
26
size_t
27
RefHolder<REF>::key
()
const
28
{
29
typedef
typename
RefKeyTrait<REF>::type
helper
;
30
return
helper::key
( ref_ );
31
}
32
33
}
34
}
35
36
#endif
helper
Definition:
helper.py:1
edm::reftobase::RefHolder::makeVectorHolder
std::unique_ptr< RefVectorHolderBase > makeVectorHolder() const override
Definition:
RefHolder.h:14
crabWrapper.key
key
Definition:
crabWrapper.py:17
edm::reftobase::RefKey
Definition:
RefKeyTrait.h:9
RefKeyTrait.h
IndirectVectorHolder.h
RefVector.h
RefVectorHolder.h
RefHolder_.h
edm::reftobase::InvalidRefHolderToRefVector
Definition:
HolderToVectorTrait.h:30
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::reftobase::RefHolder::key
size_t key() const override
Definition:
RefHolder.h:27
HolderToVectorTrait.h
Generated for CMSSW Reference Manual by
1.8.11