CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/AnalysisDataFormats/TrackInfo/interface/TrackInfoTrackAssociation.h

Go to the documentation of this file.
00001 #ifndef TrackInfoTrackAssociation_h
00002 #define TrackInfoTrackAssociation_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/TrackReco/interface/TrackFwd.h"
00009 #include "DataFormats/TrackReco/interface/Track.h"
00010 #include "AnalysisDataFormats/TrackInfo/interface/TrackInfo.h"
00011 #include "DataFormats/Common/interface/AssociationMap.h"
00012 
00013 namespace reco {
00014   
00015   // association map
00016   typedef edm::AssociationMap<edm::OneToOne<TrackCollection, TrackInfoCollection> > TrackInfoTrackAssociationCollection;
00017   
00018   typedef TrackInfoTrackAssociationCollection::value_type TrackInfoTrackAssociation;
00019   
00020   // reference to an object in a collection of SeedMap objects
00021   typedef edm::Ref<TrackInfoTrackAssociationCollection> TrackInfoTrackAssociationRef;
00022   
00023   // reference to a collection of SeedMap objects
00024   typedef edm::RefProd<TrackInfoTrackAssociationCollection> TrackInfoTrackAssociationRefProd;
00025       
00026   // vector of references to objects in the same colletion of SeedMap objects
00027   typedef edm::RefVector<TrackInfoTrackAssociationCollection> TrackInfoTrackAssociationRefVector;
00028         
00029 }
00030  
00031 #endif