Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-19 23:20:19

0001 #ifndef RecoTracker_LST_interface_LSTPhase2OTHitsInput_h
0002 #define RecoTracker_LST_interface_LSTPhase2OTHitsInput_h
0003 
0004 #include <memory>
0005 #include <vector>
0006 
0007 #include "DataFormats/TrackerRecHit2D/interface/Phase2TrackerRecHit1D.h"
0008 
0009 class LSTPhase2OTHitsInput {
0010 public:
0011   LSTPhase2OTHitsInput() = default;
0012   LSTPhase2OTHitsInput(std::vector<unsigned int> const detId,
0013                        std::vector<float> const x,
0014                        std::vector<float> const y,
0015                        std::vector<float> const z,
0016                        std::vector<TrackingRecHit const*> const hits)
0017       : detId_(std::move(detId)), x_(std::move(x)), y_(std::move(y)), z_(std::move(z)), hits_(std::move(hits)) {}
0018 
0019   std::vector<unsigned int> const& detId() const { return detId_; }
0020   std::vector<float> const& x() const { return x_; }
0021   std::vector<float> const& y() const { return y_; }
0022   std::vector<float> const& z() const { return z_; }
0023   std::vector<TrackingRecHit const*> const& hits() const { return hits_; }
0024 
0025 private:
0026   std::vector<unsigned int> detId_;
0027   std::vector<float> x_;
0028   std::vector<float> y_;
0029   std::vector<float> z_;
0030   std::vector<TrackingRecHit const*> hits_;
0031 };
0032 
0033 #endif