CMS 3D CMS Logo

TrajectoryMeasurementGroup.h
Go to the documentation of this file.
1 #ifndef TrajectoryMeasurementGroup_H
2 #define TrajectoryMeasurementGroup_H
3 
6 #include <vector>
7 #include <utility>
8 
18 public:
20  TrajectoryMeasurementGroup(const std::vector<TrajectoryMeasurement>& meas, const DetGroup& dg)
21  : measurements_(meas), detGroup_(dg) {}
22 
23  TrajectoryMeasurementGroup(std::vector<TrajectoryMeasurement>&& meas, const DetGroup& dg)
24  : measurements_(std::move(meas)), detGroup_(dg) {}
25  TrajectoryMeasurementGroup(std::vector<TrajectoryMeasurement>&& meas, DetGroup&& dg)
26  : measurements_(std::move(meas)), detGroup_(std::move(dg)) {}
27 
28  const std::vector<TrajectoryMeasurement>& measurements() const { return measurements_; }
29  std::vector<TrajectoryMeasurement>& measurements() { return measurements_; }
30  const DetGroup& detGroup() const { return detGroup_; }
31 
32 private:
33  std::vector<TrajectoryMeasurement> measurements_;
35 };
36 
37 #endif
TrajectoryMeasurementGroup(std::vector< TrajectoryMeasurement > &&meas, const DetGroup &dg)
std::vector< TrajectoryMeasurement > measurements_
TrajectoryMeasurementGroup(const std::vector< TrajectoryMeasurement > &meas, const DetGroup &dg)
TrajectoryMeasurementGroup(std::vector< TrajectoryMeasurement > &&meas, DetGroup &&dg)
std::vector< TrajectoryMeasurement > & measurements()
const std::vector< TrajectoryMeasurement > & measurements() const
const DetGroup & detGroup() const
def move(src, dest)
Definition: eostools.py:511