Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
}
// namespace helper
23
}
// namespace edm
24
25
#endif
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:58
RefToBase.h
edm::helper::MapRefViewTrait
Definition:
MapRefViewTrait.h:12
edm::RefToBase
Definition:
AssociativeIterator.h:54
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:65
edm::RefProd< C >
edm::helper::MapRefViewTrait::refprod_type
RefProd< C > refprod_type
Definition:
MapRefViewTrait.h:14
RefToBaseProd.h
Ref.h
T
long double T
Definition:
Basic3DVectorLD.h:48
Generated for CMSSW Reference Manual by
1.8.5