Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
CommonTools
UtilAlgos
interface
SelectedOutputCollectionTrait.h
Go to the documentation of this file.
1
#ifndef UtilAlgos_SelectedOutputCollectionTrait_h
2
#define UtilAlgos_SelectedOutputCollectionTrait_h
3
/* \class helper SelectedOutputCollection
4
*
5
* \author Luca Lista, INFN
6
*
7
*/
8
#include "
DataFormats/Common/interface/AssociationVector.h
"
9
#include "
DataFormats/Common/interface/RefToBase.h
"
10
#include "
DataFormats/Common/interface/RefToBaseVector.h
"
11
#include "
DataFormats/Common/interface/RefToBaseProd.h
"
12
#include "
DataFormats/Common/interface/RefVector.h
"
13
#include "
DataFormats/Common/interface/View.h
"
14
15
namespace
helper {
16
17
template
<
typename
InputCollection>
18
struct
SelectedOutputCollectionTrait
{
19
typedef
InputCollection
type
;
20
};
21
22
template
<
typename
K,
typename
C>
23
struct
SelectedOutputCollectionTrait
<edm::AssociationVector<edm::RefProd<K>, C> > {
24
typedef
typename
edm::RefProd<K>::product_type
type
;
25
};
26
27
template
<
typename
T,
typename
C>
28
struct
SelectedOutputCollectionTrait
<edm::AssociationVector<edm::RefToBaseProd<T>, C> > {
29
typedef
typename
edm::RefToBaseVector<T>
type
;
30
};
31
32
template
<
typename
T>
33
struct
SelectedOutputCollectionTrait
<edm::
View
<T> > {
34
typedef
typename
edm::RefToBaseVector<T>
type
;
35
};
36
37
template
<
typename
T>
38
struct
SelectedOutputCollectionTrait
<edm::
RefToBaseVector
<T> > {
39
typedef
typename
edm::RefToBaseVector<T>
type
;
40
};
41
42
template
<
typename
C>
43
struct
SelectedOutputCollectionTrait
<edm::
RefVector
<C> > {
44
typedef
typename
edm::RefVector<C>
type
;
45
};
46
47
}
// namespace helper
48
49
#endif
helper::SelectedOutputCollectionTrait
Definition:
SelectedOutputCollectionTrait.h:18
edm::RefProd::product_type
C product_type
Definition:
RefProd.h:57
RefToBase.h
RefVector.h
RefToBaseVector
RefToBaseVector.h
helper::SelectedOutputCollectionTrait< edm::AssociationVector< edm::RefToBaseProd< T >, C > >::type
edm::RefToBaseVector< T > type
Definition:
SelectedOutputCollectionTrait.h:29
View.h
SimL1EmulatorRepack_Full_cff.InputCollection
string InputCollection
Definition:
SimL1EmulatorRepack_Full_cff.py:101
edm::RefToBaseVector
Definition:
EDProductfwd.h:29
helper::SelectedOutputCollectionTrait< edm::RefVector< C > >::type
edm::RefVector< C > type
Definition:
SelectedOutputCollectionTrait.h:44
helper::SelectedOutputCollectionTrait< edm::AssociationVector< edm::RefProd< K >, C > >::type
edm::RefProd< K >::product_type type
Definition:
SelectedOutputCollectionTrait.h:24
RefToBaseProd.h
edm::RefVector
Definition:
EDProductfwd.h:27
AssociationVector.h
helper::SelectedOutputCollectionTrait< edm::RefToBaseVector< T > >::type
edm::RefToBaseVector< T > type
Definition:
SelectedOutputCollectionTrait.h:39
helper::SelectedOutputCollectionTrait::type
InputCollection type
Definition:
SelectedOutputCollectionTrait.h:19
helper::SelectedOutputCollectionTrait< edm::View< T > >::type
edm::RefToBaseVector< T > type
Definition:
SelectedOutputCollectionTrait.h:34
reco::JetExtendedAssociation::RefVector
edm::RefVector< Container > RefVector
Definition:
JetExtendedAssociation.h:34
sistrip::View
View
Definition:
ConstantsForView.h:26
Generated for CMSSW Reference Manual by
1.8.5