File indexing completed on 2024-09-07 04:35:55
0001 #ifndef DataFormats_MuonReco_MuonTrackLinks_H
0002 #define DataFormats_MuonReco_MuonTrackLinks_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #include "DataFormats/TrackReco/interface/TrackFwd.h"
0013
0014 namespace reco {
0015
0016 class MuonTrackLinks {
0017 public:
0018
0019 MuonTrackLinks() {}
0020
0021
0022 MuonTrackLinks(reco::TrackRef tk, reco::TrackRef sta, reco::TrackRef glb)
0023 : theTkTrack(tk), theStaTrack(sta), theGlbTrack(glb) {}
0024
0025
0026 virtual ~MuonTrackLinks() {}
0027
0028
0029
0030
0031 inline reco::TrackRef trackerTrack() const { return theTkTrack; }
0032
0033
0034 inline reco::TrackRef standAloneTrack() const { return theStaTrack; }
0035
0036
0037 inline reco::TrackRef globalTrack() const { return theGlbTrack; }
0038
0039
0040 inline void setTrackerTrack(reco::TrackRef tk) { theTkTrack = tk; }
0041
0042
0043 inline void setStandAloneTrack(reco::TrackRef sta) { theStaTrack = sta; }
0044
0045
0046 inline void setGlobalTrack(reco::TrackRef glb) { theGlbTrack = glb; }
0047
0048 protected:
0049 private:
0050
0051 reco::TrackRef theTkTrack;
0052
0053
0054 reco::TrackRef theStaTrack;
0055
0056
0057 reco::TrackRef theGlbTrack;
0058 };
0059 }
0060 #endif