Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:27:37

0001 #ifndef TrajectoryToSeedMap_h
0002 #define TrajectoryToSeedMap_h
0003 
0004 #include <vector>
0005 #include "DataFormats/Common/interface/Ref.h"
0006 #include "DataFormats/Common/interface/RefVector.h"
0007 #include "DataFormats/Common/interface/RefProd.h"
0008 #include "DataFormats/Common/interface/AssociationMap.h"
0009 
0010 #include "TrackingTools/PatternTools/interface/Trajectory.h"
0011 #include "DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h"
0012 
0013 #include "DataFormats/TrackReco/interface/Track.h"
0014 #include "DataFormats/TrackReco/interface/TrackBase.h"
0015 #include "DataFormats/TrackReco/interface/TrackFwd.h"
0016 
0017 typedef std::vector<Trajectory> TrajectoryCollection;
0018 
0019 /// association map
0020 typedef edm::AssociationMap<edm::OneToMany<TrajectoryCollection, TrajectorySeedCollection> > TrajectoryToSeedsMap;
0021 typedef TrajectoryToSeedsMap::value_type TrajectoryToSeeds;
0022 
0023 /// reference to an object in a collection of SeedMap objects
0024 typedef edm::Ref<TrajectoryToSeedsMap> TrajectoryToSeedsMapRef;
0025 
0026 /// reference to a collection of SeedMap object
0027 typedef edm::RefProd<TrajectoryToSeedsMap> TrajectoryToSeedsMapRefProd;
0028 
0029 /// vector of references to objects in the same colletion of SeedMap objects
0030 typedef edm::RefVector<TrajectoryToSeedsMap> TrajectoryToSeedsMapRefVector;
0031 
0032 /// association map
0033 typedef edm::AssociationMap<edm::OneToMany<reco::TrackCollection, TrajectorySeedCollection> > TrackToSeedsMap;
0034 typedef TrackToSeedsMap::value_type TrackToSeeds;
0035 
0036 /// reference to an object in a collection of SeedMap objects
0037 typedef edm::Ref<TrackToSeedsMap> TrackToSeedsMapRef;
0038 
0039 /// reference to a collection of SeedMap object
0040 typedef edm::RefProd<TrackToSeedsMap> TrackToSeedsMapRefProd;
0041 
0042 /// vector of references to objects in the same colletion of SeedMap objects
0043 typedef edm::RefVector<TrackToSeedsMap> TrackToSeedsMapRefVector;
0044 
0045 /// association map
0046 typedef edm::AssociationMap<edm::OneToMany<reco::TrackCollection, reco::TrackCollection> > TrackToTracksMap;
0047 typedef TrackToTracksMap::value_type TrackToTracks;
0048 
0049 /// reference to an object in a collection of SeedMap objects
0050 typedef edm::Ref<TrackToTracksMap> TrackToTracksMapRef;
0051 
0052 /// reference to a collection of SeedMap object
0053 typedef edm::RefProd<TrackToTracksMap> TrackToTracksMapRefProd;
0054 
0055 /// vector of references to objects in the same colletion of SeedMap objects
0056 typedef edm::RefVector<TrackToTracksMap> TrackToTracksMapRefVector;
0057 
0058 #endif