Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:57:32

0001 #ifndef TrackInfoTrackAssociation_h
0002 #define TrackInfoTrackAssociation_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/TrackReco/interface/TrackFwd.h"
0009 #include "DataFormats/TrackReco/interface/Track.h"
0010 #include "AnalysisDataFormats/TrackInfo/interface/TrackInfo.h"
0011 #include "DataFormats/Common/interface/AssociationMap.h"
0012 
0013 namespace reco {
0014 
0015   // association map
0016   typedef edm::AssociationMap<edm::OneToOne<TrackCollection, TrackInfoCollection> > TrackInfoTrackAssociationCollection;
0017 
0018   typedef TrackInfoTrackAssociationCollection::value_type TrackInfoTrackAssociation;
0019 
0020   // reference to an object in a collection of SeedMap objects
0021   typedef edm::Ref<TrackInfoTrackAssociationCollection> TrackInfoTrackAssociationRef;
0022 
0023   // reference to a collection of SeedMap objects
0024   typedef edm::RefProd<TrackInfoTrackAssociationCollection> TrackInfoTrackAssociationRefProd;
0025 
0026   // vector of references to objects in the same colletion of SeedMap objects
0027   typedef edm::RefVector<TrackInfoTrackAssociationCollection> TrackInfoTrackAssociationRefVector;
0028 
0029 }  // namespace reco
0030 
0031 #endif