Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:28:12

0001 #ifndef RecoTracker_MkFit_MkFitOutputWrapper_h
0002 #define RecoTracker_MkFit_MkFitOutputWrapper_h
0003 
0004 #include <vector>
0005 
0006 namespace mkfit {
0007   class Track;
0008   using TrackVec = std::vector<Track>;
0009 }  // namespace mkfit
0010 
0011 class MkFitOutputWrapper {
0012 public:
0013   MkFitOutputWrapper();
0014   MkFitOutputWrapper(mkfit::TrackVec tracks, bool propagatedToFirstLayer);
0015   ~MkFitOutputWrapper();
0016 
0017   MkFitOutputWrapper(MkFitOutputWrapper const&) = delete;
0018   MkFitOutputWrapper& operator=(MkFitOutputWrapper const&) = delete;
0019   MkFitOutputWrapper(MkFitOutputWrapper&&);
0020   MkFitOutputWrapper& operator=(MkFitOutputWrapper&&);
0021 
0022   mkfit::TrackVec const& tracks() const { return tracks_; }
0023   bool propagatedToFirstLayer() const { return propagatedToFirstLayer_; }
0024 
0025 private:
0026   mkfit::TrackVec tracks_;
0027   bool propagatedToFirstLayer_;
0028 };
0029 
0030 #endif