CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/DataFormats/Candidate/interface/CandMatchMap.h

Go to the documentation of this file.
00001 #ifndef Candidate_CandMatchMap_h
00002 #define Candidate_CandMatchMap_h
00003 /* \class reco::CandMatchMap
00004  * 
00005  * One-to-one Candidate association map by reference
00006  *
00007  * \author Luca Lista, INFN
00008  */
00009 #include "DataFormats/Common/interface/AssociationMap.h"
00010 #include "DataFormats/Common/interface/OneToOne.h"
00011 #include "DataFormats/Common/interface/OneToOneGeneric.h"
00012 #include "DataFormats/Candidate/interface/Candidate.h"
00013 
00014 namespace reco {
00015   typedef edm::AssociationMap<
00016             edm::OneToOne<reco::CandidateCollection, 
00017                           reco::CandidateCollection
00018             > 
00019           > CandMatchMap;
00020 
00021   typedef edm::AssociationMap<
00022             edm::OneToOneGeneric<reco::CandidateView, 
00023                                  reco::CandidateView
00024             > 
00025           > CandViewMatchMap;
00026 }
00027 
00028 #endif