CMS 3D CMS Logo

LSTPhase2OTHitsInput.h
Go to the documentation of this file.
1 #ifndef RecoTracker_LST_interface_LSTPhase2OTHitsInput_h
2 #define RecoTracker_LST_interface_LSTPhase2OTHitsInput_h
3 
4 #include <memory>
5 #include <vector>
6 
8 
10 public:
11  LSTPhase2OTHitsInput() = default;
12  LSTPhase2OTHitsInput(std::vector<unsigned int> const detId,
13  std::vector<float> const x,
14  std::vector<float> const y,
15  std::vector<float> const z,
16  std::vector<TrackingRecHit const*> const hits)
17  : detId_(std::move(detId)), x_(std::move(x)), y_(std::move(y)), z_(std::move(z)), hits_(std::move(hits)) {}
18 
19  std::vector<unsigned int> const& detId() const { return detId_; }
20  std::vector<float> const& x() const { return x_; }
21  std::vector<float> const& y() const { return y_; }
22  std::vector<float> const& z() const { return z_; }
23  std::vector<TrackingRecHit const*> const& hits() const { return hits_; }
24 
25 private:
26  std::vector<unsigned int> detId_;
27  std::vector<float> x_;
28  std::vector<float> y_;
29  std::vector<float> z_;
30  std::vector<TrackingRecHit const*> hits_;
31 };
32 
33 #endif
std::vector< float > z_
std::vector< float > const & x() const
std::vector< TrackingRecHit const * > const & hits() const
LSTPhase2OTHitsInput()=default
LSTPhase2OTHitsInput(std::vector< unsigned int > const detId, std::vector< float > const x, std::vector< float > const y, std::vector< float > const z, std::vector< TrackingRecHit const *> const hits)
std::vector< float > const & z() const
std::vector< float > y_
std::vector< unsigned int > detId_
std::vector< TrackingRecHit const * > hits_
std::vector< float > const & y() const
std::vector< float > x_
std::vector< unsigned int > const & detId() const
def move(src, dest)
Definition: eostools.py:511