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  * \version $Id: CandMapTrait.h,v 1.2 2007/10/20 16:00:52 llista Exp $
8  *
9  */
10 namespace reco {
11  namespace helper {
12  template<typename C1, typename C2 = C1>
13  struct CandMapTrait {
15  };
16 
17  template<typename C1>
18  struct CandMapTrait<C1, CandidateView> {
20  };
21 
22  template<typename C2>
23  struct CandMapTrait<CandidateView, C2> {
25  };
26 
27  template<>
30  };
31 
32  template<typename C>
33  struct CandRefTrait{
36  };
37 
38  template<typename T>
39  struct CandRefTrait<edm::View<T> >{
42  };
43  }
44 }
45 
46 #endif
47 
edm::AssociationMap< edm::OneToOne< C1, C2 > > type
Definition: CandMapTrait.h:14
edm::RefProd< C > refProd_type
Definition: CandMapTrait.h:35
edm::AssociationMap< edm::OneToOneGeneric< CandidateView, CandidateView > > type
Definition: CandMapTrait.h:29
edm::AssociationMap< edm::OneToOneGeneric< CandidateView, C2 > > type
Definition: CandMapTrait.h:24
edm::AssociationMap< edm::OneToOneGeneric< C1, CandidateView > > type
Definition: CandMapTrait.h:19