Main Page
Namespaces
Classes
Package Documentation
DataFormats
Common
interface
MapRefViewTrait.h
Go to the documentation of this file.
1
#ifndef DataFormats_Common_MapRefViewTrait_h
2
#define DataFormats_Common_MapRefViewTrait_h
3
#include "
DataFormats/Common/interface/Ref.h
"
4
#include "
DataFormats/Common/interface/RefProd.h
"
5
#include "
DataFormats/Common/interface/RefToBase.h
"
6
#include "
DataFormats/Common/interface/RefToBaseProd.h
"
7
#include <map>
8
9
namespace
edm
{
10
namespace
helper
{
11
template
<
typename
C>
12
struct
MapRefViewTrait
{
13
typedef
Ref<C>
ref_type
;
14
typedef
RefProd<C>
refprod_type
;
15
};
16
17
template
<
typename
T>
18
struct
MapRefViewTrait
<
View
<
T
> > {
19
typedef
RefToBase<T>
ref_type
;
20
typedef
RefToBaseProd<T>
refprod_type
;
21
};
22
}
23
}
24
25
#endif
helper
Definition:
helper.py:1
edm::helper::MapRefViewTrait< View< T > >::ref_type
RefToBase< T > ref_type
Definition:
MapRefViewTrait.h:19
edm::helper::MapRefViewTrait::ref_type
Ref< C > ref_type
Definition:
MapRefViewTrait.h:13
edm::Ref
Definition:
AssociativeIterator.h:51
RefToBase.h
edm::helper::MapRefViewTrait
Definition:
MapRefViewTrait.h:12
edm::RefToBase
Definition:
AssociativeIterator.h:49
RefProd.h
edm::helper::MapRefViewTrait< View< T > >::refprod_type
RefToBaseProd< T > refprod_type
Definition:
MapRefViewTrait.h:20
edm::View
Definition:
CaloClusterFwd.h:14
edm::RefToBaseProd
Definition:
RefToBase.h:61
edm::RefProd
Definition:
EDProductfwd.h:22
edm::helper::MapRefViewTrait::refprod_type
RefProd< C > refprod_type
Definition:
MapRefViewTrait.h:14
RefToBaseProd.h
Ref.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
T
long double T
Definition:
Basic3DVectorLD.h:66
Generated for CMSSW Reference Manual by
1.8.11