Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef TrackCandidateToTrajectoryMap_h
0002 #define TrackCandidateToTrajectoryMap_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 "RecoTracker/NuclearSeedGenerator/interface/TrajectoryToSeedMap.h"
0016 #include "DataFormats/TrackCandidate/interface/TrackCandidateCollection.h"
0017 
0018 // TrajectoryToTrajectoryMap
0019 
0020 /// association map
0021 typedef edm::AssociationMap<edm::OneToOne<TrajectoryCollection, TrajectoryCollection> > TrajectoryToTrajectoryMap;
0022 typedef TrajectoryToTrajectoryMap::value_type TrajectoryToTrajectory;
0023 
0024 /// reference to an object in a collection of TrajectoryMap objects
0025 typedef edm::Ref<TrajectoryToTrajectoryMap> TrajectoryToTrajectoryMapRef;
0026 
0027 /// reference to a collection of TrajectoryMap object
0028 typedef edm::RefProd<TrajectoryToTrajectoryMap> TrajectoryToTrajectoryMapRefProd;
0029 
0030 /// vector of references to objects in the same colletion of SeedMap objects
0031 typedef edm::RefVector<TrajectoryToTrajectoryMap> TrajectoryToTrajectoryMapRefVector;
0032 
0033 // TrackCandidateToTrajectoryMap
0034 
0035 /// association map
0036 typedef edm::AssociationMap<edm::OneToOne<TrackCandidateCollection, TrajectoryCollection> >
0037     TrackCandidateToTrajectoryMap;
0038 typedef TrackCandidateToTrajectoryMap::value_type TrackCandidateToTrajectory;
0039 
0040 /// reference to an object in a collection of TrajectoryMap objects
0041 typedef edm::Ref<TrackCandidateToTrajectoryMap> TrackCandidateToTrajectoryMapRef;
0042 
0043 /// reference to a collection of TrajectoryMap object
0044 typedef edm::RefProd<TrackCandidateToTrajectoryMap> TrackCandidateToTrajectoryMapRefProd;
0045 
0046 /// vector of references to objects in the same colletion of SeedMap objects
0047 typedef edm::RefVector<TrackCandidateToTrajectoryMap> TrackCandidateToTrajectoryMapRefVector;
0048 
0049 // TrackToTrajectoryMap
0050 
0051 /// association map
0052 typedef edm::AssociationMap<edm::OneToOne<reco::TrackCollection, TrajectoryCollection> > TrackToTrajectoryMap;
0053 typedef TrackToTrajectoryMap::value_type TrackToTrajectory;
0054 
0055 /// reference to an object in a collection of TrajectoryMap objects
0056 typedef edm::Ref<TrackToTrajectoryMap> TrackToTrajectoryMapRef;
0057 
0058 /// reference to a collection of TrajectoryMap object
0059 typedef edm::RefProd<TrackToTrajectoryMap> TrackToTrajectoryMapRefProd;
0060 
0061 /// vector of references to objects in the same colletion of SeedMap objects
0062 typedef edm::RefVector<TrackToTrajectoryMap> TrackToTrajectoryMapRefVector;
0063 
0064 /// association map
0065 typedef edm::AssociationMap<edm::OneToOne<reco::TrackCollection, reco::TrackCollection> > TrackToTrackMap;
0066 typedef TrackToTrackMap::value_type TrackToTrack;
0067 
0068 /// reference to an object in a collection of SeedMap objects
0069 typedef edm::Ref<TrackToTrackMap> TrackToTrackMapRef;
0070 
0071 /// reference to a collection of SeedMap object
0072 typedef edm::RefProd<TrackToTrackMap> TrackToTrackMapRefProd;
0073 
0074 /// vector of references to objects in the same colletion of SeedMap objects
0075 typedef edm::RefVector<TrackToTrackMap> TrackToTrackMapRefVector;
0076 
0077 #endif