00001 #ifndef DataFormats_TauReco_PFTauDecayModeAssociation_h 00002 #define DataFormats_TauReco_PFTauDecayModeAssociation_h 00003 00004 #include "DataFormats/TauReco/interface/PFTauDecayMode.h" 00005 #include "DataFormats/Common/interface/Association.h" 00006 #include "DataFormats/Common/interface/AssociationVector.h" 00007 #include "DataFormats/Common/interface/RefProd.h" 00008 #include "DataFormats/TauReco/interface/PFTau.h" 00009 00010 namespace reco { 00011 //used for matching Truth to Reco PFTauDecayModeCollections 00012 //typedef edm::Association<reco::PFTauDecayModeCollection> PFTauDecayModeMatchMap; 00013 typedef edm::Association<reco::PFTauCollection> PFTauDecayModeMatchMap; 00014 00015 //actual product of PFTauDecayModeProducer, maps PFTauDecayModes to their associated PFTaus 00016 typedef edm::AssociationVector<PFTauRefProd, reco::PFTauDecayModeCollection> PFTauDecayModeAssociation; 00017 typedef PFTauDecayModeAssociation::value_type PFTauDecayModeAssociationVT; 00018 typedef edm::Ref<PFTauDecayModeAssociation> PFTauDecayModeAssociationRef; 00019 typedef edm::RefProd<PFTauDecayModeAssociation> PFTauDecayModeAssociationRefProd; 00020 typedef edm::RefVector<PFTauDecayModeAssociation> PFTauDecayModeAssociationRefVector; 00021 } 00022 00023 #endif