Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef RecoTracker_MkFit_MkFitSeedWrapper_h
0002 #define RecoTracker_MkFit_MkFitSeedWrapper_h
0003 
0004 #include <memory>
0005 #include <vector>
0006 
0007 namespace mkfit {
0008   class Track;
0009   using TrackVec = std::vector<Track>;
0010 }  // namespace mkfit
0011 
0012 class MkFitSeedWrapper {
0013 public:
0014   MkFitSeedWrapper();
0015   MkFitSeedWrapper(mkfit::TrackVec seeds);
0016   ~MkFitSeedWrapper();
0017 
0018   MkFitSeedWrapper(MkFitSeedWrapper const&) = delete;
0019   MkFitSeedWrapper& operator=(MkFitSeedWrapper const&) = delete;
0020   MkFitSeedWrapper(MkFitSeedWrapper&&);
0021   MkFitSeedWrapper& operator=(MkFitSeedWrapper&&);
0022 
0023   mkfit::TrackVec const& seeds() const { return *seeds_; }
0024 
0025 private:
0026   std::unique_ptr<mkfit::TrackVec> seeds_;  // for pimpl pattern
0027 };
0028 
0029 #endif