CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DataFormats/MuonReco/interface/MuonTrackLinks.h

Go to the documentation of this file.
00001 #ifndef DataFormats_MuonReco_MuonTrackLinks_H
00002 #define DataFormats_MuonReco_MuonTrackLinks_H
00003 
00014 #include "DataFormats/TrackReco/interface/TrackFwd.h"
00015 
00016 namespace reco {
00017 
00018   class MuonTrackLinks {
00019 
00020   public:
00021 
00023     MuonTrackLinks(){}
00024     
00026     MuonTrackLinks(reco::TrackRef tk, reco::TrackRef sta, reco::TrackRef glb):
00027       theTkTrack(tk),theStaTrack(sta),theGlbTrack(glb){}
00028 
00030     virtual ~MuonTrackLinks(){};
00031 
00032     // Operations
00033   
00035     inline reco::TrackRef trackerTrack() const {return theTkTrack;}
00036 
00038     inline reco::TrackRef standAloneTrack() const {return theStaTrack;}
00039 
00041     inline reco::TrackRef globalTrack() const {return theGlbTrack;}
00042 
00044     inline void setTrackerTrack(reco::TrackRef tk) {theTkTrack = tk;}
00045 
00047     inline void setStandAloneTrack(reco::TrackRef sta) {theStaTrack = sta;}
00048 
00050     inline void setGlobalTrack(reco::TrackRef glb) {theGlbTrack = glb;}
00051   
00052   protected:
00053 
00054   private:
00055     
00057     reco::TrackRef theTkTrack;
00058 
00060     reco::TrackRef theStaTrack;
00061 
00063     reco::TrackRef theGlbTrack;
00064   };
00065 }
00066 #endif
00067