00001 #ifndef ElectronIDAssociation_h 00002 #define ElectronIDAssociation_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/GsfElectronFwd.h" 00009 #include "AnalysisDataFormats/Egamma/interface/ElectronIDFwd.h" 00010 #include "DataFormats/Common/interface/AssociationMap.h" 00011 00012 namespace reco { 00013 00014 // association map 00015 typedef edm::AssociationMap<edm::OneToOne<GsfElectronCollection, ElectronIDCollection> > ElectronIDAssociationCollection; 00016 00017 typedef ElectronIDAssociationCollection::value_type ElectronIDAssociation; 00018 00020 typedef edm::Ref<ElectronIDAssociationCollection> ElectronIDAssociationRef; 00021 00023 typedef edm::RefProd<ElectronIDAssociationCollection> ElectronIDAssociationRefProd; 00024 00026 typedef edm::RefVector<ElectronIDAssociationCollection> ElectronIDAssociationRefVector; 00027 00028 } 00029 00030 #endif