00001 #ifndef TrajectoryToSeedMap_h 00002 #define TrajectoryToSeedMap_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/Common/interface/AssociationMap.h" 00009 00010 #include "TrackingTools/PatternTools/interface/Trajectory.h" 00011 #include "DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h" 00012 00013 #include "DataFormats/TrackReco/interface/Track.h" 00014 #include "DataFormats/TrackReco/interface/TrackBase.h" 00015 #include "DataFormats/TrackReco/interface/TrackFwd.h" 00016 00017 typedef std::vector<Trajectory> TrajectoryCollection; 00018 00020 typedef edm::AssociationMap<edm::OneToMany<TrajectoryCollection, TrajectorySeedCollection> > TrajectoryToSeedsMap; 00021 typedef TrajectoryToSeedsMap::value_type TrajectoryToSeeds; 00022 00024 typedef edm::Ref<TrajectoryToSeedsMap> TrajectoryToSeedsMapRef; 00025 00027 typedef edm::RefProd<TrajectoryToSeedsMap> TrajectoryToSeedsMapRefProd; 00028 00030 typedef edm::RefVector<TrajectoryToSeedsMap> TrajectoryToSeedsMapRefVector; 00031 00033 typedef edm::AssociationMap<edm::OneToMany<reco::TrackCollection, TrajectorySeedCollection> > TrackToSeedsMap; 00034 typedef TrackToSeedsMap::value_type TrackToSeeds; 00035 00037 typedef edm::Ref<TrackToSeedsMap> TrackToSeedsMapRef; 00038 00040 typedef edm::RefProd<TrackToSeedsMap> TrackToSeedsMapRefProd; 00041 00043 typedef edm::RefVector<TrackToSeedsMap> TrackToSeedsMapRefVector; 00044 00046 typedef edm::AssociationMap<edm::OneToMany<reco::TrackCollection, reco::TrackCollection> > TrackToTracksMap; 00047 typedef TrackToTracksMap::value_type TrackToTracks; 00048 00050 typedef edm::Ref<TrackToTracksMap> TrackToTracksMapRef; 00051 00053 typedef edm::RefProd<TrackToTracksMap> TrackToTracksMapRefProd; 00054 00056 typedef edm::RefVector<TrackToTracksMap> TrackToTracksMapRefVector; 00057 00058 #endif 00059 00060