00001 #ifndef PhotonIDAssociation_h 00002 #define PhotonIDAssociation_h 00003 00004 #include <vector> 00005 #include "DataFormats/Common/interface/Ref.h" 00006 #include "DataFormats/Common/interface/RefVector.h" 00007 #include "DataFormats/Common/interface/RefProd.h" 00008 #include "DataFormats/EgammaCandidates/interface/Photon.h" 00009 #include "DataFormats/EgammaCandidates/interface/PhotonFwd.h" 00010 #include "DataFormats/EgammaCandidates/interface/PhotonIDFwd.h" 00011 #include "DataFormats/Common/interface/AssociationMap.h" 00012 00013 namespace reco { 00014 00015 // association map 00016 typedef edm::AssociationMap<edm::OneToOne<PhotonCollection, PhotonIDCollection> > PhotonIDAssociationCollection; 00017 00018 typedef PhotonIDAssociationCollection::value_type PhotonIDAssociation; 00019 00021 typedef edm::Ref<PhotonIDAssociationCollection> PhotonIDAssociationRef; 00022 00024 typedef edm::RefProd<PhotonIDAssociationCollection> PhotonIDAssociationRefProd; 00025 00027 typedef edm::RefVector<PhotonIDAssociationCollection> PhotonIDAssociationRefVector; 00028 00029 } 00030 00031 #endif