CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CandMapTrait.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_CandUtils_CandMapTrait_h
2 #define PhysicsTools_CandUtils_CandMapTrait_h
3 /* \class reco::helper::CandMapTrait<T>
4  *
5  * \author Luca Lista, INFN
6  *
7  *
8  */
9 namespace reco {
10  namespace helper {
11  template<typename C1, typename C2 = C1>
12  struct CandMapTrait {
14  };
15 
16  template<typename C1>
17  struct CandMapTrait<C1, CandidateView> {
19  };
20 
21  template<typename C2>
22  struct CandMapTrait<CandidateView, C2> {
24  };
25 
26  template<>
29  };
30 
31  template<typename C>
32  struct CandRefTrait{
35  };
36 
37  template<typename T>
38  struct CandRefTrait<edm::View<T> >{
41  };
42  }
43 }
44 
45 #endif
46 
edm::AssociationMap< edm::OneToOne< C1, C2 > > type
Definition: CandMapTrait.h:13
edm::RefProd< C > refProd_type
Definition: CandMapTrait.h:34
edm::AssociationMap< edm::OneToOneGeneric< CandidateView, CandidateView > > type
Definition: CandMapTrait.h:28
edm::AssociationMap< edm::OneToOneGeneric< CandidateView, C2 > > type
Definition: CandMapTrait.h:23
edm::AssociationMap< edm::OneToOneGeneric< C1, CandidateView > > type
Definition: CandMapTrait.h:18